Windows 11 Windows Defender Issue

%3CLINGO-SUB%20id%3D%22lingo-sub-2651248%22%20slang%3D%22en-US%22%3EWindows%2011%20Windows%20Defender%20Issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2651248%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3EHi%20I%20have%20an%20issue%20with%20Defender%20where%20in%20every%20time%26nbsp%3BI%20open%20it%2C%20it%20routes%20me%20to%20%22You%20need%20a%20new%20app%20to%20open%20this%22%3CBR%20%2F%3E%3CBR%20%2F%3EI%20have%20tried%20entering%20the%20%22%3C%2FSPAN%3E%3CSPAN%3EGet-AppxPackage%20Microsoft.SecHealthUI%20-AllUsers%20%7C%20Reset-AppxPackage%22%20on%20powershell%20(run%20as%20administrator)%20but%20its%20not%20working%20on%20my%20end.%20It%20says%2C%3CBR%20%2F%3E%3CBR%20%2F%3E%22Reset-AppxPackage%20%3A%20Package%20was%20not%20found.%3CBR%20%2F%3EWindows%20cannot%20remove%20Microsoft.SecHealthUI_1000.22000.1.0_neutral__8wekyb3d8bbwe%20because%20the%20current%20user%20does%20not%3CBR%20%2F%3Ehave%20that%20package%20installed.%20Use%20Get-AppxPackage%20to%20see%20the%20list%20of%20packages%20installed.%3CBR%20%2F%3EAt%20line%3A1%20char%3A51%3CBR%20%2F%3E%2B%20Get-AppxPackage%20Microsoft.SecHealthUI%20-AllUsers%20%7C%20Reset-AppxPackage%3CBR%20%2F%3E%2B%20~~~~~~~~~~~~~~~~~%3CBR%20%2F%3E%2B%20CategoryInfo%20%3A%20NotSpecified%3A%20(%3A)%20%5BReset-AppxPackage%5D%2C%20COMException%3CBR%20%2F%3E%2B%20FullyQualifiedErrorId%20%3A%20System.Runtime.InteropServices.COMException%2CMicrosoft.Windows.Appx.PackageManager.Comman%3CBR%20%2F%3Eds.ResetAppxPackageCommand%22%3CBR%20%2F%3E%3CBR%20%2F%3EMy%20Windows%2011%20is%20currently%20updated.%20I%20keep%20receiving%20this%20error%2C%20see%20below.%20Please%20help.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2671051%22%20slang%3D%22en-US%22%3ERe%3A%20Windows%2011%20Windows%20Defender%20Issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2671051%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1128879%22%20target%3D%22_blank%22%3E%40Softiee%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3Etry%20this%20and%20run%20as%20admin%2C%20there's%20a%20mistake%20on%20your%20input.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3Eget-AppxPackage%20Microsoft.SecHealthUI%20-AllUsers%20%7C%20Reset-AppxPackage%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2671142%22%20slang%3D%22en-US%22%3ERe%3A%20Windows%2011%20Windows%20Defender%20Issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2671142%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1133746%22%20target%3D%22_blank%22%3E%40JacobQuiroz%3C%2FA%3E%26nbsp%3Bhi%20i%20did%20it%2C%20run%20as%20admin%20but%20still%20getting%20the%20%22Reset-AppxPackage%20%3A%20Package%20was%20not%20found.%3CBR%20%2F%3EWindows%20cannot%20remove%20Microsoft.SecHealthUI_1000.22000.1.0_neutral__8wekyb3d8bbwe%20because%20the%20current%20user%20does%20not%3CBR%20%2F%3Ehave%20that%20package%20installed.%20Use%20Get-AppxPackage%20to%20see%20the%20list%20of%20packages%20installed.%3CBR%20%2F%3EAt%20line%3A1%20char%3A51%3CBR%20%2F%3E%2B%20get-AppxPackage%20Microsoft.SecHealthUI%20-AllUsers%20%7C%20Reset-AppxPackage%3CBR%20%2F%3E%2B%20~~~~~~~~~~~~~~~~~%3CBR%20%2F%3E%2B%20CategoryInfo%20%3A%20NotSpecified%3A%20(%3A)%20%5BReset-AppxPackage%5D%2C%20COMException%3CBR%20%2F%3E%2B%20FullyQualifiedErrorId%20%3A%20System.Runtime.InteropServices.COMException%2CMicrosoft.Windows.Appx.PackageManager.Comman%3CBR%20%2F%3Eds.ResetAppxPackageCommand%22%20Error%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2673212%22%20slang%3D%22en-US%22%3ERe%3A%20Windows%2011%20Windows%20Defender%20Issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2673212%22%20slang%3D%22en-US%22%3EHave%20the%20same%20issue%20Is%20the%20input%20exactly%20as%20written%20with%20spaces%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2676322%22%20slang%3D%22en-US%22%3ERe%3A%20Windows%2011%20Windows%20Defender%20Issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2676322%22%20slang%3D%22en-US%22%3Eworked%20a%20charm%2C%20thankyou.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2698263%22%20slang%3D%22en-US%22%3ERe%3A%20Windows%2011%20Windows%20Defender%20Issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2698263%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1128879%22%20target%3D%22_blank%22%3E%40Softiee%3C%2FA%3E%26nbsp%3BI%20do%20have%20the%20same%20issue.%20I%20guess%20the%20powershell%20code%20is%20correct%20but%20seems%20to%20continue%20errors%20of%20it%20too.%3C%2FP%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22jfk-bubble%20gtx-bubble%22%3E%3CDIV%20class%3D%22jfk-bubble-content-id%22%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%20class%3D%22jfk-bubble-closebtn-id%20jfk-bubble-closebtn%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22jfk-bubble-arrow-id%20jfk-bubble-arrow%20jfk-bubble-arrowup%22%3E%3CDIV%20class%3D%22jfk-bubble-arrowimplbefore%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22jfk-bubble-arrowimplafter%22%3E%26nbsp%3B%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2698303%22%20slang%3D%22en-US%22%3ERe%3A%20Windows%2011%20Windows%20Defender%20Issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2698303%22%20slang%3D%22en-US%22%3E%3CP%3EIm%20also%20having%20the%20same%20issue%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

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.

14 Replies

@Softiee 

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

Have the same issue Is the input exactly as written with spaces?
worked a charm, thankyou.

@Softiee I do have the same issue. I guess the powershell code is correct but seems to continue errors of it too.

 
 
 
 
 

Im also having the same issue

@JacobQuiroz 

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

@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”} 

Hello,
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
This solution is work for me. Thanks

@Softiee ,

 

Suggest you go back to last build and retry, if not working then you may have to perform a Reset.

 

Little_Joe_0-1632733640903.png

 

Hi, I had an issue with "Reset-AppxPackage : Package was not found." and this solution worked for me. Thank you.
Worked for me as well. No idea what else it did, ton of red comments but hard to read as red on black is no good for my colorblind lol! Once finished back to normal
Worked for me, thanks a lot!!! It went for a 2-3 mins with few errors, but after all Defender is working fine!