Forum Discussion

Softiee's avatar
Softiee
Copper Contributor
Aug 16, 2021

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.

  • Little_Joe's avatar
    Little_Joe
    Bronze Contributor

    Softiee ,

     

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

     

     

  • Little_Joe's avatar
    Little_Joe
    Bronze Contributor
    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
  • Alex_Brooks's avatar
    Alex_Brooks
    Copper Contributor

    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

  • Sudee_701's avatar
    Sudee_701
    Copper Contributor

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

     
     
     
     
     
  • JacobQuiroz's avatar
    JacobQuiroz
    Copper Contributor

    Softiee 

    try this and run as admin, there's a mistake on your input.

     

    get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage

    • VIkims's avatar
      VIkims
      Copper Contributor
      It is working for me thanks 🙂
      • eugeneanghm's avatar
        eugeneanghm
        Copper 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')
    • Txtw51's avatar
      Txtw51
      Copper Contributor
      Have the same issue Is the input exactly as written with spaces?

Resources