Forum Discussion
Windows 11 Windows Defender Issue
try this and run as admin, there's a mistake on your input.
get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage
JacobQuiroz hi i did it, run as admin but still getting the "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" Error
- mfdesignSep 19, 2021Brass Contributor
Softiee not sure if you are still looking for a solution but this worked for me :
Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}- Mohi8Jun 01, 2023Copper ContributorThank you for this beautiful for each. it saved me and fixed the problem.
- merome13Jun 24, 2022Copper ContributorDie einzige Lösung, die bei mir funktioniert hat.
- PieterdcoetzeeJun 04, 2022Copper ContributorThanks mfdesign. This solution worked for me.