Hi,
Can you post the screenshot of the previous command's output window?
Also, post the output of this command:
get-appxpackage *SecHealthUI* -allusers
Regards,
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi this post is to help people with windows 10 and 11 windows security not working
On windows 11 do this
IGNORE THE ERRORS
on windows 10 do this
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Hi,
Can you post the screenshot of the previous command's output window?
Also, post the output of this command:
get-appxpackage *SecHealthUI* -allusers
Regards,
This worked after updating my pc to windows 11! Thank you so much!
Hi Ramesh,
The first query you suggested running on my Windows 11 machine did not provide an output. The second command, however, did:
PS C:\WINDOWS\system32> add-appxpackage -disabledevelopmentmode -register ((Get-AppxPackage Microsoft.SecHealthUI -allusers).InstallLocation + '\AppxManifest.xml')
PS C:\WINDOWS\system32> get-appxpackage *SecHealthUI* -allusers
Name : Microsoft.Windows.SecHealthUI
Publisher : CN=Microsoft Windows, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
Architecture : Neutral
ResourceId :
Version : 10.0.18362.449
PackageFullName : Microsoft.Windows.SecHealthUI_10.0.18362.449_neutral__cw5n1h2txyewy
InstallLocation :
IsFramework : False
PackageFamilyName : Microsoft.Windows.SecHealthUI_cw5n1h2txyewy
PublisherId : cw5n1h2txyewy
PackageUserInformation : {GUID [GUID]: Installed(pending removal),
GUID [DOMAIN\Username]: Installed(pending removal)}
IsResourcePackage : False
IsBundle : False
IsDevelopmentMode : False
NonRemovable : True
IsPartiallyStaged : False
SignatureKind : System
Status : Ok
Name : Microsoft.Windows.SecHealthUI
Publisher : CN=Microsoft Windows, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
Architecture : Neutral
ResourceId :
Version : 10.0.19041.1023
PackageFullName : Microsoft.Windows.SecHealthUI_10.0.19041.1023_neutral__cw5n1h2txyewy
InstallLocation :
IsFramework : False
PackageFamilyName : Microsoft.Windows.SecHealthUI_cw5n1h2txyewy
PublisherId : cw5n1h2txyewy
PackageUserInformation : {GUID [DOMAIN\Username]: Installed(pending removal)}
IsResourcePackage : False
IsBundle : False
IsDevelopmentMode : False
NonRemovable : True
IsPartiallyStaged : False
SignatureKind : System
Status : Ok
Name : Microsoft.Windows.SecHealthUI
Publisher : CN=Microsoft Windows, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
Architecture : Neutral
ResourceId :
Version : 10.0.19041.1682
PackageFullName : Microsoft.Windows.SecHealthUI_10.0.19041.1682_neutral__cw5n1h2txyewy
InstallLocation :
IsFramework : False
PackageFamilyName : Microsoft.Windows.SecHealthUI_cw5n1h2txyewy
PublisherId : cw5n1h2txyewy
PackageUserInformation : {GUID [GUID]: Staged}
IsResourcePackage : False
IsBundle : False
IsDevelopmentMode : False
NonRemovable : True
IsPartiallyStaged : False
SignatureKind : System
Status : Ok
Name : Microsoft.SecHealthUI
Publisher : CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
Architecture : Neutral
ResourceId :
Version : 1000.22000.1.0
PackageFullName : Microsoft.SecHealthUI_1000.22000.1.0_neutral__8wekyb3d8bbwe
InstallLocation : C:\Program Files\WindowsApps\Microsoft.SecHealthUI_1000.22000.1.0_neutral__8wekyb3d8bbwe
IsFramework : False
PackageFamilyName : Microsoft.SecHealthUI_8wekyb3d8bbwe
PublisherId : 8wekyb3d8bbwe
PackageUserInformation : {GUID [DOMAIN\Username]: Installed}
IsResourcePackage : False
IsBundle : False
IsDevelopmentMode : False
NonRemovable : True
Dependencies : {Microsoft.VCLibs.140.00_14.0.30704.0_x64__8wekyb3d8bbwe, Microsoft.UI.Xaml.2.4_2.42007.9001.0_x64__8wekyb3d8bbwe}
IsPartiallyStaged : False
SignatureKind : Store
Status : Ok
PS C:\WINDOWS\system32>
Hi,
The package seems to be installed for one of the users (don't know which one). Can you try the following command now:
Add-AppxPackage -Register -DisableDevelopmentMode "C:\Program Files\WindowsApps\Microsoft.SecHealthUI_1000.22000.1.0_neutral__8wekyb3d8bbwe\AppXManifest.xml"
Hi Ramesh,
Sadly, I don't have access, even with my elevated credentials, to view the contents of the C:\Program Files\WindowsApps folder, but I can confirm that I am still receiving the original error when attempting to open the Windows Security dashboard: "You'll need a new app to open this windowsdefender link".