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
bruor
Sep 15, 2021Copper Contributor
Asuka_Okami
I was unable to get this to work using the reset command, but the following worked.
I checked the output of the following command and it looked like Microsoft.SecHealthUI was installed for other users on the system, just not mine.
Get-AppxPackage Microsoft.SecHealthUI -AllUsers
I didn't have success piping the output of the above command to add-appxpackage at first, but I found another post where people were talking about restoring all appx packages on a windows 10 system for a specific user account which was the key.
I ran the following command to fix this issue
add-appxpackage -disabledevelopmentmode -register ((Get-AppxPackage Microsoft.SecHealthUI -allusers).InstallLocation + '\AppxManifest.xml')