Forum Discussion
Windows 11's Windows Security App can't open.
- Sep 01, 2021
Hello,Suggest try the following steps:
- Open PowerShell by using Administrator rights
- Copy and paste Get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage to the PowerShell window and press enter
- Close the PowerShell and retry
Me too 😞 ,I've searched but all the results not able to fix !
Access is denied.At line:1 char:1+ Get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ CategoryInfo : NotSpecified: (:) [Get-AppxPackage], UnauthorizedAccessException+ FullyQualifiedErrorId : System.UnauthorizedAccessException,Microsoft.Windows.Appx.PackageManager.Commands.GetAppxPackageCommandwrsjj77
MASA-0 I got the same error, so this is what I did:
Open PowerShell, type: Get-AppxPackage Microsoft.SecHealthUI -AllUsers
Type enter.
Open it again and type everything now: Get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage
Type enter.
Close PowerShell and try opening the Windows Security app. It worked for me! ![]()