Independent guides. Not affiliated with Microsoft. We never ask you to call, pay, or let anyone connect to your PC.

How we work
Fixpath

FixSecurity and scams

Remove malware with Windows Security

Applies to
Windows 11 and Windows 10
Difficulty
Moderate
Time
About 120 min
Risk
Can remove data
Reviewed

Quick answer

Open Windows Security, update its protection, then run a Quick scan followed by a Full scan. If something keeps coming back, run the Microsoft Defender Offline scan, which checks your PC before Windows starts.

Windows 11 and Windows 10 come with Windows Security, which includes Microsoft Defender Antivirus. It's free, already installed and kept up to date by Windows Update, so you don't need to download anything to clean your PC. Work through the scans in order: each one is more thorough than the last.

Fix 1Update Windows Security's protection

A scan can only recognize threats it knows about. Microsoft publishes new security intelligence (the descriptions of known threats) several times a day, and fetching the latest before scanning gives the best chance of catching something new.

  1. Search Start for Windows Security and open it.
  2. Select Virus & threat protection.
  3. Under Virus & threat protection updates, select Protection updates, then Check for updates.

Fixed? You can stop here. Still happening: go to Fix 2

Fix 2Run a quick scan

A quick scan checks the places malware most often hides, such as startup locations and system folders. It takes a few minutes and catches most common threats.

  1. In Virus & threat protection, select Quick scan.
  2. Keep using the PC if you like. When the scan finishes, read the result under Current threats.
  3. If it lists anything, select Start actions to remove or quarantine it, then restart the PC if asked.

A good result is No current threats. If the quick scan suggests a deeper scan, carry on to the next fix.

Fixed? You can stop here. Still happening: go to Fix 3

Fix 3Run a full scan

A full scan checks every file and program on your drives, including ones a quick scan skips. It's slower but much more thorough.

  1. In Virus & threat protection, select Scan options.
  2. Choose Full scan, then select the button under the list of scan types to start it.
  3. Leave it running. It can take an hour or more on a large drive, and you can keep working meanwhile.
  4. Deal with anything it lists using Start actions, then restart.

To see what any scan found and what was done about it, select Protection history in Virus & threat protection.

Fixed? You can stop here. Still happening: go to Fix 4

Fix 4Run the Microsoft Defender Offline scan

Some malware hides itself while Windows is running, or puts itself back after each removal. The offline scan restarts the PC and scans before Windows loads, so that kind of malware has nowhere to hide. Microsoft recommends it when the same threat keeps returning.

  1. Save your work and close your apps, because the PC restarts.
  2. In Virus & threat protection, select Scan options.
  3. Choose Microsoft Defender Antivirus (offline scan). On Windows 10 and some Windows 11 versions it's called Microsoft Defender Offline scan.
  4. Select the button under the list to start it, confirm, and select Yes if Windows asks for permission.
  5. The PC restarts and shows a scan screen. It usually takes around 15 minutes, then Windows starts normally.

Afterwards, open Windows Security and check Protection history to see the results.

Fixed? You can stop here. Still happening: go to Fix 5

Fix 5Remove unwanted apps and turn on unwanted-app blocking

A lot of what people call a virus is really unwanted software: toolbars, "PC cleaners" and ad-filled apps bundled with free downloads. They often aren't malware in the strict sense, so you may need to uninstall them yourself. Windows Security can then block that kind of app in future.

  1. Open Settings then Apps then Installed apps (on Windows 10, Settings then Apps then Apps & features).
  2. Sort the list by install date and look at anything installed around when the problems started.
  3. Uninstall apps you don't recognize or didn't mean to install. Leave anything from your PC maker, Microsoft, Intel, AMD, NVIDIA or Realtek, which are usually drivers and system tools.
  4. In Windows Security, select App & browser control > Reputation-based protection settings.
  5. Turn on Potentially unwanted app blocking, and make sure Block apps and Block downloads are both ticked.

If your browser's homepage or search engine has been changed, also follow browser homepage or search engine changed by itself to remove extensions.

Fixed? You can stop here. Still happening: go to Fix 6

Fix 6If it keeps coming back, reset Windows

When malware survives every scan, or has damaged Windows so it doesn't work properly, reinstalling Windows is the most reliable way to get a clean system. Microsoft suggests this when a threat has made changes that can't be undone.

  1. Back up your personal files.
  2. Follow Reset this PC. Remove everything is the most thorough choice after a serious infection.
  3. After the reset, run Windows Update, then scan your backup with Windows Security before you open the files.

Fixed? You can stop here. Still happening: what to do next

After the cleanup

Malware sometimes captures passwords, so change the important ones (email, bank, Microsoft account) and turn on two-step verification where you can. Keep Windows Update on, and our Windows Health Check shows how to confirm your protection is switched on.

If none of these worked

Stop here rather than trying riskier changes. These are the right places to go next:

Never call a phone number shown in a pop-up, or let someone you don't know connect to your PC. Microsoft doesn't put phone numbers in error messages. How to spot a tech-support scam

Sources and review

Checked against Microsoft's own documentation:

Last reviewed . Spotted a step that doesn't match your screen? Tell us and we'll check it.