sodcalculator

10 Tech How-To

Fix Windows Defender Offline Scan Not Working

Guide 10-50928 · Updated · Step by step

Windows Defender Offline Scan is a powerful tool that runs outside of Windows to detect and remove stubborn malware that can hide from the normal scan. When it fails to start, gets stuck, or doesn’t complete, it leaves your system vulnerable. This guide walks you through the most effective fixes, from simple restarts to command-line repairs, so you can get the offline scan running again.

What You’ll Need

  • Administrator access to the Windows PC
  • An internet connection (for downloading updates or the Microsoft Defender Offline media)
  • A USB flash drive (at least 1 GB) if you need to create bootable media
  • Patience – some steps involve a full system restart

Step-by-Step

  1. Restart and try again. Sometimes the offline scan simply fails to launch due to a temporary glitch. Restart your PC, then go to Windows Security > Virus & threat protection > Scan options > select Microsoft Defender Offline scan > click Scan now. Your PC will restart and begin the scan.
  2. Run Windows Update. An outdated Defender engine can cause the offline scan to fail. Go to Settings > Windows Update > Check for updates. Install all pending updates, especially security and Defender definition updates, then restart and attempt the offline scan again.
  3. Update Microsoft Defender definitions manually. If Windows Update doesn’t help, download the latest definitions from the Microsoft Security Intelligence page. Look for the Microsoft Defender Antivirus section and download the Security intelligence updates for your version (x64 or x86). Run the downloaded file, then try the offline scan again.
  4. Use PowerShell to reset Defender components. Open PowerShell as Administrator (right-click Start > Windows PowerShell (Admin)). Run the following commands one by one, pressing Enter after each:
    Set-MpPreference -DisableRealtimeMonitoring $false
    Update-MpSignature
    Start-MpWDOScan

    The last command will trigger the offline scan. If it returns an error, note the error code and continue to the next step.

  5. Repair system files with SFC and DISM. Corrupted system files can prevent the offline scan from starting. Open Command Prompt as Administrator (right-click Start > Command Prompt (Admin)) and run:
    sfc /scannow

    Wait for it to finish, then run:

    DISM /Online /Cleanup-Image /RestoreHealth

    Restart your PC and try the offline scan again.

  6. Create Microsoft Defender Offline bootable media. If the built-in scan still won’t start, create a bootable USB drive. On another working PC, go to Windows Security > Device security > Security processor details (or search for “Windows Security”), then click Virus & threat protection > Scan options > Microsoft Defender Offline scan > Scan now. When the dialog appears, choose Create a bootable USB drive and follow the prompts. Insert the USB into the affected PC, boot from it (you may need to change the boot order in BIOS/UEFI), and the offline scan will run.
  7. Perform a clean boot. Conflicting third-party software can interfere. Type msconfig in the Start menu, go to the Services tab, check Hide all Microsoft services, then click Disable all. In the Startup tab, click Open Task Manager and disable all startup items. Restart and try the offline scan. Afterward, re-enable the services and startup items.
  8. Reset Windows Security app. Go to Settings > Apps > Installed apps, find Windows Security, click the three dots, and choose Advanced options. Then click Reset. This reinstalls the app without affecting your files. Restart and try again.

Common Mistakes

  • Skipping the restart. The offline scan requires a full restart; it doesn’t run in the background. If you don’t restart, the scan won’t start.
  • Not having enough battery. If you’re on a laptop, ensure it’s plugged in. The scan can take an hour or more, and a power loss mid-scan can corrupt the process.
  • Ignoring error codes. If you see an error like 0x800704ec or 0x80070002, look them up or note them for troubleshooting – they often point to specific causes.
  • Using a USB drive that isn’t empty. When creating bootable media, the tool will format the drive, so back up any data on it first.

Tips

  • Run the scan regularly. Even if it works now, schedule a monthly offline scan to catch deeply embedded threats.
  • Keep your system updated. Regularly install Windows updates and Defender definition updates to prevent issues.
  • Use Safe Mode as an alternative. If offline scan fails, boot into Safe Mode (Shift + Restart > Troubleshoot > Advanced options > Startup Settings > Restart > press 4) and run a full scan – it often works even when the offline scan doesn’t.
  • Check third-party antivirus. If you have another antivirus installed, temporarily disable it or uninstall it, as it can conflict with Defender.

Troubleshooting

If the scan gets stuck at a black screen or “Preparing” for more than 30 minutes: Force a restart by holding the power button. After booting, check if the scan actually completed (look in Windows Security > Protection history). If not, try the USB media method.

If you receive error 0x800704ec: This usually means the Defender service is disabled. Open Services (services.msc), find Windows Defender Antivirus Service, set Startup type to Automatic, and start it. Then retry the scan.

If the scan starts but never finishes: It could be a hardware issue or a very deep infection. Try running the scan in Safe Mode, or use the bootable USB. If it still fails, consider using a third-party rescue disk.

If the offline scan option is grayed out: This often happens when a third-party antivirus is active. Uninstall it, restart, and try again. Also ensure Windows Security isn’t disabled via Group Policy (gpedit.msc) – check Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus and ensure “Turn off Microsoft Defender Antivirus” is set to Not Configured.

Frequently Asked Questions

Will the offline scan delete my personal files?

No, the offline scan only removes malicious software. It won’t delete your documents, photos, or other personal files, though it may quarantine infected files.

How long does the offline scan take?

It depends on your system and storage. Typically it takes 15 minutes to over an hour. If it exceeds 2 hours, it might be stuck.

Can I use my computer during the scan?

No, the scan runs outside of Windows, so you cannot use your computer until it finishes and restarts.

What if I don’t have another PC to create the USB media?

You can still try the built-in scan after repairing system files. If that fails, you might need to borrow a friend’s PC or visit a repair shop.

Is Microsoft Defender Offline Scan the same as a normal full scan?

No, it’s more thorough because it runs outside of Windows, making it harder for malware to hide or interfere.

After the scan, how do I know if it found anything?

Once Windows restarts, open Windows Security > Protection history. You’ll see a list of threats detected and actions taken.

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 →