Microsoft Defender Offline is a powerful offline scanning tool that runs from a trusted environment, without starting your operating system.

When should I use Microsoft Defender Offline?

Run Microsoft Defender Offline if:

  • Windows Security (also called Windows Defender Security Center in previous versions of Windows) detects rootkits or other highly persistent malware on your PC and recommends you use Microsoft Defender Offline. 

  • You suspect your PC might have malware hiding on it, but your security software doesn’t detect anything. 

How do I use Microsoft Defender Offline

  1. Save any open files and close all apps and programs.

  2. Select Start , and then select Settings  > Update & Security  > Windows Security  > Virus & threat protection .

  3. On the Virus & threat protection screen, do one of the following:

    • In an up-to-date version of Windows 10 or Windows 11: Under Current threats, select Scan options.

    • In older versions of Windows 10: Under Threat history, select Run a new advanced scan.

  4. Select Microsoft Defender Offline scan, and then select Scan now.

The Scan options dialog showing Microsoft Defender Offline scan selected.

You'll be prompted that you're about to be signed out of Windows. After you are, your PC should restart. Microsoft Defender Offline will load and perform a quick scan of your PC in the recovery environment. When the scan has finished (usually takes about 15 minutes), your PC will automatically restart.

Notes: 

  • You typically need administrator rights on the PC on which you plan to run Microsoft Defender Offline.

  • If you experience a Stop error on a blue screen when you run the offline scan, restart your device and try running a Microsoft Defender Offline scan again. If the blue-screen error happens again, contact Microsoft Support.

Where can I find scan results?

To see the Microsoft Defender Offline scan results:

  1. Select Start , and then select Settings  > Update & Security  > Windows Security  > Virus & threat protection .

  2. On the Virus & threat protection screen in Windows 10, under Current threats, select Scan options, and then select Protection history (In previous versions of Windows it may say Threat history).

Note: On older versions of Windows, Microsoft Defender Offline is still called by its old name: Windows Defender Offline

If you're running Windows Defender Offline on Windows 7 or Windows 8.1, follow these four basic steps:

  1. Download Windows Defender Offline and install it to a CD, DVD, or USB flash drive.

    To get started, find a blank CD, DVD, or USB flash drive with at least 250 MB of free space, and then run the tool. You'll be guided through the steps to create the removable media.Windows Defender Offline removable media options

    Note: We recommend that you download Windows Defender Offline and create the CD, DVD, or USB flash drive on a PC that isn't infected with malware—the malware can interfere with the media creation.

    Download the 32-bit version

    Download the 64-bit version

    If you're not sure which version to download, see Is my PC running the 32-bit or 64-bit version of Windows?

  2. Restart your PC using the Windows Defender Offline media. This means having the CD, DVD, or flash drive you created in step 1 inserted in the PC when you restart it. Follow the prompts to boot from the drive containing this media.

  3. Scan your PC for viruses and other malware.

  4. Remove any malware that's found from your PC.

Learn more

How malware can infect your PC

Microsoft security help and learning

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Find solutions to common problems or get help from a support agent.