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 14, 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”}
Jabber00
Feb 15, 2022Copper Contributor
This 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
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