Forum Discussion
JaxxonMoretti
Jun 20, 2022Copper Contributor
Window 11's window insider preivew (dev channel) Can't open window defender
So I have experienced an issue with window defenders which it can't open window defenders for a few reasons. That I did attempt fixing which is "PS C:\WINDOWS\system32> Get-AppxPackage Microsoft.Se...
- Jun 22, 2022Hello,
Based on your first screenshot you should run the following cmdlets it should fix your problem:
Get-AppxPackage -allusers *SecHealthUI* | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}
Little_Joe
Jun 22, 2022Bronze Contributor
Hello,
Based on your first screenshot you should run the following cmdlets it should fix your problem:
Get-AppxPackage -allusers *SecHealthUI* | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}
Based on your first screenshot you should run the following cmdlets it should fix your problem:
Get-AppxPackage -allusers *SecHealthUI* | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}
The_Hock666
Jul 24, 2022Copper Contributor
Thank you so much for this, I was trying to run this solution:
Get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage
However, I was getting errors and was stuck until I came across this post. Once I ran the code in Powershell (as admin):
Get-AppxPackage -allusers *SecHealthUI* | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}
then the following code:
Get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage
I now have access back to Windows Security Centre.
Get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage
However, I was getting errors and was stuck until I came across this post. Once I ran the code in Powershell (as admin):
Get-AppxPackage -allusers *SecHealthUI* | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}
then the following code:
Get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage
I now have access back to Windows Security Centre.