Forum Discussion
Softiee
Aug 16, 2021Copper Contributor
Windows 11 Windows Defender Issue
Hi I have an issue with Defender where in every time I open it, it routes me to "You need a new app to open this" I have tried entering the "Get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset...
mfdesign
Sep 20, 2021Brass Contributor
Softiee not sure if you are still looking for a solution but this worked for me :
Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}
Adassko
Apr 13, 2022Copper Contributor
Thank you, the solution with Add-AppxPackage was helpful for me but not complete.
For me the entire folder C:\Program Files\WindowsApps\Microsoft.SecHealthUI_1000.22000.1.0_neutral__8wekyb3d8bbwe was missing.
I recovered it from windows iso but it then wasn't on the list. I registered it using
Add-AppxPackage -DisableDevelopmentMode -Register “C:\Program Files\WindowsApps\Microsoft.SecHealthUI_1000.22000.1.0_neutral__8wekyb3d8bbwe\AppXManifest.xml”
but that in turn put it into status:
Status : Modified, NeedsRemediation
and wouldn't let me run it.
I tried creating new profile, repair installation and multiple troubleshooters but it all didn't work. Finally I just removed the "NeedsRemediation" flag in the registry.
Just open regedit and go to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModel\StateChange\PackageList
then remove Microsoft.SecHealthUI_8wekyb3d8bbwe key from the list.
Took me couple of hours but it finally works.
For me the entire folder C:\Program Files\WindowsApps\Microsoft.SecHealthUI_1000.22000.1.0_neutral__8wekyb3d8bbwe was missing.
I recovered it from windows iso but it then wasn't on the list. I registered it using
Add-AppxPackage -DisableDevelopmentMode -Register “C:\Program Files\WindowsApps\Microsoft.SecHealthUI_1000.22000.1.0_neutral__8wekyb3d8bbwe\AppXManifest.xml”
but that in turn put it into status:
Status : Modified, NeedsRemediation
and wouldn't let me run it.
I tried creating new profile, repair installation and multiple troubleshooters but it all didn't work. Finally I just removed the "NeedsRemediation" flag in the registry.
Just open regedit and go to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModel\StateChange\PackageList
then remove Microsoft.SecHealthUI_8wekyb3d8bbwe key from the list.
Took me couple of hours but it finally works.