Forum Discussion
Windows 11's Windows Security App can't open.
- Sep 02, 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
- MASA-0Feb 13, 2022Copper Contributor
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
- NazmulAyyanOct 11, 2023Copper Contributor
Have you solved the problem? I have the same problem. I copied and pasted the command but it didn't work like you. MASA-0
- Ali-BOccultishJun 14, 2022Copper Contributor
MASA-0 I'm getting in red:
Get-AppxPackage : A positional parameter cannot be found that accepts argument 'AllUsers' . At line:1 char:1
+ Get-AppxPackage Microsoft.SecHealthUI - AllUsers | Reset-AppPackage
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+CategoryInfo :Invalid argument: ( : ) [Get-AppxPackage], ParameterBindingException
+ FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.Windows.Appx.PackageManager.Commands.GetAppxPackageCommand
- adammuizMay 24, 2022Copper Contributor
MASA-0 Please try run PowerShell as Administrator.
and if you still having problem,
make sure that you already update Windows to last version.
Then run as Administrator again PowerShell and command
"Get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage"I hope it fixed.
Reference : https://adammuiz.com/en/solved-windows-11-cant-open-windows-security/
I have same problem and this is work
- Little_JoeOct 14, 2021Bronze ContributorHello,
Please make sure you're open PowerShell with local admin rights.- ghOst965Nov 26, 2023Copper Contributor
how do i get admin rights
- Little_JoeDec 05, 2023Bronze ContributorRight-click the CMD or PS from your Taskbar or Start menu...
- Nighthowler422Aug 22, 2022Copper ContributorI love you dude thank you