Skip to content
PCTestHub
Guide · Security

How to Scan for Viruses and Remove Malware with Windows Security

The four scans built into Windows, the offline scan for malware that keeps coming back, and what to do if the infection already caused damage.

In this guide

To check your PC for viruses with what Windows already includes, open Windows Security › Virus & threat protection and run a scan: Quick, Full, Custom, or the Microsoft Defender Antivirus offline scan, which restarts the PC and scans before Windows loads so persistent malware has a harder time hiding. If the same malware keeps coming back after every restart, Microsoft's advice is precisely that offline scan. Here are the options, in order, and what to do if the infection already caused damage.

1. The four scan types

In Windows Security › Virus & threat protection › Scan options:

ScanWhat it does, according to Microsoft
Quick scanFor when you do not want to spend the time on a full scan. If Windows Security recommends another type, it tells you when the quick scan finishes.
Full scanScans every file and program on the device.
Custom scanScans only the files and folders you choose.
Microsoft Defender Antivirus (offline scan)Restarts the PC and, in the Windows Recovery Environment, scans with the latest definitions before Windows loads. Useful if you think the PC was exposed to malware, or to scan without internet. Save your work first.
From Microsoft's "Virus and threat protection in the Windows Security app".

Results of the offline scan are in Windows Security › Protection history. Windows Security also scans automatically; these are extra scans you can run whenever you want.

2. Before scanning: update and check the settings

  • Update the definitions: Virus & threat protection › Virus & threat protection updates › Check for updates. Microsoft says they update automatically at least once a day by default.
  • Cloud protection: under Virus & threat protection settings › Manage settings, check that Cloud-delivered protection and Automatic sample submission are on. They are on by default, and Microsoft says they greatly increase the chances of detecting new malware.

3. If the scan is very slow or does not finish

  • Free up space: the antivirus needs disk space to remove and quarantine files, especially on the system drive. See how to free up disk space.
  • Full scans take long on large drives with many files, and archives such as ZIP files take longer.
  • Close other programs: Microsoft's tip is to restart and run the scan right away, before opening anything else.
  • If it keeps showing errors, run Windows Update to get the latest components.

4. If the malware keeps coming back

  • Microsoft explains that a hidden component can quietly reinstall the malware, which is typically reinstalled and detected again right after a restart. The fix is the offline scan, which works outside Windows.
  • It can also come back if you visit the site that hosts it or receive it again by email. Microsoft names sites with illegal downloads as an example to avoid, and recommends a modern browser with SmartScreen, such as Edge.
  • Fake game installers and "cracks" are a common source; see the warning in GTA 6 on PC for a recent example.

5. If the malware caused damage that cannot be undone

Microsoft suggests resetting the PC, which may require restoring data from a backup. Restore your files from backups made before the infection and kept outside the PC: Microsoft notes that backups stored on the infected PC may have been modified by the malware. See Windows recovery options and how to reinstall Windows, and afterwards update Windows and all your software.

Not every problem is a virus

A slow PC, pop-ups from an installed program or high disk usage often have other causes: see slow PC. Blue screens are usually drivers: blue screen error codes.

Sources

Pages checked on November 23, 2026.

Leer en español