How to reset the Windows Security app to fix problems on Windows 11 and 10

The Windows Security app serves as a vital hub for managing security features on both Windows 10 and 11, encompassing tools like Microsoft Defender Antivirus, Device Security, and Firewall. However, users may occasionally encounter issues such as the app failing to launch, crashing, or displaying error messages. Fortunately, these problems can often be resolved by resetting the app through the Settings app or PowerShell, with slightly varying instructions for each operating system.

How to reset the Windows Security app on Windows 11

For Windows 11 users, the process of resetting the Windows Security app can be accomplished via the Settings app or PowerShell.

From Settings app

To address issues with the Security app on Windows 11, follow these steps:

  1. Open Settings.
  2. Select System.
  3. Navigate to the “System components” page on the right side.
  4. Click the three-dot menu button next to the Windows Security app.
  5. Select “Advanced options”.
  6. (Option 1) Click the Repair button to reset the app without losing any data.
  7. (Option 2) Click the Reset button to reinstall the app.
  8. Click the Reset button again to confirm.

Quick note: Typically, this option does not erase the app’s manually configured settings. After completing these steps, you should be able to relaunch the app without further issues.

From PowerShell

To reset the Security app using PowerShell on Windows 11, proceed with the following steps:

  1. Open Start.
  2. Search for PowerShell, right-click the top result, and select Run as administrator.
  3. Type the following command to reset the app and press Enter: Get-AppxPackage Microsoft.Windows.SecHealthUI | Reset-AppxPackage

Executing this command will reset the app, addressing any underlying issues. The command utilizes “Get-AppxPackage” to locate the app, while “Reset-AppxPackage” instructs the system to perform the reset.

How to reset the Windows Security app on Windows 10

Windows 10 users can also reset the Windows Security app using similar methods, albeit with slight variations in the steps.

From Settings app

To repair the Security app on Windows 10, follow these steps:

  1. Open Start.
  2. Search for Windows Security, right-click the top result, and choose App settings.
  3. Click the Reset button to reinstall the app.

Upon completing these steps, the reset process should rectify the most common issues associated with the Windows Security app.

From PowerShell

To reset the Security app on Windows 10 through PowerShell, follow these instructions:

  1. Open Start.
  2. Search for PowerShell, right-click the top result, and select Run as administrator.
  3. Type the following command to reset the app and press Enter: $manifest = (Get-AppxPackage Microsoft.Windows.SecHealthUI).InstallLocation + ‘AppxManifest.xml’ ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest

This command will reset the app to resolve any issues. Although Windows 10 does not feature the “Reset-AppxPackage” option, the “Add-AppxPackage” command allows for the registration of the Windows Security app.

More resources

For additional articles, insights, and answers to frequently asked questions about Windows 10 and Windows 11, consider exploring the following resources:

Winsage
How to reset the Windows Security app to fix problems on Windows 11 and 10