Forum Discussion
Asuka_Okami
Aug 06, 2021Brass Contributor
Issue with Windows Defender on Windows 11
I cannot open any of the settings on windows defender, when i try to it tells me to look for a compatible app in the Microsoft Store. Is this a bug or some other (fixable) issue?
- 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
Little_Joe
Feb 16, 2022Bronze Contributor
What about you try to re-enter the following one with admin rights:
Get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage
Get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage
Jabber00
Feb 16, 2022Copper Contributor
Little_Joe As I said, I already tried every single command in this thread and not only once.
But yesterday there was a new Insider preview update, let's see if anything changes with that command now... no, still unable to open SecHealthUI.
But yesterday there was a new Insider preview update, let's see if anything changes with that command now... no, still unable to open SecHealthUI.
- Little_JoeFeb 17, 2022Bronze ContributorThen you have to try to upgrade to latest version of WIP Win11 build.
- Jabber00Feb 17, 2022Copper ContributorI did: it's a fresh new installation and I did an in place upgrade with the last available ISO too (as I said, now the Surface dial settings is broken again, as before the in place upgrade it crashed only when I tried to add a new app).
- SteveF01Feb 18, 2022Brass ContributorTook Me 25 to 30 attempts over several days - i have very little IT knowledge so can only suggest to keep trying - don't copy & paste is the point where it eventually worked and I guess I might have perhaps missed spelling parts or left spaces but anyhow it eventually worked our of the blue like magic - even on computers using insider Beta & officially declared as incompatible yet it downloaded and has worked this past year - it seems this same bug is still continuing a year after it first started & there are several other workarounds that apparently work for others so it's worth trying them all till you find the right one for you ? I assume you have the right updated BIOS whatever that is? I'm unfamiliar when people use alphabet letters of various processes so didn't understand what your last reply was about ? Even finding the correct Powers Powershell took Me several attempts & then the quirky writing of the words & characters & spaces till it eventually recognised it- copy & pasting simply didn't work for my machines and I was almost resigned to staying on Windows 10 - in many ways I wish I had not changed as the Windows 11 screen layout is so restrictive & task bar is terrible with its limited space on a single line & try to run anything more than 3 or 4vprogrammes at once will create screen freezes - thankfully I've a couple of windows 10 older computers and invariably I end up using them more often than the Windows 11 desktops - keep trying & good luck - but don't loose any sleep trying to upgrade - its simply not worth the agro ! All Best Wishes to you !
- SteveF01Feb 16, 2022Brass ContributorHad the same issues many many months ago - and must have tried 25-30times with limited computer IT experience & computers with low specs but it's worth perseverance!
You must be using Powershell & you must be using administrator permissions !
Enter:-(Copy&Paste) the following:-
Get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage
It will eventually work 🙂 Good Luck 🙂- Jabber00Feb 16, 2022Copper Contributor
SteveF01Did not work for me
I have tried PowerShell, old PowerShell, Windows Terminal PowerShell... but it doesn't work on my system.
I tried an on place reinstall, but nothing (before I could see wheels settings and it crashed only when I tried to add a new app, now it crashes as soon as I open settings section) and I have the Defender problem after a clean installation (it worked with previuos installation, which was an upgrade of a Windows 10 installation)...- SteveF01Feb 16, 2022Brass ContributorBrings back memories & frustrations I experienced over a year ago - I kept trying various methods of getting Powershell to do its thing I literally lost count & for a few days gave up on Windows11 ever working correctly- in the end I just continued a couple attempts daily and noticed Powershell opened differently with its Black Screen in admin privalidge and pasted the line into place but I then printed the same instruction line and deleted the pasted part - for some unknown reason it accepted the printed copy and has ever since appeared to be working ?
Don't give up & keep trying - its just a quirk with modern technology trying to adjust & keep up with changes that need to work on so many differing makes & models of Old & New Computers? It will eventually sort itself out for you I'm sure & once it does you'll enjoy the Windows 11
Meantime for computer Safety I'd recommend the Free versions of Malwarebytes Antivirus & the Emsisoft Emergency Kit Antivirus as backup protection till Windows Defender can work correctly ?