The fastest way to remove a virus depends on whether your computer still starts
If your computer starts normally, run a full scan with your existing antivirus software — Windows Defender (built into Windows) or a third-party program like Malwarebytes, Norton, or Kaspersky. A full scan takes one to four hours but catches most viruses. If the computer won't start, or if a scan finds nothing but the problem persists, you may need to boot from a USB drive with antivirus tools, or take the machine to a repair shop for offline scanning.
The steps differ based on what you can actually do with your machine right now. Start with the easiest option: a scan while the system is running. If that doesn't work, move to booting from external media. If you're not comfortable with either, a technician can do both in about an hour.
Key Takeaways
- Windows Defender (free, built-in) or Malwarebytes can scan and remove most viruses without you paying anything or installing new software.
- A full scan takes one to four hours and should run overnight or while you're away from the computer.
- If your computer won't start, or if a scan finds nothing but problems continue, you need to boot from a USB drive with antivirus tools or get offline help.
- Viruses often disable antivirus software, so if Windows Defender won't turn on, restart in Safe Mode with Networking before scanning.
- After removal, change passwords for email and banking accounts from a different device, because the virus may have recorded them.
Running a full scan with Windows Defender or Malwarebytes
Windows Defender is already on your computer if you use Windows 10 or 11. Open it by typing "Windows Defender" in the search box, then click "Virus & threat protection." Select "Scan options," choose "Full scan," and click "Scan now." The scan will run in the background — you can use your computer, but it will be slower. Plan for one to four hours depending on how much is on your drive.
If Windows Defender won't open or keeps turning itself off, a virus is likely blocking it. Restart your computer in Safe Mode with Networking: restart, then hold F8 or Shift while it boots (the timing varies by Windows version). Once in Safe Mode, try Windows Defender again. If it still won't work, download Malwarebytes on a different computer, put it on a USB drive, and run it from the USB on the infected machine.
Malwarebytes is free to download and use for a single scan. Go to malwarebytes.com on a clean computer, download the installer, and either run it directly on the infected machine or copy it to a USB drive. The scan works the same way as Windows Defender — select "Full Scan" and wait. Malwarebytes often catches things Windows Defender misses because it uses different detection methods.
What to do if the computer won't start or keeps crashing
If your computer won't boot into Windows at all, or if it crashes during a scan, you need to scan from outside the operating system. This means booting from a USB drive with antivirus tools already on it. The most common tool is Kaspersky Rescue Disk, which is free and designed for exactly this situation.
On a working computer, go to kaspersky.com, search for "Rescue Disk," and download the ISO file. Use a tool like Rufus (rufus.ie) to write the ISO to a USB drive — Rufus is free and walks you through the steps. Then plug the USB into the infected computer, restart it, and press F12, F2, or Delete during startup to enter the boot menu. Select the USB drive, and Kaspersky will boot and scan your entire drive without loading Windows.
This process takes longer — two to six hours — because the computer is reading the entire drive from scratch. But it works even if Windows is completely broken or the virus has locked you out of your own account.
Removing the virus after the scan finds it
When a scan finds a virus, the software will ask what to do. Choose "Remove" or "Quarantine" — both get the virus off your computer. Quarantine moves the file to a locked folder where it can't run; Remove deletes it. Either way, the virus is gone. Some scans find dozens of threats; let the software remove all of them.
After removal, restart your computer. Then open your antivirus software again and run another full scan to make sure nothing was missed. A second scan often finds files the first one couldn't access because they were in use.
Changing passwords after a virus is removed
Viruses often record keystrokes or steal stored passwords before you remove them. After the scan is complete, change your passwords for email, banking, and any other sensitive accounts — but do it from a different device (phone, tablet, or another computer) until you're sure the virus is gone.
Start with email, because email is the key to resetting everything else. Then change banking passwords, social media, and any work accounts. If you use a password manager like Bitwarden or 1Password, change that password first, then update the others through the manager. Check your email recovery options and phone number while you're in there — if a virus changed them, change them back.
When to take the computer to a repair shop
If the computer won't start, you're not comfortable making a bootable USB drive, or multiple scans find nothing but the problems continue, a repair technician can help. They have tools and experience to handle stubborn infections, and they can also check for hardware problems that might look like a virus (bad hard drive, failing RAM). Most shops charge $50 to $150 for a virus scan and removal.
Before you go, back up any files you need — ask the shop whether they'll preserve your files, because some technicians do a clean Windows reinstall, which erases everything. If the data matters, mention it upfront.
Preventing viruses in the future
Keep Windows and all software updated — updates patch the holes viruses use to get in. Turn on automatic updates in Settings > Update & Security > Windows Update. Don't open email attachments from people you don't know, and don't click links in unexpected messages, even if they look like they're from your bank or a friend.
Use strong, unique passwords for each account, and consider a password manager so you don't have to remember them. Windows Defender is enough for most people — you don't need to pay for antivirus software unless you want extra features. Back up important files to an external drive or cloud storage (OneDrive, Google Drive, Dropbox) so that if something goes wrong, you don't lose them.
Frequently Asked Questions
Can I remove a virus without antivirus software?
Not reliably. Some viruses can be found and deleted manually if you know exactly what file to look for, but most hide themselves or have multiple copies. Antivirus software is designed to find hidden files and remove them all at once. Windows Defender is free and built in, so there's no reason not to use it.
Will removing a virus erase my files?
No. Antivirus software removes the virus file but leaves your documents, photos, and other data alone. A clean Windows reinstall (which a technician might do if nothing else works) will erase everything, but that's a last resort and the shop should ask your permission first.
How do I know if the virus is actually gone?
Run a second full scan a few days after the first one. If it finds nothing, the virus is gone. If problems continue after two clean scans, the issue might not be a virus — it could be a failing hard drive, bad RAM, or corrupted Windows files. A technician can test for those.
Is it safe to use my computer while a scan is running?
Yes, but it will be slow. The scan uses a lot of processing power, so other programs will lag. It's better to start a scan before bed or before you leave for work and let it finish uninterrupted.
What if I see a pop-up saying my computer has a virus?
Close it immediately — don't click anything in the pop-up. These are usually scareware designed to trick you into downloading something worse. Close your browser, run a real scan with Windows Defender or Malwarebytes, and ignore the pop-up. If the pop-up keeps coming back, the scan will remove whatever is causing it.