
To do so, run the following PowerShell command: add-appxpackage -disabledevelopmentmode -register ((Get-AppxPackage Microsoft.SecHealthUI -allusers).InstallLocation + '\AppxManifest.xml') In that case, (re)installing the Microsoft.SecHealthUI package ought to fix the problem. The above indicates that the package is not installed for your user account. + FullyQualifiedErrorId : .Commands.ResetAppxPackageCommand" + CategoryInfo : NotSpecified: (:), COMException + Get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage Use Get-AppxPackage to see the list of packages installed. Windows cannot remove Microsoft.SecHealthUI_1000.22000.1.0_neutral_8wekyb3d8bbwe because the current user does not have that package installed.

Some users may get the following error instead: "Reset-AppxPackage : Package was not found. You should be able to launch the Windows Defender security settings dashboard now. If you see the “Deployment operation progress:” message and end up with no error message/output, the command was successful. Run the following command and hit Enter: Get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage To reset and repair the Windows Security app in Windows 11, open PowerShell elevated (Run as administrator). Instructions for Windows 10 You’ll Need a New App to Open This Windows Defender Link Instructions for Windows 11 Option 1: Repair the Windows Security app
