How to Repair Windows Defender in Windows 10
In this article
Yes, you can repair Windows Defender (now called Microsoft Defender Antivirus) in Windows 10 without reinstalling the operating system. This process restores the antivirus engine, resets corrupted settings, and re-registers essential system components, ensuring your PC remains protected against malware and threats.
What You'll Need
- A Windows 10 PC with administrator privileges
- Command Prompt opened as an Administrator
- Internet connection for potential updates or reinstalls
- Patience, as some steps may take a few minutes to complete
Step-by-Step
- Check for Basic Conflicts: Before running complex repairs, ensure no third-party antivirus software is active. If you have installed another security suite, Windows Defender often disables itself automatically. Open
Settings > Update & Security > Windows Security > Virus & threat management. If it says "Your device is protected by [Third Party Name]," uninstall that software first. Restart your computer after removal to see if Defender reactivates. - Restart Windows Security Services: Sometimes the service simply hangs. Press
Win + R, typeservices.msc, and press Enter. Scroll down to find Microsoft Defender Antivirus Service. Right-click it and select Restart. If it is not running, right-click and select Start. Also check Microsoft Defender Antivirus Monitor Service and ensure its status is "Running." If these services fail to start, note the error code for later troubleshooting. - Run System File Checker (SFC): Corrupted system files are a common cause of Defender failures. Open the Start menu, type
cmd, right-click Command Prompt, and select Run as administrator. Type the following command and press Enter:sfc /scannow. Wait for the scan to reach 100%. If it finds and repairs files, restart your PC and check if Defender works. - Run DISM Tool: If SFC could not fix the issue, the underlying Windows image might be damaged. In the same Administrator Command Prompt, type:
DISM /Online /Cleanup-Image /RestoreHealth. Press Enter and wait for the process to complete. This may take several minutes. Once finished, restart your computer. - Re-register Defender via PowerShell: This is the most effective method for resetting Defender's configuration. Right-click the Start button and select Windows PowerShell (Admin) or Terminal (Admin). Copy and paste the following command exactly, then press Enter:
Get-AppXPackage *WindowsDefender* | Remove-AppxPackage
Wait for the command to finish. Next, to reinstall it, type this command and press Enter:Get-AppXPackage -AllUsers *WindowsDefender* | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register $($_.InstallLocation)\AppXManifest.xml}
This forces Windows to reinstall the Defender app package from scratch. - Check Group Policy Settings: On some systems, policies may have disabled Defender. Press
Win + R, typegpedit.msc, and press Enter. Navigate to Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus. Look for the setting Turn off Microsoft Defender Antivirus. Ensure it is set to Not Configured or Disabled. If it is set to "Enabled," Defender will remain blocked. Apply changes and restart.
Common Mistakes
One frequent error is ignoring background antivirus programs. Users often try to repair Defender while McAfee, Norton, or Avast is still installed, leading to conflicts where Defender cannot activate. Always remove competing security software completely before attempting repairs. Another mistake is skipping the restart step. After modifying services or registry keys, a reboot is critical to apply changes. Failing to restart can leave the system in a half-configured state. Lastly, many users attempt to delete Defender entries manually from the Registry Editor. This is dangerous and can break Windows Update or other core functions. Avoid manual registry edits unless you are following a verified, specific guide for your exact Windows build.
Tips
Keep Windows 10 updated. Go to Settings > Update & Security > Windows Update and install all pending updates. Microsoft frequently patches bugs related to Defender's functionality.
Create a System Restore point before making significant changes. This allows you to revert if a repair step causes unexpected issues. Search for "Create a restore point" in the Start menu to do this.
Use the built-in "Scan with Microsoft Defender Offline" option. If Defender is partially functional but missing threats, this mode scans from a clean environment outside the main OS, catching persistent malware that hides during normal operation.
Troubleshooting
If the above steps do not work, consider these advanced measures:
Reset Windows 10: As a last resort, you can reset your PC. Go to Settings > Update & Security > Recovery > Reset this PC. Choose "Keep my files" to preserve personal data while reinstalling Windows apps and settings. This effectively refreshes Defender and other system components.
Check for Malware Interference: Some sophisticated malware disables Defender permanently. Use a second-opinion scanner like Malwarebytes (free version) to detect and remove infections that block security tools. Run a full scan after installation.
Verify BIOS/UEFI Settings: Rarely, Secure Boot settings in BIOS can interfere with driver loading. Ensure Secure Boot is enabled in your BIOS settings, as this is required for modern Windows security features to function correctly.
If none of these solutions work, there may be deep corruption in the Windows installation. Consider performing a clean install of Windows 10 using official media from Microsoft's website.
Frequently Asked Questions
Why does Windows Defender show "No Action Required" but won't scan?
This usually indicates a service conflict or corrupted component. Follow the PowerShell re-registration steps to force a refresh of the Defender app package.
Can I disable Windows Defender temporarily?
Yes, but only through Windows Security settings. Go to Virus & threat management > Manage settings and toggle off "Real-time protection." It will re-enable automatically after a short period or upon restart.
Does repairing Defender delete my files?
No. The SFC, DISM, and PowerShell commands only repair system files and application manifests. Your personal documents, photos, and applications remain untouched.
Why is my Microsoft Defender Antivirus service stopped?
It may be stopped due to a third-party antivirus being active, a group policy restriction, or a corrupted service file. Check for other security software first, then use the Services manager to restart it.
Is it safe to use the DISM tool?
Yes, DISM is a built-in Windows utility designed to repair the system image safely. It requires an internet connection to download replacement files if needed.