Threat Eraser
Windows 10 & 11 Buy license · $59.95
Removing threats

How to remove a virus from Windows 11 and Windows 10

Remove a virus from Windows 11 step by step: full and offline scans, Safe Mode, startup checks and a final malware scan, without reinstalling Windows.

Updated 4 minute read The Threat Eraser team

To remove a virus from Windows 11, disconnect from the internet, run a full scan with Windows Security, then run a Microsoft Defender Offline scan to catch anything that hides while Windows is running. Quarantine or remove whatever is found, check your startup apps and browser, and finish with a full scan from a dedicated virus and malware remover such as Threat Eraser. The same steps work on Windows 10, with slightly different menu names.

Most infections can be cleaned this way without reinstalling Windows. Work through the steps in order and do not skip the checks at the end, because many infections bring "friends" with them.

Step 1: Stop the damage spreading

  • Disconnect from the internet. Turn off Wi-Fi from the taskbar or unplug the network cable. This stops malware sending your data out or downloading more components. You can reconnect briefly later to update definitions.
  • Do not log in to banking, email or shopping sites on the affected PC until it is clean. If something is stealing passwords, every new login is another one lost.
  • Unplug external drives and USB sticks so the infection cannot copy itself or encrypt them.

If files are suddenly being renamed or you see a ransom note, treat it as ransomware instead and follow what to do if you get ransomware.

Step 2: Update and run a full scan with Windows Security

  1. Open Settings > Privacy & security > Windows Security (Windows 10: Settings > Update & Security > Windows Security) and click Virus & threat protection.
  2. Under Virus & threat protection updates, click Protection updates > Check for updates. Reconnect to the internet for this if needed, then disconnect again.
  3. Click Scan options, choose Full scan and click Scan now. A full scan can take an hour or more on a large drive.
  4. When it finishes, review the results and choose Remove or Quarantine for each item. You can check what was done later under Protection history.

Step 3: Run a Microsoft Defender Offline scan

Some malware, particularly rootkits, can hide from a scanner while Windows is fully running. The offline scan restarts the PC into a minimal environment and scans before that malware can load.

  1. Save your work and close programs.
  2. In Virus & threat protection > Scan options, choose Microsoft Defender Offline scan and click Scan now.
  3. The PC restarts and the scan takes around 15 minutes. Results appear in Protection history after Windows starts again.

Step 4: Use Safe Mode if the virus fights back

If malware stops Windows Security opening, keeps reappearing or blocks you from installing tools, start in Safe Mode, where only essential drivers and services load.

  1. Open Settings > System > Recovery and click Restart now next to Advanced startup (Windows 10: Settings > Update & Security > Recovery).
  2. Choose Troubleshoot > Advanced options > Startup Settings > Restart.
  3. Press 4 for Safe Mode, or 5 for Safe Mode with Networking if you need to download definitions.

Run your scans again from Safe Mode, then restart normally.

Step 5: Remove what scanners miss

Scanners remove malicious files, but adware and unwanted programs often install themselves as ordinary-looking apps.

  • Installed apps: open Settings > Apps > Installed apps, sort by install date and uninstall anything you do not recognise that appeared around the time the problems began.
  • Startup apps: open Task Manager (Ctrl + Shift + Esc) and go to Startup apps (the Startup tab on Windows 10). Disable unfamiliar entries. Our guide to unknown programs running at startup explains how to judge them.
  • Browsers: remove extensions you did not add and reset the home page and search engine. If your searches are being redirected, see browser hijacker removal.

Step 6: Confirm the PC is clean

Finish with a thorough scan from a dedicated malware scanner with freshly updated definitions, such as a Threat Eraser Full Scan, to find anything left behind. If it comes back clean and the symptoms have stopped, you are in good shape. If the same threat keeps returning after every clean-up, or you cannot trust the machine, back up your documents and use Settings > System > Recovery > Reset this PC as a last resort.

Symptom after cleaningWhat it usually meansNext step
Everything back to normalInfection removedChange passwords, keep scanning regularly
Pop-ups or redirects remainAdware or browser extension left behindCheck apps, extensions and browser settings
Same detection keeps returningSomething is reinstalling itSafe Mode scan, check startup and scheduled tasks
Windows unstable or tools blockedDeep infection or system damageBack up files, then Reset this PC

Afterwards: secure your accounts

Once the PC is clean, change your important passwords from a clean device, starting with email, because email resets every other account. Turn on two-step verification where offered. The Flashpoint 2025 Global Threat Intelligence Report found infostealer malware infected 23 million devices in 2024, so assume any saved browser passwords may have been copied. Our checklist for what to do after removing malware covers the rest.

How Threat Eraser helps you remove a virus

Threat Eraser is a complete virus, malware and trojan scanner and removal tool. It checks files against virus signatures, malware detection rules, recent malware hashes reported by researchers and built-in signatures, all updated automatically every time it starts, which makes it the right tool for Step 6. Its Quick Scan covers the places malware usually hides, such as Downloads, Desktop, temporary folders, Startup folders and AppData, while a Full Scan checks every fixed drive, including inside ZIP archives. It also flags disguised file names like invoice.pdf.exe.

Threat Eraser moves detected files into quarantine, where they cannot run, and you can then erase them permanently or restore anything that turns out to be safe. Real-Time Watch scans new downloads automatically, Ransomware Early Warning alerts you to sudden mass file changes, and scheduled scans keep checking your PC, which helps stop the same problem coming back.

Find out more about Threat Eraser, the virus scanner and removal tool.

Frequently asked questions

What is the quickest way to remove a virus from Windows 11?

Disconnect from the internet, update your definitions, run a full scan, quarantine everything found, then check startup apps and browsers. A Threat Eraser Full Scan at the end confirms nothing was left behind.

How long does it take to remove a virus?

A quick clean-up can take under an hour, but a full scan of a large drive plus an offline scan can take several hours. Allow time for manual checks of startup apps and browsers too.

Do I need to reinstall Windows to get rid of a virus?

Usually not. A reset is only worth it if the infection keeps returning, Windows is damaged, or an attacker may have had remote control of the PC.

Get three guides like this every month, plus software update notices.Subscribe →