Forum Discussion
Softiee
Aug 16, 2021Copper Contributor
Windows 11 Windows Defender Issue
Hi I have an issue with Defender where in every time I open it, it routes me to "You need a new app to open this"
I have tried entering the "Get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage" on powershell (run as administrator) but its not working on my end. It says,
"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"
My Windows 11 is currently updated. I keep receiving this error, see below. Please help.
- sarathkjollyCopper Contributor
Use the same command but instead of PowerShell use Developer PowerShell for VS 2022.
- Little_JoeBronze Contributor
Softiee ,
Suggest you go back to last build and retry, if not working then you may have to perform a Reset.
- Little_JoeBronze ContributorHello,
Suggest you try to installed the latest Windows 11 updates then open PowerShell windows with admin right to run below cmdlets:
Get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage- Thomas_KungCopper ContributorThis solution is work for me. Thanks
- Alex_BrooksCopper Contributor
Just now I updated the windows 11 176 version. This problem also occurred. I used the same solution, but I got the same result. It tells me
"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"
I'm worried that my computer will be invaded by computer viruses. We need help
- youngmaydoriaCopper Contributor
Im also having the same issue
- JacobQuirozCopper Contributor
try this and run as admin, there's a mistake on your input.
get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage
- VIkimsCopper ContributorIt is working for me thanks 🙂
- eugeneanghmCopper 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')
- TezzarrificCopper Contributorworked a charm, thankyou.
- Txtw51Copper ContributorHave the same issue Is the input exactly as written with spaces?