Forum Discussion
Issue with Windows Defender on Windows 11
- Aug 07, 2021I had this problem on all machines updated from 19043.1151 to 22000.120.
This command from elevated PowerShell fixed the problem for me, try it and report the results:
Get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage
This command from elevated PowerShell fixed the problem for me, try it and report the results:
Get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage
- clubrobAug 20, 2021Copper Contributor
Thanks for everyone on this thread. This command finally worked for me.
Initially, I was getting errors with all the Appx commands. Turns out I had to use the built-in Windows PowerShell rather than the downloaded PowerShell Core in Windows Terminal. Hope this helps someone else beating their head against their monitor!
- EdsTheBuilderAug 08, 2021Copper ContributorThis worked with me! Thank you very much!
- Asuka_OkamiAug 08, 2021Brass ContributorWorked! Thank you!
- fggIBAug 08, 2021Steel Contributor
If you had this problem with build 22000.120 you probably also have the bug on (Shift + Restart)
Recovery advanced startup gets a BSOD PROCESS1_INITIALIZATION_FAILED, you should try and see if you have also that bug.- MpSinghAug 08, 2021Copper ContributorYeah, I have HP laptop and I did get PROCESS1_INITIALIZATION_FAILED on Windows RE
Running 22000.120
- AmalandonaOct 10, 2021Copper Contributor
It doesn't even work for me because it says I do not have the package installed. I opened windows PowerShell and ran Get-AppxPackage Microsoft.SecHealthUI -AllUsers and it said that InstallLocation is C:\Program Files\WindowsApps\Microsoft.SecHealthUI_1000.22000.1.0_neutral__8wekyb3d8bbwe
then I did go to C:\Program Files\WindowsApps\Microsoft.SecHealthUI_1000.22000.1.0_neutral__8wekyb3d8bbwe
and there was a .exe file and it didn't work.
- phcahillOct 15, 2021Copper ContributorI had package not installed too. Try this from an elevated powershell:
add-appxpackage -disabledevelopmentmode -register ((Get-AppxPackage Microsoft.SecHealthUI -allusers).InstallLocation + '\AppxManifest.xml')- AmalandonaOct 15, 2021Copper ContributorIT WORKED!!!
Thanks!
- DenisCoadyFeb 20, 2022Copper Contributor
fggIBthanks for sharing this! I just upgraded to Windows 11 (Feb 2022) and my security app was "missing" as well but this command fixed it immediately for me!
- MichiellAug 08, 2021Copper Contributor
Thank you so much. It worked for me.
- SURAJ_98Aug 10, 2021Copper Contributorshould try this command this really fixes that defender issues
- SteveF01Aug 10, 2021Brass ContributorPowershell won't recognise that instruction on my hp laptop - even after repeated attempts - I've tried to reset computer to previous 11 version - again failed & Laptop even refuses to carry out a clean install of Windows 10 - I have even removed paid for antivirus programs in case of conflicts - did not help - appears this 18month old laptop
has become totally unprotected Windows 11 with no defender accessibility 😞 really need some professional help- SURAJ_98Aug 10, 2021Copper ContributorI guess you need to install latest preview build 22000.120 again then see if it fixes
- Nexust18Aug 14, 2021Copper ContributorThis Worked for me.
but CPU consumption is generally high. - nijichaAug 14, 2021Copper ContributorFor me, This command is worked.
- BABU245Aug 14, 2021Copper Contributor
THIS ALSO WORKED FRO ME THANKYOU VERY MUCH