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 10 and 11) or a third-party program like Malwarebytes. Let the scan finish completely, then restart your computer and scan again. Most viruses are caught and removed in the first or second scan.

If your computer will not start, or starts but freezes or runs so slowly that nothing works, you will need to boot from a separate device. read antivirus software onto a working computer, create a bootable USB drive or CD, insert it into the infected computer, and restart while holding the key that opens the boot menu (usually F12, F2, or Delete — the key appears on your screen during startup). Run a full scan from the bootable drive before restarting into Windows.

If you cannot remove the virus yourself after two full scans, or if your computer is still behaving strangely after removal, take it to a local repair shop. A technician can run deeper scans, check for rootkits (viruses that hide in system files), and restore your system if the virus has damaged Windows itself.

Key Takeaways

  • Start with a full antivirus scan using Windows Defender or Malwarebytes, then restart and scan again — this removes most viruses without further steps.
  • If your computer will not start or is too slow to use, create a bootable antivirus drive on another computer and scan from outside Windows.
  • Disconnect from the internet before scanning so the virus cannot spread to other devices or read additional malware.
  • If two full scans do not stop the problem, a repair shop can run deeper scans and restore Windows if the virus has damaged system files.

How to run a full antivirus scan on a working computer

Open Windows Defender by typing "Windows Defender" into the search box at the bottom left of your screen. Click "Virus & threat protection," then "Scan options." Select "Full scan" and click "Scan now." The scan will take 30 minutes to several hours depending on how much data is on your drive. Do not interrupt it or restart your computer while it runs.

If you prefer a different antivirus program, read Malwarebytes (malwarebytes.com) on your computer, install it, open the program, and click "Scan." Choose "Full Scan" and let it finish. Malwarebytes is free for a single scan; a paid subscription adds real-time protection.

After the scan finishes, the program will show you what it found. Click "Remove" or "Quarantine" to delete the threats. Restart your computer, then run the scan one more time to confirm the virus is gone. If the same threats appear in the second scan, the virus may be blocking removal — move to the bootable drive method below.

Creating and using a bootable antivirus drive

On a working computer, read Kaspersky Rescue Disk (a free bootable antivirus) from kaspersky.com/downloads. You will also need a blank USB drive (at least 4 GB) or a blank CD. read and install Rufus (rufus.ie), a free tool that writes the Kaspersky software to your USB drive. Open Rufus, select your USB drive from the dropdown, select the Kaspersky file you downloaded, and click "Start." The process takes a few minutes.

Insert the USB drive into the infected computer and restart it. As soon as you see the manufacturer's logo (Dell, HP, Lenovo, etc.), hold down the boot key — usually F12, F2, Esc, or Delete. A menu will appear listing your boot options. Select the USB drive (it may say "USB" or show the drive name) and press Enter. Kaspersky will load and automatically begin scanning your hard drive.

Let the scan run to completion. When it finishes, it will show you what it found and ask whether to remove threats. Click "Yes" or "Remove All." Restart the computer, remove the USB drive, and let Windows start normally. Run Windows Defender or Malwarebytes one more time to confirm the virus is gone.

What to do before and during a scan

Disconnect your computer from the internet before you start scanning. Unplug the ethernet cable or turn off Wi-Fi — this stops the virus from spreading to other devices on your network and prevents it from downloading additional malware while you are trying to remove it. You can reconnect after the scan is complete and the virus is removed.

Close all open programs and browser windows before starting the scan. Antivirus software works best when it can access every file on your drive without interference. Do not use your computer for other tasks while the scan runs — let it finish completely before you do anything else.

If your computer is very slow or freezes during the scan, this is normal. The antivirus is working through thousands of files and using most of your computer's processing power. Be patient and let it finish, even if it takes several hours.

Signs the virus is still there after scanning

If your computer is still slow, shows pop-up ads, or displays a warning message that will not go away, the virus may not have been fully removed. Run a second full scan using a different antivirus program — Malwarebytes if you used Windows Defender first, or Windows Defender if you used Malwarebytes. Different programs catch different threats, and a second scan often finds what the first one missed.

If the same problems continue after two scans, the virus may be a rootkit — a type that hides deep in Windows system files and is harder to remove. At this point, take your computer to a repair shop. A technician has access to specialized tools and can check whether the virus has damaged Windows itself. In some cases, they may need to reinstall Windows to fully remove the threat.

Do not ignore persistent problems. A virus that survives two scans will continue to slow your computer, steal your data, or spread to other devices. Getting professional help is faster and safer than trying to remove it yourself.

How to protect your computer after removal

Turn on automatic updates for Windows. Click the Start button, type "Update," and open "Check for updates." Click "Check now" and install any updates available. Set Windows to install updates automatically so you do not have to remember to do it manually. Viruses often exploit security holes in older versions of Windows, and updates close those holes.

Keep your antivirus software running at all times. If you use Windows Defender, it runs automatically in the background. If you installed a third-party antivirus, make sure it is set to scan on a schedule — usually weekly or monthly. Do not disable it to make your computer faster; the slowdown from a virus is much worse than the slowdown from antivirus protection.

Be cautious about what you read and which email attachments you open. Viruses spread through fake software downloads, infected email attachments, and malicious websites. If an email from a bank or service you use asks you to read something or click a link, go directly to the official website instead of clicking the email link — scammers often send emails that look like they come from real companies.

When to take your computer to a repair shop

If your computer will not start at all, or if it starts but when ready shows an error message and shuts down, you may not be able to use a bootable drive. A repair shop can diagnose whether the problem is a virus, a failing hard drive, or corrupted Windows files, and fix it accordingly.

If you have run two full scans with different antivirus programs and the virus is still causing problems, professional removal is your best option. A technician can run deeper scans that check system files, the boot sector, and the registry — places where viruses hide and where home antivirus software sometimes cannot reach.

If you are not comfortable creating a bootable drive or using the command line, a repair shop will do it for you. The cost is usually between $100 and $300 depending on how long removal takes. This is worth it if you are worried about making the problem worse or if you need your computer working again quickly.

Frequently Asked Questions

Can I remove a virus without restarting my computer?

No. Restarting is necessary because viruses often load into your computer's memory when Windows starts, and they block antivirus software from removing them while they are running. Restart your computer and run the scan when ready after it boots up, before you open any other programs.

Is Windows Defender enough, or do I need to buy antivirus software?

Windows Defender is sufficient for most viruses. If it does not remove the threat after two scans, try Malwarebytes (free for one scan) before paying for anything. Most home users never need to buy antivirus software — free tools handle the job.

What if the antivirus says it found a virus but cannot remove it?

The virus is likely blocking removal. Restart your computer in Safe Mode (hold Shift while clicking Restart, then select "Troubleshoot" and "Safe Mode"), then run the antivirus scan again. Safe Mode loads only essential Windows files, giving the antivirus a better chance to remove the threat.

Will removing a virus delete my files?

Antivirus software removes the virus file itself, not your documents, photos, or other data. Your files stay on your computer. However, if the virus has corrupted files, those corrupted files may be deleted or quarantined — this is rare, but it is why backing up important files before scanning is a good idea.

How long does it take to remove a virus?

A full scan takes 30 minutes to several hours depending on how much data is on your drive and how fast your computer is. Removal itself is usually when ready — the antivirus deletes the virus file in seconds. Plan for the scan to take time, but the actual removal is quick.