You can reset Windows Security using following command in Windows PowerShell:
Get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
You can reset Windows Security using following command in Windows PowerShell:
Get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage
1
Click your Start Button, then just type Powershell and on the resulting list, right click PowerShell and select 'Run as Administrator'.
Paste this command into Powershell and press Enter:
HKLM\SOFTWARE\Policies\Microsoft\Windows Defender" /f; Set-MpPreference -UILockdown 0
When that completes, paste this command into Powershell and press Enter:
Get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage
When that completes, paste this command into Powershell and press Enter:
Add-AppxPackage -Register -DisableDevelopmentMode "C:\Windows\SystemApps\Microsoft.Windows.SecHealthUI_cw5n1h2txyewy\AppXManifest.xml"
Close PowerShell and restart (not shut down) your PC, then check if WIndows Security can be opened successfully.