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
Little_Joe
Feb 15, 2022Bronze Contributor
You could try with the following cmdlets and make sure you run PS with admin rights.
Get-AppxPackage -allusers *SecHealthUI* | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}
- Jabber00Feb 15, 2022Copper ContributorThis is the message I receive with admin rights:
Get-AppxPackage : Accesso negato.
Accesso negato.
In riga:1 car:1
+ Get-AppxPackage -allusers *SecHealthUI* | Foreach {Add-AppxPackage -D ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Get-AppxPackage], UnauthorizedAccessException
+ FullyQualifiedErrorId : System.UnauthorizedAccessException,Microsoft.Windows.Appx.PackageManager.Commands.GetApp
xPackageCommand
I already tried similar cmdlets (the one in the previous message), but nothing solved the problem- Little_JoeFeb 16, 2022Bronze ContributorWhat about you try to re-enter the following one with admin rights:
Get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage- Jabber00Feb 16, 2022Copper ContributorLittle_Joe As I said, I already tried every single command in this thread and not only once.
But yesterday there was a new Insider preview update, let's see if anything changes with that command now... no, still unable to open SecHealthUI.