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
- VIkimsFeb 05, 2022Copper ContributorIt is working for me thanks đ
- eugeneanghmFeb 27, 2022Copper Contributor
I found this powershell command which solves my Package Not Found issue.
add-appxpackage -disabledevelopmentmode -register ((Get-AppxPackage Microsoft.SecHealthUI -allusers).InstallLocation + '\AppxManifest.xml')
- Rockgurl4444Jun 28, 2022Copper ContributorThanks your solution worked for me.
- TezzarrificAug 23, 2021Copper Contributorworked a charm, thankyou.
- Txtw51Aug 22, 2021Copper ContributorHave the same issue Is the input exactly as written with spaces?
- SoftieeAug 21, 2021Copper Contributor
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 20, 2021Copper 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.