Forum Discussion
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?
- I 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
446 Replies
- P0lel0ckCopper ContributorI can open start/settings/security/then when I click on security the window opens, is blank (BLACK) and the page freezes up. it will not open anything else you click on. you have to close the entire page, then reopen settings to get to anything else, but security WILL NOT WORK!
- bruorCopper Contributor
Asuka_Okami
I was unable to get this to work using the reset command, but the following worked.I checked the output of the following command and it looked like Microsoft.SecHealthUI was installed for other users on the system, just not mine.
Get-AppxPackage Microsoft.SecHealthUI -AllUsers
I didn't have success piping the output of the above command to add-appxpackage at first, but I found another post where people were talking about restoring all appx packages on a windows 10 system for a specific user account which was the key.
I ran the following command to fix this issueadd-appxpackage -disabledevelopmentmode -register ((Get-AppxPackage Microsoft.SecHealthUI -allusers).InstallLocation + '\AppxManifest.xml')
- xMark0Copper Contributor
1. Press the Win key to open the Start Menu
2. Type Windows Powershell
3. Click Run as administrator
4. Type this command and press enter: Get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage
- Anders LundgrenCopper Contributor
Asuka_Okami in my case, I was unable to run the reset command directly.
Get-AppxPackage: The 'Get-AppxPackage' command was found in the module 'Appx', but the module could not be loaded. For more information, run 'Import-Module Appx'.
When attempting to run the import module command, I got the following:
Import-Module: Operation is not supported on this platform. (0x80131539)
Instead, I had to do the following steps:
Start PowerShell and type:
Import-Module Appx -usewindowspowershell Get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage
- ahmed_adel17161Copper Contributorhello i was have the same issue but i try there steps and windows defender start again
open start menu then open windows power shell as administrator then type this code
Get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage
then click enter - BesterinoCopper Contributoropen powershell as admin and execute: Get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage Fixed it for me.
- sudiptakiranCopper Contributor
Asuka_Okami- I'm facing the same issue after switching over to Windows 11 on my 11th Gen Intel i5 laptop. Neither is Microsoft To Do app opening.
- sudiptakiranCopper ContributorThanks Francis_Powell for the fix. Worked for me!!
- AfshinamiriCopper ContributorThe Fix To Windows Defender’s Pop-Up Issue
Press the Windows key,
Type “PowerShell”,
Right-click on Windows PowerShell and click “Run as administrator”,
Copy the following command, paste it in PowerShell and press Enter.
Get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage - OakAgsornsinCopper Contributorhttps://techdows.com/2021/08/fix-latest-windows-11-build-breaks-windows-defender.html
This one fixed the issue 100%. It works for me. - Missy3xLCopper ContributorI've just spent 24 hours doing a complete reinstall of windows 10 on a brand new Acer nitro and then onto Win 11 and have probably downloaded at least 80 gigs data on music software and all was sweet and then this morning the update has broken Windows defender as per this thread. I'm going to have a jolly good go at putting Windows 8.1 Pro on this Acer as I'm over windows with the amount of updates and patches and patches to fix the patches that are broken and at the end of the day life is too short. The laptop might only have been $2,000 but the software on it was 3 times that amount and I haven't got time for this constant toing and froing. I have two other laptops on Windows 8.1 Pro because of this ongoing issue and they are running absolutely fine in fact perfect. I thought Windows 11 was pretty neat but multiple updates and patches, patches to fix patches, back to 8.1 pro
- JulGerBrass ContributorBut you do know, that this is not the finished product? 😉