sodcalculator

10 Tech How-To

Fix Microsoft Defender Not Working in Windows 10

Guide 10-22461 · Updated · Step by step

If Microsoft Defender is not working in Windows 10, the most common fix is to restart the service and repair the app via Windows Security settings. This article walks through the exact steps, common causes, and what to do when the built-in antivirus won’t start, update, or scan properly.

Why Microsoft Defender Stops Working

Microsoft Defender (officially called Microsoft Defender Antivirus) is the default antivirus built into Windows 10. It normally runs quietly in the background, but several things can break it:

  • Another antivirus took over – Windows automatically disables Defender when a third-party antivirus is installed. If that antivirus is uninstalled incorrectly, Defender may not re-enable itself.
  • Corrupted service state – The Windows Defender service or its dependencies may be stuck or disabled.
  • Group Policy or registry changes – Some “debloat” scripts or privacy tweaks disable Defender permanently.
  • Corrupted system files – A damaged Windows component can prevent Defender from loading.
  • Outdated platform updates – Defender relies on regular engine and platform updates from Windows Update; missing updates can cause failures.

Understanding the cause helps you choose the right fix. The steps below cover the most common scenarios.

Step 1: Check If Another Antivirus Is Interfering

Windows 10 intentionally turns off Microsoft Defender when it detects another real-time antivirus product. If you recently uninstalled one, Defender should turn back on automatically, but it sometimes doesn’t.

  1. Open Windows Security (search for “Windows Security” in the Start menu).
  2. Click Virus & threat protection.
  3. Look for a banner that says “No active antivirus” or “Manage antivirus providers.”
  4. If you see a third-party product listed, open its settings and uninstall it completely using the vendor’s removal tool if available.
  5. Restart your PC and check if Defender becomes active.

If you still see another antivirus listed, use the official uninstaller from the vendor’s website. Many antivirus programs leave behind drivers and services that keep Defender disabled.

Step 2: Restart the Windows Defender Service

If no other antivirus is present, the Defender service may simply be stopped or set to “Disabled.”

  1. Press Win + R, type services.msc, and press Enter.
  2. Scroll down to Windows Defender Antivirus Service.
  3. Right-click it and select Start (if it’s not running).
  4. Right-click again, select Properties, and set the Startup type to Automatic.
  5. Also check the Security Center service and make sure it’s running and set to Automatic.
  6. Restart your PC.

If the service won’t start, you may need to repair the service registry entry (see Step 4).

Step 3: Repair and Reset Windows Security

Windows 10 allows you to reset the Windows Security app without affecting your files. This often fixes a broken interface or a stuck “off” state.

  1. Open Settings > Apps > Apps & features.
  2. Search for Windows Security.
  3. Click it, then click Advanced options.
  4. Click Repair first. If that doesn’t help, click Reset (this will not delete your data, but it will reset the app’s settings).
  5. Restart your PC.

If the reset button is grayed out, you can use PowerShell to re-register the app, but the built-in repair option works for most users.

Step 4: Run SFC and DISM to Fix System Files

Corrupted Windows system files can prevent Defender from loading. The built-in System File Checker (SFC) and Deployment Imaging Service and Management Tool (DISM) can repair them.

  1. Open Command Prompt as administrator (right-click Start, choose “Command Prompt (Admin)” or “Windows PowerShell (Admin)”).
  2. Run sfc /scannow and wait for it to finish.
  3. If SFC finds errors, run DISM /Online /Cleanup-Image /RestoreHealth.
  4. Restart your PC and run SFC again if the first pass didn’t fix everything.

This process can take 10–30 minutes. It does not remove your files, but it may require a restart afterward.

Step 5: Reset Group Policy or Registry Settings

If you or a script ever disabled Defender via Group Policy or the registry, you need to undo that. This is common after running “privacy” or “debloat” tools.

Group Policy (Windows 10 Pro/Enterprise):

  1. Press Win + R, type gpedit.msc, and press Enter.
  2. Go to Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus.
  3. Double-click Turn off Microsoft Defender Antivirus.
  4. Set it to Not Configured and click OK.

Registry (all editions):

  1. Press Win + R, type regedit, and press Enter.
  2. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender.
  3. Look for a value named DisableAntiSpyware. If it exists, set it to 0 or delete it.
  4. Restart your PC.

Be careful when editing the registry – always back it up first. If you’re not comfortable, skip this step and try the next one.

Step 6: Update Windows and Defender Manually

Sometimes Defender fails because its platform or engine is outdated. Windows Update usually handles this, but you can force it.

  1. Open Settings > Update & Security > Windows Update and click Check for updates.
  2. Install all pending updates, including optional updates.
  3. After restarting, open Windows Security > Virus & threat protection > Protection updates.
  4. Click Check for updates to manually download the latest Defender engine and definitions.

If updates fail, check your date and time settings – an incorrect clock can break certificate validation and block updates.

Frequently Asked Questions

Why does Windows Security say “No active antivirus” even though Defender is installed?

This usually means the Defender service is disabled or another antivirus is registered as the primary provider. Follow Step 1 to remove any third-party antivirus, then restart the service as in Step 2. If the message persists, run the SFC/DISM repair from Step 4.

Can I reinstall Microsoft Defender?

You cannot uninstall Defender in Windows 10, but you can reset the Windows Security app (Step 3). If the app is completely broken, you can re-register it using PowerShell with the command Get-AppxPackage Microsoft.SecHealthUI | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"} – run it as administrator.

Is it safe to use a third-party antivirus instead of fixing Defender?

Yes, but you should uninstall the third-party antivirus properly when you’re done, or it will keep Defender disabled. If you don’t want to troubleshoot, a reputable third-party antivirus is a valid alternative. Just make sure it’s up to date and from a known vendor.

Why does Defender keep turning off after every restart?

This often points to a Group Policy or registry setting that forces it off. Check Step 5 and remove any policy that disables Defender. It can also happen if another antivirus is set to start at boot – even if you uninstalled it, a leftover service can still trigger the switch.

Does resetting Windows Security delete my files or settings?

No. The Reset option in the Windows Security app resets the app’s own settings (like exclusions and notifications) but does not affect your personal files or other system settings. Your antivirus exclusions will be cleared, so you may need to re-add them.

What if Defender still doesn’t work after all these steps?

If you’ve tried all the above and Defender still won’t start, consider a Windows 10 repair install using the Media Creation Tool – it reinstalls Windows while keeping your files and apps. Alternatively, you can use a trusted third-party antivirus. If you suspect malware is blocking Defender, boot into Safe Mode and run a scan with a portable scanner from another PC.

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 →