Aug 16 2021 12:03 AM
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.
Feb 27 2022 07:41 AM
I found this powershell command which solves my Package Not Found issue.
add-appxpackage -disabledevelopmentmode -register ((Get-AppxPackage Microsoft.SecHealthUI -allusers).InstallLocation + '\AppxManifest.xml')
Mar 13 2022 03:25 PM
Mar 26 2022 05:15 PM - edited Mar 26 2022 05:20 PM
Well the: Get-AppXPackage | foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
didn't work for me: After that the securtiy app would just crash on start (after a reset). Then settings app crashes.. windows exlporer not working properly.. no more button on task bar.
Seems I am forced to revert to 10 or reinstall windows..
Mar 30 2022 12:18 PM - edited Mar 30 2022 12:20 PM
@mfdesign thank you it finally worked. I was having this this issue for like 2 months
Apr 01 2022 05:31 PM
Apr 02 2022 05:02 AM
@mfdesign I had the same issue and this solution worked! Thanks!
Apr 10 2022 12:46 PM
Apr 12 2022 10:48 PM
Apr 16 2022 06:30 PM
Thanks bro after trying every thing this worked @eugeneanghm
Apr 17 2022 09:02 AM
Thanks @eugeneanghm ... it worked for me!
Apr 30 2022 07:35 AM
May 06 2022 08:42 AM
me acabas de salvar la vida amigo gracias!!!!@mfdesign
May 08 2022 07:05 AM
Solution worked for me, I was having same issues where it was saying package not installed. Great fix thanks @mfdesign
May 15 2022 11:16 AM
Use the same command but instead of PowerShell use Developer PowerShell for VS 2022.
May 20 2022 07:23 AM
Jun 04 2022 07:40 PM