Home › Technology & Phones/Computers › How to Remove Malware From a Windows PC (Step by Step)

How to Remove Malware From a Windows PC (Step by Step)

Difficulty: Medium | Time: 1–3 hours, mostly waiting on scans | Cost: Free with built-in tools

Your PC is suddenly slow, pop-ups are screaming that you're infected, your browser opens pages you never asked for, or programs you don't recognize are running. That's malware — viruses and junk software that snuck in through a bad download, a fake update, or a sketchy email link. Most infections can be cleaned up at home, for free, with tools already on your computer. Work through these steps in order.

One warning before anything else: if a pop-up or website says your computer is infected and gives you a phone number to call — do not call it, and do not pay anything. That's a scam, explained in the safety notes below. Real Windows warnings never ask you to call a number or pay for help.

A Windows desktop showing a generic security scan window with a progress bar, no personal information visible
A Windows desktop showing a generic security scan window with a progress bar, no personal information visible

What you'll need

Shopping-list links will go here — affiliate links once those accounts exist.

Steps

  1. Recognize what you're dealing with. Signs of infection: pop-ups that won't close, a browser homepage you didn't set, new toolbars or programs you don't remember installing, the PC crawling for no reason, friends saying you sent them weird links, or security software that's been disabled. One sign alone isn't proof, but two or three together almost always mean malware.
  2. Back up your important files first, if the PC still lets you. Copy your documents, photos, and anything irreplaceable to a USB drive, external drive, or cloud storage. If a full reset becomes necessary later, this backup is the difference between an annoying afternoon and losing everything. Back up personal files only — not programs, which could carry the infection.
  3. Disconnect from the internet. This stops the malware from sending your data out or downloading more of itself. If you're on Wi-Fi: click the Wi-Fi icon in the bottom-right corner of the screen and turn Wi-Fi off, or turn on Airplane mode. If you're on a cable: unplug the ethernet cable from the PC. Leave it disconnected until a later step says otherwise.
A hand unplugging an ethernet cable from the back of a desktop computer on a home office desk
A hand unplugging an ethernet cable from the back of a desktop computer on a home office desk
  1. Restart into Safe Mode. Safe Mode loads only the bare minimum, which stops most malware from launching and defending itself. Click Start, then Power. Hold the Shift key and click Restart. On the blue screen, click Troubleshoot → Advanced options → Startup Settings → Restart. When the list appears, press 5 for "Safe Mode with Networking" — you'll need the internet briefly in step 6 to download a scanner.
  2. Run a full scan with Windows Security. Press the Windows key, type Windows Security, and open it. Click Virus & threat protection, then Scan options, select Full scan, and click Scan now. This can take 30 minutes to over an hour — let it finish. Choose Remove or Quarantine for everything it flags. If it offers a "Microsoft Defender Offline scan" on that screen, run that afterward too — it scans before Windows fully loads, which catches stubborn infections.
The Windows Security Virus & threat protection screen with scan options open
The Windows Security Virus & threat protection screen with scan options open
  1. Run a second scan with a different, reputable scanner. No single tool catches everything. Reconnect to the internet for this step only. Download Malwarebytes Free — the standard recommendation — only from its official site, malwarebytes.com, typed in yourself. Never download security tools from pop-ups or ads. Install it, run a full scan, and quarantine everything it finds.
  2. Uninstall programs you don't recognize. Go to Settings → Apps → Installed apps, sort by install date, and look at what appeared around when the problems started. Uninstall anything you didn't install on purpose — fake "PC optimizers" and mystery toolbars are common culprits. If something won't uninstall, try again after the scans finish.
  3. Restart normally and check that the problem is gone. Restart the regular way (no Shift key) and reconnect to the internet. Is your homepage normal? Are the pop-ups gone? Use the machine for 15 minutes. If symptoms remain, repeat steps 4–6 once — some infections need two passes. Still infected after that? The reliable fix is a full Windows reset (Settings → System → Recovery → Reset PC), which is why the step 2 backup matters.
  4. Change your important passwords — from a clean device. Malware often steals passwords, so cleaning the PC isn't enough. On your phone or another clean computer, change your email password first (email controls resets for everything else), then your bank, then other important accounts. Turn on two-factor authentication wherever offered.
A person changing an account password on a smartphone while a PC sits closed nearby
A person changing an account password on a smartphone while a PC sits closed nearby
  1. Update everything. Go to Settings → Windows Update and install everything offered, and update your browser too. Most malware gets in through old, unpatched software — closing those holes keeps it from coming back.

Common mistakes

  • Calling the phone number on a warning pop-up. This is the single most expensive mistake. The "technician" who answers is a scammer who will charge you hundreds of dollars and may install more malware. Close the tab instead — if it won't close, hold the power button to shut the PC down and restart it.
  • Scanning in normal mode only. Running malware can hide from scanners. Safe Mode is what exposes it.
  • Stopping after one scan. Windows Security and a second scanner catch different things. Running only one and declaring victory is how infections "come back" — they never actually left.
  • Changing passwords on the infected PC. If a keylogger is still on the machine, you've just handed the scammer your brand-new passwords. Change them from your phone or a clean computer.
  • Downloading "removal tools" from random sites. Half the "free virus removers" in ads are malware themselves. Windows Security plus one scanner from its official site is all you need.

Safety notes

  • Never pay a "support" pop-up, ever. Legitimate companies — Microsoft included — never display a phone number in a virus warning or demand payment to "unlock" your computer. A screen demanding money or a phone call is the scam itself.
  • Never call numbers on warning screens, and never let a stranger remote-control your PC. If you already did, contact your bank immediately about any charges, and treat every password as compromised.
  • Don't enter passwords or banking details on the PC while it's infected. Assume anything typed on it could be recorded until the cleanup is finished and verified.
  • Back up before you clean, if you can. Aggressive cleanup and resets can delete files.
  • Prevention beats cleanup. Keep Windows and your browser updated, download software only from official sites, don't open unexpected email attachments, and leave Windows Security turned on.

← Back to all guides