Personal PCs show this error when leftover third-party antivirus policies, Windows debloater tweaks, or malware write UI-hiding keys under HKLM\SOFTWARE\Policies\Microsoft\Windows Defender Security Center. Run elevated Command Prompt to delete HKLM\SOFTWARE\Policies\Microsoft\Windows Security Health UI and HKLM\SOFTWARE\Policies\Microsoft\Windows Defender policy overrides, reset Microsoft.SecHealthUI via PowerShell, and reboot.
Before You Start: Quick Pre-Check
- Verify whether a third-party antivirus (Norton, McAfee, Avast, Bitdefender, etc.) is installed, because Windows automatically puts Microsoft Defender into passive/off mode when another AV registers.
- Open PowerShell or Command Prompt using "Run as Administrator" before executing Defender service or MpCmdRun commands.
- Check Windows Settings > Accounts > Access work or school to verify whether a school/company Intune or Group Policy profile is managing security settings.
Why This Issue Happens
Personal PCs show this error when leftover third-party antivirus policies, Windows debloater tweaks, or malware write UI-hiding keys under HKLM\SOFTWARE\Policies\Microsoft\Windows Defender Security Center.
This issue falls under Admin Locks, Tamper Protection, Group Policy & Registry Restoration (Windows Defender & Security). Confirming the exact trigger before making changes prevents unnecessary resets and helps preserve your data and account standing.
Step-by-Step Resolution Protocol
Run elevated Command Prompt to delete HKLM\SOFTWARE\Policies\Microsoft\Windows Security Health UI and HKLM\SOFTWARE\Policies\Microsoft\Windows Defender policy overrides, reset Microsoft.SecHealthUI via PowerShell, and reboot.
HKLM\SOFTWARE\Policies\Microsoft\Windows Security Health UI
HKLM\SOFTWARE\Policies\Microsoft\Windows Defender
How to Verify the Fix Worked
- Open PowerShell as Administrator and run Get-MpComputerStatus to verify AMServiceEnabled, AntivirusEnabled, RealTimeProtectionEnabled, and BehaviorMonitorEnabled all return True.
- Open Windows Security (windowsdefender:) and confirm Virus & Threat Protection, Firewall & Network Protection, and Device Security all show green checkmarks with current definition dates.
- Run a Quick Scan or verify Protection History to confirm the prior error code or repeated alert has cleared.
What if the issue still persists? If WinDefend or SecurityHealthService still fails to start with error 577, 0x80070422, or blank UI screens after removing legacy AV drivers and running DISM/SFC, perform an in-place Windows 11/10 Repair Upgrade (keeping all files and apps) to restore signed Defender binaries.