sodcalculator

10 Tech How-To

Fix 0x80070422 When Windows Defender Is Missing

Guide 10-46318 · Updated · Step by step

This guide walks you through fixing error 0x80070422 when Windows Defender appears missing or won’t start. You’ll re-enable the required services, repair system files, and restore Defender’s registration—without needing third-party tools. Start with the quickest fixes and work down the list.

What You’ll Need

  • Administrator access to the Windows PC (you’ll need to approve UAC prompts).
  • An internet connection (for Windows Update and online repairs).
  • A backup of important files (optional but recommended before system-level changes).

Step-by-Step

  1. Check if Windows Defender is actually disabled. Open the Start menu, type Windows Security, and press Enter. If you see a warning banner or the app doesn’t open, Defender is likely disabled. If it opens but shows no virus protection, skip to Step 3.
  2. Enable Windows Defender via Group Policy (Windows Pro/Enterprise). Press Win + R, type gpedit.msc, and press Enter. Navigate to Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus. Double-click Turn off Microsoft Defender Antivirus, set it to Not Configured or Disabled, then click OK. Restart your PC.
  3. Enable the required services. Press Win + R, type services.msc, and press Enter. Find each of the following services, double-click them, set Startup type to the value shown, and click Start if it isn’t running:
    • Windows Defender Antivirus Service (WinDefend) – Automatic
    • Windows Defender Antivirus Network Inspection Service (WdNisSvc) – Automatic
    • Security Center (wscsvc) – Automatic
    • Windows Update (wuauserv) – Automatic (error 0x80070422 often appears when this is disabled)
    • Background Intelligent Transfer Service (BITS) – Automatic
  4. Repair Windows Update components. Open Command Prompt as administrator (right-click Start > Terminal (Admin) or Command Prompt (Admin)). Run these commands one by one, pressing Enter after each:
    net stop wuauserv
    net stop cryptSvc
    net stop bits
    net stop msiserver
    ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
    ren C:\Windows\System32\catroot2 catroot2.old
    net start wuauserv
    net start cryptSvc
    net start bits
    net start msiserver

    Restart your PC afterward.

  5. Run the System File Checker. In the same Command Prompt window, run sfc /scannow and wait for it to finish. If it finds errors, run DISM /Online /Cleanup-Image /RestoreHealth and then run sfc /scannow again.
  6. Re-register Windows Defender via PowerShell. Open PowerShell as administrator. Run this command and press Enter:
    Set-MpPreference -DisableRealtimeMonitoring $false

    If that fails, run the following to re-register the Defender app:

    Get-AppxPackage Microsoft.Windows.SecHealthUI | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
  7. Check the Windows Defender registry key. Press Win + R, type regedit, and press Enter. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender. If you see a value named DisableAntiSpyware, right-click it and delete it. Close the registry editor and restart.
  8. Run the Windows Update troubleshooter. Go to Settings > System > Troubleshoot > Other troubleshooters (or Update & Security > Troubleshoot on older builds). Run the Windows Update troubleshooter and follow the prompts.
  9. Perform a Windows repair upgrade. If nothing else works, download the Windows 11 or Windows 10 Media Creation Tool from Microsoft’s official website, run it, and choose Upgrade this PC now. This reinstalls Windows while keeping your files and apps.

Common Mistakes

  • Disabling Windows Update service permanently. Many users disable Windows Update to avoid reboots, but Defender depends on it for signature updates and the error 0x80070422 is directly tied to it. Keep Windows Update set to Automatic.
  • Using third-party antivirus and then uninstalling it incorrectly. If you had another antivirus, its remnants can disable Defender. Use the vendor’s official removal tool and then re-enable Defender.
  • Skipping the Group Policy check. If you’re on Windows Pro, a leftover policy can block Defender even after you reinstall it. Always check Group Policy first.
  • Running Command Prompt without admin rights. Commands like sfc and net stop will fail with access denied if you don’t open the prompt as administrator.
  • Deleting registry keys without backup. Always export the key before deleting anything in regedit.

Tips

  • Create a system restore point before making changes. Type Create a restore point in Start, select your drive, and click Create.
  • Use the Windows Security app to check status after each step. If it opens and shows green checkmarks, you’re done.
  • Keep Windows updated to avoid future Defender issues. Set active hours so updates don’t interrupt your work.
  • If you use a VPN or proxy, disable it temporarily—some networks block Windows Update and cause this error.
  • Consider using the Microsoft Safety Scanner as a temporary measure while fixing Defender, but don’t rely on it long-term.

Troubleshooting

If the error persists after following all steps, try these additional checks:

  • Check for conflicting software. Uninstall any recently installed security tools or system optimizers that might have disabled Defender.
  • Verify your Windows version is supported. Windows 10 and 11 receive Defender updates, but older builds may need to be updated first. Go to Settings > Windows Update and install all pending updates.
  • Look at the Event Viewer for more details. Press Win + X, select Event Viewer, and navigate to Windows Logs > System. Look for errors around the time the 0x80070422 appears and note the source (e.g., Service Control Manager).
  • If the Windows Security app is missing entirely, reinstall it via PowerShell as shown in Step 6. If that fails, use the Media Creation Tool upgrade (Step 9).
  • As a last resort, reset Windows via Settings > System > Recovery > Reset this PC. Choose Keep my files to preserve your data, but this will remove installed apps.

Frequently Asked Questions

Why does error 0x80070422 appear when Windows Defender is missing?

This error usually means a required service (often Windows Update) is disabled or the Defender service isn’t running. The missing Defender app is a symptom of the same underlying issue, not a separate problem.

Can I fix this without administrator access?

No. All fixes require admin rights to change services, edit the registry, or run system file checks. If you’re on a managed work PC, contact your IT administrator.

Will I lose my files if I do a repair upgrade?

No. The in-place upgrade using the Media Creation Tool keeps your personal files, installed apps, and settings. It’s a safe last resort, but it may take an hour or more.

Is it safe to delete the SoftwareDistribution folder?

Yes, after renaming it to SoftwareDistribution.old. Windows will recreate a fresh folder when you restart the update service. Never delete it while Windows Update is running.

What if I have another antivirus installed?

Windows Defender automatically disables itself when a third-party antivirus is active. If you want Defender back, uninstall the other antivirus completely and then restart. Use the vendor’s removal tool for a clean uninstall.

Does this error affect Windows 11 and Windows 10 the same way?

Yes, the steps are the same for both. The only difference is the settings path in Windows 11 (Settings > System > Troubleshoot) versus Windows 10 (Settings > Update & Security > Troubleshoot).

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

The whole Tech How-To bed →