Windows Defender error 0x80070422 (and closely related codes like 0x8007042c and 0x8007042b) usually means the Windows Security service isn’t running or is blocked, so real-time protection can’t start. This guide walks you through the most common fixes—enabling the necessary services, checking your system files, and clearing a corrupted policy—so you can get Defender working again without reinstalling Windows.
What You’ll Need
- Administrator access to the Windows PC (you’ll need to approve UAC prompts)
- An internet connection for Windows Update (if you use the SFC/DISM repair steps, they may download files)
- About 20–30 minutes of time
Step-by-Step
- Restart your PC. Sounds basic, but a stuck service or a pending update often clears after a reboot. Save your work, restart, and try opening Windows Security again. If the error persists, continue.
- Check the required Windows services. Press Win+R, type
services.msc, and press Enter. Look for these three services:- Windows Defender Antivirus Service (display name: WinDefend)
- Windows Defender Firewall (display name: mpssvc)
- Security Center (display name: wscsvc)
For each, double-click it, set Startup type to Automatic, and if the service is not running, click Start. Apply and OK. If the service fails to start, note the error message—it will help later.
- Enable the services via Command Prompt (if they won’t start). Open Command Prompt as Administrator (right-click Start → “Command Prompt (Admin)” or “Terminal (Admin)”). Run these commands one at a time:
sc config WinDefend start= auto sc start WinDefend sc config mpssvc start= auto sc start mpssvc sc config wscsvc start= auto sc start wscsvc
If you get “OpenService FAILED 1060” for WinDefend, that’s normal on some systems—continue with the others.
- Run the Windows Update troubleshooter. Go to Settings → Update & Security → Troubleshoot → Additional troubleshooters (Windows 10) or Settings → System → Troubleshoot → Other troubleshooters (Windows 11). Run the Windows Update troubleshooter. It will check for and fix common update issues that can block Defender.
- Repair system files with SFC and DISM. Open Command Prompt as Administrator and run:
sfc /scannow
Wait for it to finish (it may take 10–20 minutes). If it finds errors but can’t fix them, run:
DISM /Online /Cleanup-Image /RestoreHealth
Then run
sfc /scannowagain. Reboot after. - Check for third-party antivirus conflicts. If you have another antivirus (like McAfee, Norton, or Avast) installed, it may have disabled Defender. Uninstall the third-party software completely (or disable its “self-defense” mode), then re-enable Defender in Windows Security. After uninstalling, restart and check if the error is gone.
- Reset Windows Security app. Go to Settings → Apps → Apps & features, find “Windows Security,” click it, choose Advanced options, then Reset. This clears the app’s cache without affecting your files. Restart after.
- Check Group Policy (Windows Pro/Enterprise). Press Win+R, type
gpedit.msc, and go to Computer Configuration → Administrative Templates → Windows Components → Windows Defender Antivirus. Double-click Turn off Windows Defender Antivirus and set it to Not Configured. Also check Real-time Protection – make sure Turn off real-time protection is Not Configured. Apply and restart. - Check the registry for a policy that disables Defender. Open Registry Editor (regedit) as Administrator. Navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender
If you see a value named DisableAntiSpyware, right-click it and delete it. Also check the subkey Real-Time Protection and delete any DisableRealtimeMonitoring value. Close Registry Editor and restart.
- Run the Microsoft Safety Scanner or Windows Defender Offline. If the error is gone but Defender still won’t turn on, download the Microsoft Safety Scanner (a standalone tool) and run a full scan. Or, go to Windows Security → Device security → Security processor details (if available) and run Windows Defender Offline scan from the “Virus & threat protection” section. This can remove stubborn infections that block Defender.
Common Mistakes
- Setting the service to Manual instead of Automatic. Some guides say “Manual” is fine, but Windows Defender services expect Automatic. If you set it to Manual, the error may come back after a reboot.
- Skipping the DISM step. SFC alone often can’t fix corrupted system files if the component store itself is damaged. Always run DISM before SFC if you have the time.
- Not restarting after changes. Most fixes require a full restart to take effect. If you don’t restart, the error may persist even though the fix worked.
- Deleting registry keys without a backup. Always export the key you’re about to edit (right-click → Export) so you can restore it if something goes wrong.
Tips
- Keep Windows fully updated. Many Defender errors are fixed by cumulative updates. Go to Settings → Windows Update and install all pending updates.
- Use the Windows Security app’s own “Restart” button. In some versions, you can open Windows Security, go to “Virus & threat protection,” and click “Restart” to reinitialize the service.
- Check the “Security Center” service dependencies. WinDefend depends on the “Windows Management Instrumentation” (Winmgmt) service. If that service is disabled, Defender can’t start. Check that Winmgmt is set to Automatic.
Troubleshooting
If the error persists after all steps, try these additional checks:
- Look at the Event Viewer. Press Win+X and choose “Event Viewer.” Go to Windows Logs → System and filter by source “Service Control Manager.” Look for errors about WinDefend or mpssvc. The error code (e.g., 1068, 1053) can hint at the real problem.
- Check if the service is disabled by policy. Open Command Prompt as Admin and run
reg query "HKLM\SYSTEM\CurrentControlSet\Services\WinDefend". Look at the Start value. If it’s 4, the service is disabled. Change it to 2 (Automatic) usingsc config WinDefend start= autoagain. - Try a clean boot. Disable all non-Microsoft startup items via msconfig (System Configuration) and see if the error disappears. If it does, a third-party program is interfering.
- If nothing works, use the “Windows Security” app’s built-in repair. Go to Settings → Apps → Windows Security → Advanced options → Repair. This is less aggressive than Reset and may fix the app without losing your settings.
- Consider an in-place upgrade repair. As a last resort, you can download the Windows Media Creation Tool and run it while keeping your files and apps. This reinstalls Windows but preserves your data and can fix deep system corruption.
Frequently Asked Questions
Why do I get error 0x80070422 even though Defender shows “on”?
This usually means the service is running but the Windows Security app can’t communicate with it. Try resetting the Windows Security app (Step 7) or restarting the service via services.msc.
Is error 0x80070422 a sign of a virus?
Not necessarily, but malware can disable Defender. If you suspect an infection, run the Microsoft Safety Scanner or Windows Defender Offline scan (Step 10) to rule it out.
Can I fix this without admin rights?
No. Changing service settings, editing the registry, and running SFC/DISM all require administrator privileges. You’ll need to log in with an account that has admin rights.
Will I lose my files if I reset Windows Security?
No. Resetting the Windows Security app only clears its cache and settings. Your personal files and other apps are untouched.
Why does the error come back after a reboot?
If the error returns, a startup program or policy is re-disabling the service. Check the registry keys in Step 9 and make sure no third-party antivirus is set to start at boot.
Should I uninstall my third-party antivirus to fix this?
Yes, if you have one installed. Third-party antivirus often disables Defender to avoid conflicts. If you uninstall it and the error goes away, you can either keep Defender or reinstall the third-party software and accept that Defender stays off.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Custom Alphanumeric Passcode iPhone: How to Set
- HomePod Software Update: How to Install
- How to Shuffle Photos in Slideshow on iPhone
- Quick Look Not Working on Mac? Fixes That Work
- How to See Deleted WhatsApp Messages on iPhone
- QUIC Protocol Error in Windows 10: Fixes