Forum Discussion
Asuka_Okami
Aug 06, 2021Brass Contributor
Issue with Windows Defender on Windows 11
I cannot open any of the settings on windows defender, when i try to it tells me to look for a compatible app in the Microsoft Store. Is this a bug or some other (fixable) issue?
- 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
Aoshi101
Nov 19, 2022Copper Contributor
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.
James_Commodore
Feb 02, 2024Copper Contributor
Found the answer to my question - https://answers.microsoft.com/en-us/windows/forum/all/restore-windowsapps-permissionss-to/464e65c1-6690-493b-8cf6-c85a5ac5468a#:~:text=1%20Open%20the%20File%20Explorer.%202%20Browse%20to,account%20and%20click%20Check%20Names%3A%20NTService%5CTrustedInstaller.%20More%20items