Defender Offline Scan: Catch Malware That Hides From Windows

When malware keeps coming back, restart into Microsoft Defender's offline scan and catch what a normal scan can't see.

FREE$34.95UpdateStar PremiumShare a link to claimYou cleaned it up. Twice. The browser keeps opening strange tabs anyway, the antivirus reports a threat that comes back after every restart, or something just feels off. Some malware is good at playing dead while Windows is running. It hooks into the system so deeply that a normal scan can't see it, or it quietly repairs itself the moment you remove it.

That's the moment for Microsoft Defender Offline. It restarts your PC into a stripped-down environment, scans before Windows loads, and gives stubborn malware no chance to hide or defend itself. It's built into Windows Security on Windows 10 and 11. No download, no USB stick, no extra cost.

When the offline scan makes sense

A quick scan is fine for daily checks. A full scan looks at every file and program on the drive. The offline scan is the heavy tool for specific situations: when Windows Security itself recommends it, when a threat keeps coming back, when you suspect a rootkit, or after you've cleaned an infection and want to be sure nothing survived. Microsoft built it for exactly that kind of persistent malware, including rootkits and threats that hide in the boot area of the disk.

It's not something to schedule every day. Think of it as the deep clean you run when the normal tools don't settle the question.

Step 1: Prepare before you click

The offline scan restarts your PC without much warning, so a little preparation saves trouble.

  1. Save your open files and close your programs. Anything unsaved is gone when the PC restarts.
  2. Make sure you're signed in with an administrator account. The scan asks for admin permission.
  3. If BitLocker or device encryption protects your system drive, suspend it first. Otherwise you may be asked for the BitLocker recovery key when the PC boots into the scan. In Control Panel, open BitLocker Drive Encryption and click Suspend protection for the system drive. Keep your recovery key at hand anyway.

One limitation: the offline scan doesn't run on Windows on ARM devices. On those PCs, stick with a full scan.

Step 2: Start the offline scan

  1. Open the Start menu, type Windows Security and open the app.
  2. Click Virus & threat protection.
  3. Under Current threats, click Scan options.

Windows Security on the Virus and threat protection page with the Scan options link highlighted

  1. Select Microsoft Defender Antivirus (offline scan).
  2. Click Scan now.
  3. A window titled Save your work appears. If everything is saved, click Scan.
  4. Confirm the User Account Control prompt with Yes.

Save your work prompt of the Microsoft Defender offline scan with the Scan button highlighted

Windows then tells you that you'll be signed out, and the PC shuts down in less than a minute.

Step 3: Let it run, and keep your hands off

After the restart, a blue screen titled "Microsoft Defender Antivirus (offline scan)" appears, followed by a window that shows the progress: start time, items scanned and percent complete. It runs in the Windows Recovery Environment, so it looks quite different from the usual Windows Security window. That's normal.

Microsoft Defender Antivirus offline scan in progress with the status lines highlighted

Microsoft puts the duration at about 15 minutes. On large drives, slow hard disks or heavily loaded systems it can take longer. Don't switch off the PC while the scan is running. When it's done, the PC restarts on its own and Windows loads normally.

Step 4: Check the results

  1. Open Windows Security again.
  2. Click Virus & threat protection > Protection history.

Here you see what Defender found and what it did about it, for example whether a threat was quarantined or removed. Click an entry for details such as the affected file. If the list is empty after the offline scan, that's good news: Defender found nothing.

If you suspended BitLocker in Step 1, open BitLocker Drive Encryption in Control Panel once more and check that protection is back on. If not, click Resume protection.

Fix it: the PC restarts, but no scan appears

This is the most common problem, and it has a clear cause. The offline scan needs the Windows Recovery Environment (WinRE). If WinRE is disabled, nothing happens at all: no error, no scan, just a normal restart.

  1. Right-click the Start button and open Terminal (Admin) or Windows PowerShell (Admin).
  2. Type reagentc /info and press Enter.
  3. If the status line says "Disabled", type reagentc /enable and press Enter.
  4. Start the offline scan again as shown in Step 2.

Two more checks help. Microsoft Defender Antivirus must be your active antivirus. If another security suite is installed, Defender switches itself off and its scan options are not available. And make sure Defender's security intelligence is current: in Windows Security, open Virus & threat protection and click Protection updates, then Check for updates.

Trick: start it from PowerShell

If you prefer the keyboard, open PowerShell as administrator and enter:

Start-MpWDOScan

The PC reboots into the offline scan right away. Save everything first, because there is no extra prompt in between.

What if the threat survives?

If the offline scan finds a threat that returns again afterwards, or Windows behaves strangely even though every scan comes back clean, back up your personal files to an external drive and think about resetting Windows. A clean reinstall is the only option that guarantees a fresh system. Change the passwords of your important accounts from a different, clean device.

Our verdict

The offline scan is for anyone who has the nagging feeling that a cleanup didn't fully work, and it takes about a quarter of an hour. Do one thing today: run reagentc /info once to make sure WinRE is enabled. Then the offline scan is ready the moment you need it.

Related on UpdateStar

about author