Run a Microsoft Defender Offline Scan

Reboot into Defender's offline environment to hunt rootkits and stubborn malware before Windows loads.

WindowsantivirusdefendersecurityLow risk
Run Start-MpWDOScan in an admin PowerShell — the PC restarts and scans before Windows starts.

01Command

Command
$ Start-MpWDOScan

02What it does

Modern malware can hide from an in-Windows scan by running as a driver or hooking the OS itself. The offline scan runs from a clean pre-boot environment, so it can catch threats that normal scans miss. The scan runs automatically after the restart and results appear in Windows Security when you log back in.

03Risk

RiskLow risk
RequirementsRun PowerShell as administrator. The PC restarts into the offline scan environment — save your work first.
!Warning: The scan takes 10–15 minutes and blocks the PC during it — save all work before running the command.

04Undo

✓No undo needed — this command does not change persistent state.

05Sources

  • Start-MpWDOScan
    Microsoft Learn · vendor-doc · 2026-09-17
    Evidence: Documents Start-MpWDOScan as the cmdlet that starts a Microsoft Defender offline scan and restarts the computer.

Last verified: 2026-09-18 · Category: Security & Privacy

06Related solutions