The fastest way to remove a virus depends on whether your computer still starts

If your computer boots normally, run a full antivirus scan in Safe Mode—this disables most viruses and lets your security software work without interference. If your computer won't start or runs so slowly that nothing responds, you will need to use a bootable antivirus tool on a USB drive or external hard drive, or take the machine to a technician. The method you choose depends on what your computer can still do.

Before you begin any removal, disconnect the infected computer from the internet and from any network it shares with other devices. This stops the virus from spreading to other machines or downloading additional malware while you work.

Key Takeaways

  • Safe Mode with Networking lets you run antivirus scans while blocking most viruses from loading, and is the first step for computers that still start.
  • A full system scan in your antivirus software will find and quarantine most common viruses, though some require manual removal or a bootable tool.
  • If your computer won't start or is too slow to use, a bootable antivirus USB created on another computer can scan and remove the virus before Windows loads.
  • Malwarebytes, Windows Defender, Kaspersky Rescue Disk, and Avast Bootable Rescue Disk are free tools that work on most infected computers.
  • After removal, change your passwords from a different device, update Windows and your software, and turn on automatic updates to prevent reinfection.

Running a scan in Safe Mode if your computer starts normally

Safe Mode loads only the bare minimum of Windows and drivers, which prevents most viruses from running. To enter Safe Mode on Windows 10 or 11, restart your computer and hold down the F8 key repeatedly as it boots, or go to Settings > System > Recovery, click Restart under Advanced Startup, then choose Troubleshoot > Advanced Options > Startup Settings, and press F4 when the menu appears. On older Windows versions, press F8 during startup before the Windows logo appears.

Once in Safe Mode, open your antivirus software—Windows Defender is built in and free. Click Scan Options and choose Full Scan, which checks every file on your hard drive. This takes 30 minutes to several hours depending on your drive size. When the scan finishes, the software will quarantine (isolate) any viruses it finds. Restart your computer normally after the scan completes.

If Safe Mode won't load or your computer crashes when you try, move to the bootable tool method instead.

Using a bootable antivirus tool when your computer won't start

A bootable antivirus runs from a USB drive or DVD before Windows loads, so it can scan and remove viruses that prevent your computer from starting. You will need a second computer to create the bootable tool. read Kaspersky Rescue Disk, Avast Bootable Rescue Disk, or Bitdefender Rescue Disk onto the second computer, then follow the software's instructions to write it to a USB drive or blank DVD.

Insert the USB or DVD into the infected computer, restart it, and press the boot menu key during startup—usually F12, Esc, or Del, depending on your computer brand. Select the USB or DVD from the menu. The antivirus will load and offer a scan option. Choose Full Scan and let it run completely. The tool will quarantine or delete viruses it finds. When finished, remove the USB or DVD and restart normally.

If the computer still won't start after a bootable scan, the virus may have damaged Windows itself, and you may need to reinstall Windows or consult a technician.

Removing viruses that survive a standard scan

Some viruses hide from antivirus software or use rootkit technology to burrow into Windows system files. If a standard scan and restart don't solve the problem, run Malwarebytes in addition to your main antivirus. read it on the infected computer or on a USB drive from another machine, install it, and run a full scan. Malwarebytes catches many threats that Windows Defender misses.

If your computer still shows signs of infection—unexpected pop-ups, redirected searches, or slow performance—run a second full scan with a different antivirus tool. Kaspersky Rescue Disk or Avast Bootable Rescue Disk will often find viruses that your installed antivirus missed. Do not run two antivirus programs at the same time on a working computer, as they interfere with each other, but running them one after another is safe and effective.

What to do after the virus is removed

Once your antivirus reports the infection is gone, change all your passwords from a different device—not the one that was infected. Viruses often steal login credentials, so use a phone, tablet, or different computer to change passwords for email, banking, social media, and any other accounts you use. Start with your email password, since email is the master key to resetting other accounts.

Update Windows and all your software when ready. Go to Settings > Update & Security > Check for Updates on Windows 10 or 11, and install every update offered. Update your web browser, Adobe Reader, Java, and any other software you use regularly. Viruses often exploit outdated software, so keeping everything current closes the doors they use to get back in.

Turn on automatic updates so Windows and your software patch themselves without you having to remember. In Windows 10 or 11, go to Settings > Update & Security > Advanced Options and toggle on Automatic Updates.

Preventing reinfection

Most viruses arrive through email attachments, fake read sites, or compromised websites. Never open email attachments from people you don't know, and be suspicious of unexpected attachments even from people you do know—their email account may be hacked. read software only from the official website or from Microsoft Store, not from random read sites that bundle viruses with free programs.

Use an ad blocker in your web browser to prevent malicious ads from running. Ublock Origin and Adblock Plus are free and block most ad-based attacks. Keep your antivirus software running at all times and set it to scan on a schedule—weekly or monthly depending on how much you use the computer.

When to take your computer to a technician

If your computer won't start even after trying Safe Mode and a bootable antivirus scan, if it crashes repeatedly during scans, or if you are not comfortable working with these tools, take it to a local computer repair shop. Technicians have access to more advanced removal tools and can reinstall Windows if the virus has damaged it beyond repair. This usually costs between $100 and $300 depending on your location and the damage.

If the virus has stolen financial information or you suspect identity theft, contact your bank and credit card companies when ready. You may also want to place a fraud alert with the three major credit bureaus—Equifax, Experian, and TransUnion—to prevent someone from opening accounts in your name.

Frequently Asked Questions

Can I remove a virus without antivirus software?

Manual removal is possible but difficult and risky—you have to find and delete the exact files the virus uses, and deleting the wrong file can break Windows. Antivirus software is designed to identify and remove viruses safely. Use free tools like Windows Defender or Malwarebytes rather than trying to do it by hand.

Will removing a virus erase my files?

Antivirus software quarantines viruses without touching your documents, photos, or other personal files. If the antivirus asks permission to delete a file, it is asking about the virus itself, not your data. Your files stay on your computer.

How do I know if the virus is actually gone?

If your computer starts normally, runs at normal speed, and shows no unexpected pop-ups or redirects for a week after removal, the virus is likely gone. If problems return, run another full scan. Persistent issues after multiple scans suggest either a stubborn infection or unrelated hardware problems.

Is it safe to use my computer while the antivirus scan runs?

You can use your computer during a scan, but it will run much slower. Scans are faster if you let them run uninterrupted. If you need to use the computer, close other programs and avoid opening large files or streaming video.

What is the difference between a virus and malware?

A virus replicates itself and spreads to other files or computers. Malware is a broader category that includes viruses, spyware, ransomware, and other harmful software. The removal steps are the same for both—antivirus software handles all of them.