Forum Discussion
Issue with Windows Defender on Windows 11
- Aug 07, 2021I had this problem on all machines updated from 19043.1151 to 22000.120.
This command from elevated PowerShell fixed the problem for me, try it and report the results:
Get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage
Steve Whitcher This worked for me. However, I needed to make a slight adjustment to the commands noted. The first command was missing the call to the AppxManifest.xml file. Without that, it spits out an error every time.
Here's the full step-by-step:
1) Navigate to the following path: C:\Program Files\WindowsApps\DeletedAllUserPackages\Microsoft.SecHealthUI_1000.25182.1000.0_x64__8wekyb3d8bbwe'
Note: You will need to grant yourself ownership of the WindowsApp and DeletedAllUserPackages folders to access them.
2) Copy the Microsoft.SecHealthUI_1000.25182.1000.0_x64__8wekyb3d8bbwe folder to "C:\Program Files\WindowsApp".
Note: The folder name may be slightly different based upon the version of the SecHealthUI app and Windows OS version.
3) After the folder is copied, open an elevated Powershell (run as administrator) and enter the commands below.
add-appxpackage -DisableDevelopmentMode -register "C:\Program Files\WindowsApps\Microsoft.SecHealthUI_1000.25182.1000.0_x64__8wekyb3d8bbwe\AppxManifest.xml"
get-appxpackage -allusers microsoft.sechealthui | Reset-AppxPackage
Once completed, you should be able to open the Windows Defender Security application with no errors.