Run a Virus Scan on Windows: Which Scan to Use, and What to Do If It Fails
Open Windows Security, Virus and threat protection, Quick scan. If malware keeps coming back, Microsoft says to run a Microsoft Defender Offline scan. Includes what to do if a scan will not finish. Based on Microsoft Support.
Autobaselli · 3 min read
Short answer: open Windows Security, choose Virus & threat protection, then Quick scan. If threats keep coming back after you remove them, Microsoft says to run a Microsoft Defender Offline scan. Nothing extra needs installing. Microsoft's pages used here show no publish date, and menu names differ between Windows 10 and 11, so treat the paths below as a guide to the right area.
What you can do in Windows Security.
Which scan do you need?
You just feel something is off. Run a Quick scan.
One file or folder worries you. Scan just that item.
The scan will not finish, or errors appear. See "If the scan does not finish".
The same malware keeps coming back. Run Microsoft Defender Offline.
Damage cannot be undone. Microsoft says you can try to reset the PC, which might mean restoring data from backup.
Signs that make a scan worth running
Microsoft lists a device that is suddenly much slower, a big drop in battery life, an unexpected rise in data use, unexpected ads or pop-ups, and being redirected to other sites. Microsoft says these may indicate an unknown process using your resources. They are clues, not proof.
Run a quick scan
Open Windows Security (search for it in Start).
Select Virus & threat protection.
Select Quick scan.
For a deeper scan, select Scan options instead and choose the type. Microsoft calls Microsoft Defender Offline the most complete scan. If a quick scan finds nothing but you are still worried, Microsoft says you may want to check more thoroughly.
Scan one file or folder
Right-click it in File Explorer and select Scan with Microsoft Defender. On Windows 11 you may need Show more options first.
If the scan does not finish
Free disk space. Microsoft says Defender needs space to remove and quarantine malware, especially on the system drive. See free up space on a Windows PC.
Full scans can take a long time on a large disk, and large archives such as ZIP files take longer.
Close other programs. Microsoft suggests restarting the PC and running the scan right away, before opening other apps.
If errors repeat, run Windows Update. If definition updates fail, install the latest protection updates manually.
If it did not detect something you suspect
Microsoft says to make sure Defender is fully updated before scanning, and that cloud-delivered protection and automatic sample submission are on by default. Turn them back on if you disabled them. To check for updates: Windows Security, Virus & threat protection, then Check for updates under protection updates. You can send a suspicious file to Microsoft for analysis.
If the malware comes back
Microsoft says it can return if you visit the site hosting it or receive it by email again, and sometimes a hidden component reinstalls it right after a restart. For that, run Microsoft Defender Offline. It works outside Windows, so it can catch infections that hide while Windows runs. Save your work first, because the PC restarts. Path: Windows Security, Virus & threat protection, Scan options, Microsoft Defender Offline scan, Scan now.
Real-time protection
Under Virus & threat protection, Manage settings, you can turn real-time protection off. Microsoft says files you open or download are not scanned while it is off, and it turns back on automatically soon after. Only turn it off briefly, for a reason you understand.
After cleanup
Microsoft says restoring from backups made before the infection is best, because backups stored on the PC during an infection may already have been altered. Update software after a restore. See why updates matter and Windows Backup to OneDrive.