Restore Microsoft Defender Antivirus when disabled by remnants of third-party antivirus uninstalls.
Pre-Fix Diagnostic Checklist
- Check DisableAntiSpyware policy in registry
- Run official vendor removal tool (MCPR, Norton NRnR)
- Re-register Windows Security UWP package
- Sign in with a Windows Administrator account so elevated Command Prompt, PowerShell, and Settings changes apply cleanly.
Diagnostic & Troubleshooting Protocol
Restore Microsoft Defender Antivirus when disabled by remnants of third-party antivirus uninstalls.
Deletes registry policy overrides that disable Defender core.
reg delete 'HKLM\SOFTWARE\Policies\Microsoft\Windows Defender' /v DisableAntiSpyware /fRemoves locked driver filter hooks left by McAfee, Norton, or Avast.
MCPR.exe / NRnR.exeRestores the Windows Security front-end application.
Get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackageHow to Verify the Fix Worked
- Restart Windows fully (Start > Power > Restart — not Shut Down, which uses Fast Startup caching) and confirm the error no longer appears.
- Open Windows Update or Event Viewer (Windows Logs > System / Application) and verify there are no fresh red critical errors for the affected component.
- Confirm dependent apps, drivers, or Microsoft 365 services sign in and sync normally without prompts.
Still seeing the issue? If the same stop code or error persists after DISM/SFC repair and a full reboot, boot into Safe Mode with Networking or test under a new local Windows user profile to isolate profile corruption vs. failing storage/RAM hardware.