Windows 11 guides
  • Windows 11
  • Windows 10

How to Scan for and Remove Viruses on Windows 11 and 10

Source-checked About 15 minutes, longer for a full scan3 official sources

Quick answer

Open Windows Security, select Virus & threat protection and click Quick scan. For a deeper check, select Scan options, choose Full scan and click Scan now. If malware keeps coming back, choose Microsoft Defender Antivirus (offline scan) in Scan options: the PC restarts and scans before Windows loads. Check the results in Protection history.

Open Virus & threat protection

Open Start, type Windows Security and open it, then select Virus & threat protection.

Windows Security Virus & threat protection page with Quick scan, Scan options and Protection history
Windows Security Virus & threat protection page with Quick scan, Scan options and Protection history

Update the virus definitions

Under Virus & threat protection updates, select Protection updates, then Check for updates, so the scan knows the newest threats.

Run a Quick scan

Back on Virus & threat protection, select Quick scan. It checks the places malware usually hides and takes a few minutes.

Run a Full scan

Select Scan options, choose Full scan and select Scan now. It checks every file and program, so it can take an hour or more; you can keep using the PC.

Scan a single file or USB drive

In File Explorer, right-click the file, folder or drive and select Scan with Microsoft Defender. On Windows 11 you may need to select Show more options first.

Use the offline scan for stubborn malware

Save your work, then select Scan optionsMicrosoft Defender Antivirus (offline scan)Scan now. The PC restarts, scans before Windows loads and restarts again.

Review Protection history

Select Protection history to see what was found and whether it was quarantined or removed. It worked when a new Quick scan reports no current threats.

Change passwords if data may be stolen

If the threat could have captured passwords, change your important passwords from another, clean device and turn on two-step verification.

Video walkthrough

If it still does not work

  • If a program you trust stopped working after a scan, check Protection history before restoring anything. Never select Allow on device for a file you are not sure about.
  • If you allowed a threat by mistake, open Virus & threat protectionAllowed threats, select it and choose Don't allow.
  • If Windows Security shows another antivirus in charge, run the scan in that program instead; Windows Security steps back when another antivirus is active.
  • If the same threat returns after the offline scan, disconnect the PC from the internet and contact Microsoft Support or a trusted repair shop.

Sources and verification

Checked against official documentation on . Scope: Windows 11, Windows 10. Menus can change after app and system updates. If a label looks different, follow the linked official page.