Forum Discussion
Windows 11's Windows Security App can't open.
Alright guys, just now I'm trying to disable the Windows defender but I found out that I can't even open the Windows Security App. Anyone knows what's going on? Any solution? I'm looking for help.
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
- Little_JoeBronze Contributor
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
- JianYuBrass ContributorThanks for your help it works now 🙂
- Chris MehnertCopper Contributor
Little_Joe you're going to have to use the powershell.exe as an Administrator from C:\Windows\System32\WindowsPowerShell\v1.0 to get it to work at this point.
- Godfrey-rossouw1555Copper ContributorHello I have powershell 7.2 on my Windows 11 would that be a problem
- WinJeffreyCopper Contributor
Ran "Get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage" in Windows PowerShell as Administrator and it worked!
Thank you!
- Little_JoeBronze Contributor
Glad to know this.
- wrsjj77Copper ContributorI tried this and it keeps telling access denied
- MASA-0Copper 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
- bygabeeCopper Contributor
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-AppxPackageType enter.
Close PowerShell and try opening the Windows Security app. It worked for me!
- Little_JoeBronze ContributorHello,
Please make sure you're open PowerShell with local admin rights.- Nighthowler422Copper ContributorI love you dude thank you
- scandibCopper Contributor
This fix worked for me as well. Thanks!
- karthikshaindiaCopper Contributor
JianYu this solution doesn't work for me
tried other solutions like Windows Security in Windows 11 not opening or working (thewindowsclub.com)
except for only reinstallation on my side. Do you have any other solution? I bit doubtful windows defender then install 3rd party internet security ie, Kaspersky
- JianYuBrass Contributor
karthikshaindia If this solution do not work for you, I think you can just follow the reinstall step based on the link you shared or maybe you can install 3rd party antivirus software like you said if you own a license key to activate the software 😊
- TheRealHalleCopper Contributor
Did not eork for me
. Even after doing a complete doctors reset. Security opens displays the bleshield n center. Does not fully open.J freezes there. Know it's no my laptop.$2500 laptopto new for it to ne the problem
- IrishdadbodCopper Contributor
Did you make sure to run Powershell as administrator?
- CheekyCactusCopper Contributor
Thank you,
I checked out your link "Windows Security in Windows 11 not opening or working (thewindowsclub.com)"
I did the first option "Reinstall using PowerShell Command" and it looked a little scary, but this method worked for me and fixed it...
Set-ExecutionPolicy Unrestricted
Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
- jaypee5811Copper Contributor
- box4soumenduCopper Contributor
Thanks for your help it works now 👍😊❤️:party_popper::balloon:JianYu
- perfectly365Copper Contributor
i have tried this did not work, looks like my mother board is to old 2014 and don't have tpm 2.0 so can't load it and cant find it. they bypassed it, to load windows 11 on my computer. any suggestions.
i have avast on my comp for now.
- DtRet2021_65Copper Contributor
JianYu I have windows 11S and it will not allow administrator mode . I like windows 11 S mode so far and do not want to switch off but I do need access to windows security. Can you help?
- DtRet2021_65Copper ContributorLittle_Joe I have windows 11S and it will not allow administrator mode . I like windows 11 S mode so far and do not want to switch off but I do need access to windows security. Can you help?
- Little_JoeBronze ContributorCan u pls try to open CMD with admin rights? If yes then you can still launch Powershell.
- Ron_MorrisCopper Contributor
JianYu
This solution didn't work, any other suggestions?- harrywebCopper Contributor
Ron_Morris Open PowerShell; it is not cmd but search PowerShell
- Ron_MorrisCopper Contributor
harryweb Thanks! it worked now.
- Pcdj64Copper Contributor
MAKE SURE YOU RUN POWERSHELL AS ADMINISTRATOR!
If you don't right click and select run as administrator, it will say access denied.