Windows Defender on Windows 11 Issue’s

Run this from an elevated powershell:

run this command (without the “”)
add-appxpackage -disabledevelopmentmode -register ((Get-AppxPackage Microsoft.SecHealthUI -allusers).InstallLocation + ‘\AppxManifest.xml’)”


 run this command (without the “”)
Get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage