Finding out your computer has malware is a horrible moment. Whether it's a ransom note, a browser full of adverts you didn't put there, or your antivirus firing warnings — the instinct is to panic and start clicking things. Don't. The actions you take in the first few minutes make a big difference to how this plays out.

Here's exactly what to do, step by step.

Step 1: Disconnect from the Internet Immediately

Before anything else, take the machine offline. Disable Wi-Fi, unplug the Ethernet cable, or turn on Airplane Mode. This does two things:

Many modern malware strains are modular — they phone home to get more components or to receive commands. Cutting the connection limits the damage.

Step 2: Don't Pay Any Ransom

If you're dealing with ransomware, you'll likely see a demand for payment in cryptocurrency in exchange for your files. Do not pay. Here's why:

Note down or photograph the ransom note — it often identifies the specific ransomware strain, which can help with recovery.

Step 3: Boot into Safe Mode

Safe Mode starts Windows with the minimum necessary drivers and services, preventing most malware from loading at startup. This makes it much easier to detect and remove threats.

To boot into Safe Mode on Windows 10/11:

Use Safe Mode with Networking only if you need internet access to download tools — otherwise plain Safe Mode is safer.

Step 4: Run a Full Malware Scan

With the machine in Safe Mode, run a thorough scan with two tools — it's worth using both as they catch different things:

  1. Windows Security (Defender) — built in to Windows 10/11. Open it and run a Full Scan.
  2. Malwarebytes Free — download it from a clean device, copy it over via USB, and install it. Run a Threat Scan.

Let both scans complete fully. Quarantine and remove everything they flag. Then restart and run both scans again to confirm the system is clean.

If the malware is preventing scans from running: this is a sign of a more serious infection (rootkit, bootkit). At this point, professional help is the right call — trying to fight it yourself risks making the situation worse.

Step 5: Check Your Startup Programs and Scheduled Tasks

Some malware installs persistence mechanisms — scripts that re-download and reinstall the infection after you remove it. After scanning, check:

Step 6: Change Your Passwords — From a Different Device

Assume any password you've typed on the infected machine could have been captured by a keylogger. Priority changes from a clean phone or another PC:

Enable two-factor authentication (2FA) on your email and banking accounts if you haven't already — it significantly raises the bar for attackers even if passwords are compromised.

Step 7: Consider a Clean Windows Reinstall

If the infection was serious — ransomware, rootkits, persistent trojans — the safest option is a clean reinstall of Windows. It sounds drastic but it's the only way to be genuinely certain the system is clean.

Before you do:

A fresh install takes about an hour and leaves you with a completely clean system.

How to Prevent Reinfection

Once you're clean, take these steps to make reinfection much less likely:

Infected and Not Sure What to Do?

We remove malware and viruses regularly — often without needing to reinstall Windows. Remote support available, same-day response.

Get Help Now