Additional Microsoft Defender tools and services that provide security across various platforms and environments
A full scan can legitimately take a long time, especially on large disks or when scanning large archive files such as ZIP files. If it consistently stalls around 80% and the offline scan ends with a failure message, use this path:
- Free up disk space, especially on the system drive. Microsoft Defender Antivirus needs available disk space to remove and quarantine malware. Low space can prevent a scan from completing.
- Restart the PC, then run the scan before opening other apps. Scanning uses CPU and memory. Closing non-essential apps can reduce contention and help the scan finish.
- Check whether the device restarted or hit a power-related interruption during the scan.
In Event Viewer, review:
- System log for Event IDs 6005, 6006, 6007, 6008
- Kernel-Power events such as 107, 42, 507, 506, 105 These can explain scans that stop before completion.
- If the full scan was started by command line or as a scheduled scan, check for timeout behavior.
- Scheduled Full Scans or MpCmdRun full scans have a seven day limit.
- Scheduled Quick Scans or MpCmdRun quick scans have a one day limit.
- Scans started from the Windows Security app or the Microsoft Defender portal do not use
MpCmdRunand have no time limit.
- For the offline scan failure, verify the prerequisites.
Microsoft Defender Offline requires:
- Microsoft Defender Antivirus to be the primary antivirus and not in passive mode
- Current platform, engine, and security intelligence updates
- A signed-in user with local administrator privileges
- Windows Recovery Environment (WinRE) enabled
- Check WinRE status.
Run:
If WinRE is disabled, the offline scan does not run and no error message is displayed. Enable it with:reagentc /info
Risk: enabling WinRE changes recovery configuration. Use only in an elevated command prompt.reagentc /enable - Confirm whether the offline scan was actually scheduled.
In Event Viewer, go to Applications and Services Logs > Microsoft > Windows > Windows Defender > Operational and look for:
- Event ID 2030 on newer Windows 10/11 builds
- Event ID 5007 on older versions
- After the offline scan, review the result in: Start > Settings > Update & Security > Windows Security > Virus & threat protection > Scan options > Protection history
If the PC freezes or hangs during full scans, also make sure apps are updated and Defender definitions are current. If malware appears to keep returning, running Microsoft Defender Offline is the recommended method because it scans outside Windows.
References: