How to Fix and Reset Windows Security in Windows 11

Learn multiple ways to repair Windows Security when it’s not working properly, from simple app resets to full reinstallation methods.

How to Fix and Reset Windows Security in Windows 11

Windows Security is an essential built-in protection feature in Windows 11. However, it can sometimes crash or fail to open, leaving your system vulnerable. This guide covers several methods to reset, repair, or reinstall Windows Security to get it working again.

Method 1: Reset Windows Security via Settings

The Settings app provides a straightforward way to repair or reset Windows Security:

Step 1: Open the Settings app by pressing Windows key + I.

Step 2: Click on “System” in the left sidebar, then select “System components” on the right.

Step 3: Locate “Windows Security” in the list and click the three-dot menu next to it.

Step 4: Select “Advanced options” from the menu.

Step 5: You’ll see two options: “Repair” and “Reset”. Choose “Repair” first, as it attempts to fix issues without removing data. If that doesn’t work, try “Reset”, which will remove the app’s data and reinstall it.

Step 6: Click the chosen option and wait for the process to complete.


Method 2: Reset via PowerShell

PowerShell offers a more direct approach to resetting Windows Security:

Step 1: Open PowerShell as an administrator. Right-click the Start button and select “Windows Terminal (Admin)”.

Step 2: In the PowerShell window, copy and paste the following command:

Get-AppxPackage *Microsoft.Windows.SecHealthUI* | Reset-AppxPackage

Step 3: Press Enter to execute the command. This will reset the Windows Security app.

Step 4: Restart your computer to ensure all changes take effect.


Method 3: Reinstall Windows Security via Command Prompt

If the previous methods don’t work, you can try reinstalling Windows Security using Command Prompt:

Step 1: Open Command Prompt as an administrator. Right-click the Start button and select “Command Prompt (Admin)”.

Step 2: Copy and paste the following command into the Command Prompt window:

PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *Microsoft.Windows.SecHealthUI*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"

Step 3: Press Enter to execute the command. This will reinstall and re-register the Windows Security app.

Step 4: Restart your computer after the process completes.

Troubleshooting Tips

If you’re still experiencing issues with Windows Security after trying these methods, consider the following:

  • Run a system file check by opening Command Prompt as an administrator and running the command: sfc /scannow.
  • Check for Windows updates, as sometimes security app issues are resolved through system updates.
  • Temporarily disable third-party antivirus software, as it may be interfering with Windows Security.
  • If all else fails, consider performing a system restore to a point when Windows Security was working correctly.

Resetting Windows Security can help resolve many common issues. Remember to keep your system updated and regularly check that Windows Security is running properly to maintain your computer’s safety.