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
- Jabber00Copper ContributorI tried everything I found in this thread, but still I cannot open Windows Security UI (Microsoft.SecHealthUI).
It's a brand new Windows 11 install.- danielmira00Copper ContributorFollow my method. Works 100%
- Jabber00Copper Contributor
- ashiqrahmanCopper Contributor
I am running Windows 11 22000.194
Running this command on elevated Powershell helped
Get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage
- Tom_S941Copper ContributorThanks for all the help. Was able run and all is good.
- PlanDeFiCopper ContributorSame EXACT thing happening to me! So frustrating... I purchase an msi Pulse GL66 YESTERDAY
solely for the RTX 3060 GPU & on an early Black Friday on sale. I have dozens of Crypto Mining
Rigs and Hardware Miners; So I figured I'd snatch it up. Now that I cant access any Windows Security setting (Windows Defender is for Windows 10 btw) I cant turn off "Real Time Protection" or make an "exclusion folder." So every time I try to download Mining Software like Unmineable
or NiceHash, It gets flagged and removed; leaving me screwed until they FIX THIS! We already know Microsoft is investing in Crypto and NFT's, and Mining is actually being mass promoted in the USA (disregarding the whole emissions issue) ever since the China Ban. The USA wants to control the majority of Hashing Power yet reputable businesses and institutions that have been proving Mining Software, Algorithms, and Nodes for YEARS to millions of users without issue.
Yet everything if flagged as a virus or malware. If Microsoft wants to keep Edge in the game vs a competitor like Brave... They are going to need to give Edge and edge over the competition. Integrate a setting right in Edge that gives users a place to add the websites they want to allow
download and installs from; have it automatically place that site into a whitelist in Windows Defender/Windows Security. This would force users having issue such as this one, to HAVE to use Edge. At least this would keep people from uninstalling Edge completely and disabling
Internet Explorer!
SO ANNOYING! I'm going to see if members in my Discord know some kind of work around... Maybe I can flash the Program and Software using one of my other PC's, make an ISO or something and see if I can get it installed!
discord . gg/vcPaXZkgWp- AmalandonaCopper Contributor
PlanDeFi can you open defender?
- lordymonster360Copper Contributor
Asuka_Okami im having the same problem, its almost like the windows defender application isn't downloaded as it prompts me to look on the Microsoft store for an application when trying to open windows defender.
- danielmira00Copper Contributor
try this from windows powershell as administrator:
Get-AppXPackage *Microsoft.SecHealthUI* -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
and then
Get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage
- pisat_Copper Contributorquotes was crux
- Marek5Copper ContributorHello for me not working nothing, what you advised here.
Get-AppXPackage *Microsoft.SecHealthUI* -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"} make nothing
Get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage make nohing
add-appxpackage -disabledevelopmentmode -register ((Get-AppxPackage Microsoft.SecHealthUI -allusers).InstallLocation + '\AppxManifest.xml') not found
Windows update not have update- AmalandonaCopper Contributor
Marek5 Actually, I looked at the system apps folder, (C:\Windows\SystemApps) there the folder Microsoft.SecHealthUI Is not there.
When I looked there first when defender was working there was this folder.
pls don't tell me to REINSTALL WINDOWSSSS
look at the trim down.
- RafaBlogsCopper ContributorThanks! Using this worked!
- AmalandonaCopper ContributorActually, it didn't work for me because it said that the Appx Package is not installed.
- BobP980Copper ContributorSame for me. I tried this and worked for my user account but not for my wife's in the same PC, when I try to run this powershell routine in her profile (admin, too), I get the same error message, any workarounds in this case?
- AmalandonaCopper ContributorTry, add-appxpackage -disabledevelopmentmode -register ((Get-AppxPackage Microsoft.SecHealthUI -allusers).InstallLocation + '\AppxManifest.xml')
- Reza_AmeriSilver ContributorThis issue should have been fixed in the final release of Windows 11 and latest insider build.
Try update your Windows and if problem persist, report it using the Feedback Hub app.- AmalandonaCopper Contributorokay
- Reza_AmeriSilver ContributorWindows 11 officially released , so upgrade to the latest version and this issue should have been fixed.
- AyushSahuCopper Contributor
- Open Windows PowerShell from search or Start Menu with administrator privilege.
- Copy and paste Get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage
- Close PowerShell window.
For more info Visit Our Website - https://kpdigitalworld.com/
- Random_CasualtyCopper Contributor
I'm getting this error when I run the cut and paste command? Opening Powershell as admin and dropping in the paste
Reset-AppxPackage : Package was not found.
Windows cannot remove Microsoft.SecHealthUI_1000.22000.1.0_neutral__8wekyb3d8bbwe because the current user does not
have that package installed. Use Get-AppxPackage to see the list of packages installed.
At line:1 char:51
+ Get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage
+ ~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Reset-AppxPackage], COMException
+ FullyQualifiedErrorId : System.Runtime.InteropServices.COMException,Microsoft.Windows.Appx.PackageManager.Comman
ds.ResetAppxPackageCommand
- shoumikskCopper Contributor
Asuka_OkamiRun Windows Powershell as administrator and run the following command:
Get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage
- Daniyal002Copper Contributor
- Little_JoeBronze ContributorHello,
Please open PowerShell with admin rights and copy below cmdlets and paste to PowerShell window then press enter key.
Get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage