sodcalculator

10 Tech How-To

Microsoft Defender Crashing: Fixes That Work

Guide 10-31732 · Updated · Step by step

If Microsoft Defender is crashing, closing, or showing an error on your Windows PC, the fix usually involves repairing the app, checking for corrupted system files, or resetting its settings. Below are the most effective solutions, from quick restarts to deeper system repairs, so you can restore your antivirus protection.

Why Microsoft Defender Crashes

Microsoft Defender (formerly Windows Defender) is built into Windows 10 and 11, but it can fail for several reasons. Common culprits include:

  • Corrupted system files – A damaged Windows component can prevent Defender from launching.
  • Third-party antivirus conflicts – Other security software can interfere, even if it’s not actively running.
  • Outdated Windows updates – Missing patches can leave Defender vulnerable to bugs.
  • Tampering by malware – Some malicious programs specifically disable Defender to avoid detection.
  • Faulty settings or registry entries – Incorrect configurations can cause the app to crash on startup.

Identifying the exact cause helps you choose the right fix. Start with the simplest solutions and work your way to more advanced ones.

Quick Fixes to Try First

Before diving into complex repairs, try these basic steps. They resolve many crashes without needing advanced tools.

  1. Restart your PC – A clean reboot clears temporary glitches that may be affecting Defender.
  2. Run Windows Update – Go to Settings > Windows Update and install all pending updates. Microsoft regularly patches Defender bugs.
  3. Check if another antivirus is installed – Open Settings > Apps > Installed apps. If you see a third-party antivirus (like Norton, McAfee, or Avast), uninstall it completely, then restart. Windows will re-enable Defender automatically.
  4. Use the Windows Security app – Open the Start menu, type Windows Security, and launch it. If the app opens, click Virus & threat protection and run a quick scan. Sometimes the crash only affects a specific tab.

If these don’t work, move on to the repair methods below.

Repair and Reset Microsoft Defender

Windows includes built-in repair tools for its apps. Resetting Defender can fix corrupted settings without affecting your files.

  1. Open Settings > Apps > Installed apps.
  2. Search for Windows Security.
  3. Click the three-dot menu (or the app row) and select Advanced options.
  4. Click Repair first. If that doesn’t help, click Reset.

Resetting will restore default settings and clear any corrupted data. You may need to re-enable some features afterward, but your personal files remain untouched.

Run System File Checker and DISM

If the app itself is fine but Windows system files are damaged, Defender may crash. Use the built-in System File Checker (SFC) and Deployment Imaging Service and Management Tool (DISM) to repair them.

  1. Right-click the Start button and select Terminal (Admin) or Command Prompt (Admin).
  2. Run sfc /scannow and wait for it to finish. It will replace corrupted system files.
  3. If SFC finds issues, run DISM /Online /Cleanup-Image /RestoreHealth.
  4. Restart your PC after the commands complete.

These tools are safe and won’t delete your files. If SFC reports that it couldn’t fix everything, DISM often resolves the underlying problem.

Check for Malware That Disables Defender

Some malware specifically targets Defender to avoid detection. If Defender crashes immediately after startup or won’t open at all, a malicious program might be responsible.

  • Run a scan with Windows Defender Offline – This boots a clean environment before Windows loads, catching persistent threats.
  • Use the Microsoft Safety Scanner – A standalone tool that doesn’t require Defender to be running.
  • Check Startup apps – Open Task Manager > Startup and disable suspicious entries.

If you suspect malware, disconnect from the internet, run the offline scan, and then re-connect. After cleaning, Defender should start normally.

Update or Reinstall Defender Manually

If automatic updates aren’t working, you can manually download the latest Defender definitions from Microsoft’s official website. This ensures your antivirus has the newest virus signatures, which can fix crashes caused by outdated databases.

For a more thorough fix, you can re-register the Windows Security app using PowerShell:

  1. Open PowerShell as Administrator.
  2. Run the command: Get-AppxPackage Microsoft.Windows.SecHealthUI | Reset-AppxPackage
  3. Restart your PC.

This reinstalls the app without losing your security settings.

Frequently Asked Questions

Why does Microsoft Defender keep closing on startup?

This often happens due to corrupted system files or a conflicting third-party antivirus. Try the repair/reset method first, then run SFC. If the issue persists, check for malware that might be disabling it.

Will resetting Defender remove my virus definitions?

No, resetting the app restores default settings but doesn’t delete the virus definitions. After a reset, Defender will automatically download the latest definitions from Windows Update.

Can I use another antivirus if Defender crashes?

Yes, you can install a third-party antivirus. However, Windows will automatically disable Defender when it detects another active antivirus. If you later uninstall the third-party app, Defender will re-enable itself.

Is it safe to disable Defender temporarily?

Temporarily disabling real-time protection is safe for a short period, but it leaves your PC vulnerable. Only do this if you’re installing software that conflicts with Defender, and re-enable it immediately afterward.

Does Defender crash affect Windows performance?

Not directly, but a crashing antivirus means your PC is unprotected, which could lead to malware infections that slow down your system. Fixing the crash promptly is important for both security and performance.

What if none of these fixes work?

If Defender still crashes after all steps, you may need to perform a Windows repair installation using the Media Creation Tool. This reinstalls Windows while keeping your files and apps. Always back up important data before doing this.

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 →