Windows Defender Custom Scan Stuck: Fix Guide
In this article
A Windows Defender custom scan stuck on "Scanning" or frozen progress usually indicates a conflict with third-party antivirus software, corrupted system files, or a temporary service hang. The most effective immediate fix is to restart the Windows Defender Antivirus Service and ensure no other security suite is blocking its access.
What You'll Need
- A Windows PC with administrative privileges.
- Access to Task Manager (Ctrl + Shift + Esc).
- Access to Services management console (services.msc).
- Patience, as some scans may take time if the system is under heavy load before you intervene.
Step-by-Step
- Check for Conflicting Software: Open your installed antivirus settings. If you have third-party security software (like Norton, McAfee, or Avast) active, it often disables real-time protection in Windows Defender to prevent conflicts. Temporarily pause or disable the third-party antivirus, then try the custom scan again. Remember to re-enable it afterward.
- Restart the Windows Defender Service: Press Win + R, type
services.msc, and press Enter. Scroll down to find Windows Defender Antivirus Service. Right-click it and select Restart. If the option is grayed out, double-click the service, change the Startup type to Automatic, click Apply, and then click Stop followed by Start. - Force Quit the Frozen Process: Open Task Manager (Ctrl + Shift + Esc). Go to the Details tab. Look for
MsMpEng.exe(Microsoft Malware Protection Engine). Right-click it and select End Task. This forces the scanner to close completely. Wait ten seconds, then reopen Windows Security and start a new custom scan. - Run System File Checker: Corrupted system files can cause scanning hangs. Open Command Prompt as Administrator. Type
sfc /scannowand press Enter. Allow the process to complete. If it finds and repairs files, restart your computer and try the scan again. - Clear Defender Cache: Navigate to
C:\ProgramData\Microsoft\Microsoft AntiMalware\Scans. Delete the contents of this folder (you may need admin rights). This clears potentially corrupted signature cache files that might be causing the freeze.
Common Mistakes
Users often ignore running background processes that lock file access. Another common error is restarting the computer immediately without ending the specific MsMpEng.exe process first, which can leave the service in a zombie state. Additionally, failing to check for conflicting third-party antivirus software is the leading cause of persistent scan issues.
Tips
If you frequently run custom scans on large directories, consider excluding specific folders from real-time scanning in Windows Defender settings to reduce resource contention. Ensure your Windows updates are current, as Microsoft regularly patches engine bugs that cause freezing. Always keep your third-party antivirus definitions up to date to minimize interference with Defender’s operations.
Troubleshooting
If the scan still does not go to plan after following the steps above, perform these additional checks:
Check Disk Health: A failing hard drive can cause the scanner to hang when reading bad sectors. Run chkdsk /f in an elevated Command Prompt.
Disable Fast Startup: Sometimes the hybrid shutdown state causes services to fail initialization. Go to Control Panel > Power Options > Choose what the power buttons do > Change settings that are currently unavailable > Uncheck Turn on fast startup.
Reset Windows Defender: In PowerShell (Admin), run Get-MpComputerStatus to check health. If components are missing, you may need to reinstall the Windows Defender package via the Microsoft Store or system reset options.
Frequently Asked Questions
Why does my custom scan say "Scanning" but never finish?
This typically happens when the antivirus service is blocked by another program or has encountered a corrupted file index. Restarting the service or ending the MsMpEng.exe task usually resolves it.
Can I skip files during a stuck Windows Defender scan?
No. Once a scan starts, you cannot selectively skip files within the interface. You must end the task via Task Manager and restart the scan, potentially using exclusions for problematic folders.
Does Windows Defender scan while I am using the PC?
Yes, but it prioritizes system responsiveness. However, a custom scan runs at full priority, which can significantly slow down your computer and cause freezes if hardware resources are limited.
Is it safe to delete the Microsoft AntiMalware Scans folder?
Yes. This folder stores temporary scan data and signatures. Deleting its contents forces Windows Defender to rebuild the cache, which can fix corruption-related freezes.
Will disabling real-time protection affect my custom scan?
Disabling real-time protection allows you to run a custom scan without interference from other background tasks, but it leaves your system vulnerable during the scan duration. Re-enable it immediately after.