You can get rid of most malware yourself in about 60 to 90 minutes using two free scanners — Microsoft Defender's Offline Scan and Malwarebytes Free — run in that order. The condition that makes this work: you catch it before the infection reaches your browser extensions, router settings, or firmware, because those three hideouts survive ordinary antivirus removal. If your machine is locked by ransomware or you're locked out of your own account, stop at Step 1 and use another device instead.

Stage One: Confirm It's Actually Malware Before You Delete Anything

Rule out the impostors first, because three of the most common "infection" symptoms are not infections. A sudden flood of pop-ups from your browser's notification area is almost always a permission you granted a website, not a virus — Chrome, Edge, and Firefox all let you revoke it under Settings, Site Settings, Notifications. A slow PC with a fully pegged disk is often Windows Update or a failing hard drive. A browser homepage that "changed itself" is usually a hijacked extension you installed.

Look for the signals that do indicate malware: a process you didn't start eating CPU in Task Manager, a Windows Security warning that Defender has been disabled and you didn't disable it, a new admin-level user account you never created, or files with double extensions like invoice.pdf.exe. According to Microsoft's own malware-detection guidance, legitimate security software never asks you to call a phone number, and any pop-up doing so is a tech-support scam regardless of how official it looks.

Write down what you observe — file names, the exact pop-up text, the time symptoms started — before you touch anything. That record tells you which folders to inspect later, and it's what a repair shop will ask for. It also stops you from deleting a work application and calling it malware.

If the machine still boots and you can reach the desktop, continue. If Windows won't start, boot into Safe Mode with Networking by holding Shift while clicking Restart, then choosing Troubleshoot, Advanced Options, Startup Settings.

Stage Two: Disconnect From the Network, Then Run Defender's Offline Scan

Pull the Ethernet cable and turn off Wi-Fi before you scan anything. Modern malware — infostealers especially — uploads your saved browser passwords within minutes of infection, and every extra minute online is another minute of exfiltration. Disconnecting also stops a remote operator from re-installing what you delete.

The first tool to run is Microsoft Defender Offline Scan, which is built into Windows 10 and 11 at no cost. It restarts the PC into a minimal environment before Windows loads, which is the only way to catch fileless malware and rootkits that hide from a running operating system. Open Windows Security, go to Virus & threat protection, click Scan options, select Microsoft Defender Offline scan, and click Scan now. The machine reboots and typically takes 15 to 30 minutes depending on drive size.

Run the full scan under the same menu afterward — a Full scan of a 500 GB drive with roughly 300,000 files commonly takes 45 to 90 minutes on a mechanical disk and considerably less on an SSD. Defender's real-time protection should already be on by default; if a piece of malware turned it off, re-enable it before you proceed, because a disabled Defender is itself a finding worth noting.

If Defender finds threats, let it quarantine rather than delete — quarantine is reversible if a detection turns out to be a false positive on a legitimate tool. Reboot and rescan. If the same threat reappears after a reboot, you're dealing with something that has a persistence mechanism, and Stage Three is where you hunt it.

Stage Three: Run a Second-Opinion Scanner Built on Different Signatures

No single antivirus catches everything, because each vendor's detection engine and signature database differ. Malwarebytes Free is the standard second opinion and costs nothing for manual scanning — its paid Premium tier adds real-time blocking, which you don't need for a one-time cleanup. Download it on a clean device if your browser is compromised, transfer it by USB, and install.

Run a Threat Scan first (fast, checks the folders malware usually occupies), then a Custom Scan pointed at your user profile, ProgramData, and Temp folders. Expect the scan to take 10 to 20 minutes. A 2024 test by the independent lab AV-TEST found that no single product detected 100% of zero-day samples across its Windows home-user evaluations — the practical takeaway is that a second engine materially raises your catch rate, not that any one brand is perfect. Confirm current detection figures on AV-TEST's site, since scores shift with each test cycle.

Watch for what the second scanner reports that Defender missed: adware, potentially unwanted programs bundled with free downloads, and browser hijackers are Malwarebytes' specialty and Defender's blind spot. Quarantine everything it flags, then reboot.

If both scanners come back clean but symptoms persist, the problem probably isn't a file-based virus. Move to Stage Five and inspect extensions, scheduled tasks, and the router — the three places scanners don't look.

Stage Four: Clear the Persistence Layer So It Stays Gone

Malware that survives deletion almost always has a re-entry point. Four mechanisms account for most of it: a Registry Run key, a scheduled task, a startup folder shortcut, or a service. Check all four by name, because scanners sometimes leave the persistence entry behind when they remove the payload.

Work through these in order:

1: Open Task Manager (Ctrl+Shift+Esc), go to the Startup apps tab, and disable anything you don't recognize. Right-click and choose Disable, not Delete, so you can reverse a mistake. 2: Open Task Scheduler, click Task Scheduler Library, and sort by Trigger. Delete any task you didn't create, especially ones set to run at logon or every few minutes. 3: Press Win+R, type shell:startup, and clear the folder of anything unfamiliar — this is the current user's startup folder; the all-users equivalent is shell:common startup. 4: Open Registry Editor and inspect HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run and the matching HKEY_LOCAL_MACHINE path. Export a backup before deleting any value. 5: In Services (type services.msc), look for entries with blank descriptions or random-letter names set to Automatic.

Failure case worth knowing: some malware recreates its scheduled task within seconds of deletion while a companion process is still running. If a task keeps reappearing, boot into Safe Mode first, then delete it, then reboot normally.

Stage Five: Purge Browser Extensions, Saved Passwords, and Router Settings

This is the stage most guides skip, and it's where a lot of "I cleaned it and it came back" stories originate. Browser extensions run with your full session, can read every page you visit, and sync across devices if you're signed into a browser account. Open each browser's extension manager — chrome://extensions in Chrome and Edge, about:addons in Firefox — and remove anything you don't actively use, not just what looks suspicious.

Then change passwords, starting with email, banking, and any account tied to a payment method. Do this from a different, known-clean device if possible, because a keylogger on the infected machine captures everything you type. Turn on two-factor authentication everywhere it's offered, and revoke active sessions in each account's security settings so an attacker's existing login dies.

Finally, log into your router's admin page — usually 192.168.1.1 or 192.168.0.1 — and check two things: that the DNS servers haven't been changed to an attacker-controlled address (a technique called DNS hijacking that redirects every site you visit), and that no port-forwarding rules or remote-administration options were added. Change the router's admin password from its default. Router firmware is one of the few components a Windows scan can't see at all.

Stage Six: Decide Between Repair and Reinstall, and Know the Cost

Cleaning works for adware, most trojans, and browser hijackers. It does not reliably work for rootkits, firmware implants, or ransomware that has already encrypted files. The dividing line: if two independent scanners, run from outside Windows, still find an active threat after Stages Three and Four, reinstall rather than keep fighting.

A clean Windows reinstall takes roughly 30 to 60 minutes on an SSD plus another hour or two reinstalling applications, and it's free if you use the built-in Reset this PC option with "Remove everything." According to Microsoft's support documentation, choosing "Remove files and clean the drive" overwrites the disk, which is the correct option when malware is suspected. Back up personal files to external storage first — but only document, photo, and video files, never executables or installer packages, which can carry the infection forward. A professional shop typically charges for a diagnostic plus labor; get a written quote rather than a phone estimate.

Reinstalling also means re-entering license keys, so locate those before you wipe. If you use a password manager, your vault survives the reinstall and saves hours of account recovery.

Where Malware Hides That Scanners Never Look

Firmware and the router are the two blind spots. A UEFI-level implant survives a full operating-system reinstall because it lives in flash memory on the motherboard, not on the drive. The defensive move is enabling Secure Boot in your BIOS and installing the manufacturer's firmware updates — Dell, HP, and Lenovo all publish these for free on their support sites. Check the maker's site for your exact model rather than trusting a third-party driver updater.

On phones, the calculus differs. Android malware usually arrives through sideloaded APK files from outside the Play Store; uninstalling the offending app and running Play Protect is generally sufficient. iPhones are locked to the App Store, so true malware is rare — the realistic threat is a phishing site or a malicious configuration profile, which you can remove under Settings, General, VPN & Device Management.

Network-attached storage and smart-home devices are the third hiding place, and they're the ones people forget. A compromised NAS or smart camera sits inside your network with a trusted connection and can reinfect a cleaned PC. Update their firmware and change default credentials on every one.

Do Free Tools Beat Paid Suites for Removal?

For one-time cleanup, free tools do the job — the paid suites mainly sell ongoing protection you can largely get from Defender. Here's how the realistic options compare on the dimensions that matter for removal specifically.

Tool Cost to remove malware Real-time protection included Standout strength Main limitation
Microsoft Defender Offline Scan Free, built into Windows 10/11 Yes (Defender is always on) Scans before Windows loads, catches rootkits Very slow full scans; weak on adware
Malwarebytes Free Free for manual scans No (Premium tier only) Best-in-class adware and PUP detection No scheduled scanning without Premium
Windows Reset (clean reinstall) Free N/A Removes everything including hidden persistence Wipes all data; 2–3 hours total
Professional repair shop Diagnostic fee plus labor; get a written quote Varies Handles ransomware and locked machines You lose custody of the device and its data

Verdict: home users with a bootable PC should run Defender Offline then Malwarebytes Free and skip paid removal suites entirely. Buy a paid suite only if you want continuous blocking across several devices and a single dashboard, and skip it if your machine is already clean and Defender is enabled. The one real drawback of the free route: you must remember to scan manually, because nothing nags you to.

Hardening the Machine So You Don't Repeat This

The single highest-value change is enabling two-factor authentication on your email account, because email is the reset key for everything else. Second is keeping Windows and your browser current — most real-world infections exploit a patch that was already available. Third is installing a content blocker in your browser, which blocks the malicious ads (malvertising) that deliver ransomware through otherwise legitimate websites.

Control your installation habits. Every executable you run from a download page, an email attachment, or a "crack" is a trust decision. Microsoft's own telemetry has long shown that macros and email attachments are among the top initial-access routes for malware, which is why Office now blocks macros from internet-sourced files by default.

Back up. A malware infection that encrypts your files is merely annoying if you have a recent offline backup and catastrophic if you don't. The 3-2-1 rule — three copies, two media types, one offsite — costs far less than a ransom demand, and it's the only defense that works against ransomware after the fact. Test a restore at least once a year.

How Long Does Removal Take, and When Should You Stop Trying?

Budget 60 to 90 minutes for a straightforward cleanup: 15 to 30 for the offline scan, 45 to 90 for a full scan, and 20 to 30 for the second opinion and persistence checks. Add another hour if you change passwords across a dozen accounts. Getting your time back is worth more than the tools, which are free.

Stop and reinstall if any of these hold: the machine won't boot after two Safe Mode attempts, ransomware has already encrypted your files, or the same threat returns after a full scan, a second-opinion scan, and a persistence cleanup. Continuing to clean a machine that keeps reinfecting costs hours you'll never recover.

Also stop if the device holds data you can't risk — financial records, medical files, client information. In that case, disconnect it, back up only document files, and reinstall or take it to a professional. Cleaning a compromised machine that stores regulated data may not satisfy your legal obligations; check with whoever handles your compliance.

Don't pay a ransom. Payment funds the operation, doesn't guarantee decryption, and marks you as a payer for future attacks. The FBI and the UK's National Cyber Security Centre both advise against it and direct victims to report the incident instead.

FAQ

Does Malwarebytes remove malware permanently?

It removes the files it detects, but permanent removal depends on clearing the persistence layer separately — scheduled tasks, Run keys, and browser extensions can survive a scan. Run Malwarebytes after Defender Offline, then check Task Manager's Startup tab (Ctrl+Shift+Esc) for anything unfamiliar. A threat that reappears after a reboot means the re-entry point is still active.

Can malware survive a factory reset?

Yes, in one specific case: firmware-level implants stored in motherboard flash memory survive any operating-system reinstall. Standard user-mode malware does not survive a "Remove everything" reset. To close the firmware gap, enable Secure Boot and install the manufacturer's UEFI updates, which Dell, HP, and Lenovo publish free on their support sites.

Is it safe to use my computer after removing malware?

Only after you've changed passwords from a different device and revoked active sessions, because an infostealer may have captured credentials even if the scan came back clean. Check each account's security settings for unfamiliar logins. Skipping this step is the most common reason people get reinfected within days.

Do I need to tell my bank if my PC had malware?

Tell them if the machine ever held banking credentials, card numbers, or a saved payment method — infostealers target those specifically, and banks can flag suspicious activity proactively. Call the number on the back of your card, not a number from a pop-up. If money moved, ask for a fraud hold and a new card.

What's the difference between quarantining and deleting a threat?

Quarantine moves the file to an isolated, encrypted location where it can't run but can be restored — which matters when a scanner mislabels a legitimate program. Deleting removes it outright with no undo. Choose quarantine first on any detection you're unsure about, then delete after a week of normal use.

How much does professional malware removal cost?

Shops typically charge a diagnostic fee plus hourly labor, with totals varying widely by region and whether a reinstall is involved — get a written quote before handing over the device. Compare that against a free Defender Offline scan plus a free Malwarebytes scan, which handles most home infections. Reserve paid repair for locked machines, ransomware, or data you can't risk.

Will antivirus catch ransomware before it encrypts my files?

Not reliably, which is why offline backups matter more than any scanner for ransomware specifically. Modern ransomware encrypts fast, and no consumer antivirus blocks every strain; AV-TEST's zero-day results confirm no product scores 100%. Keep one backup copy disconnected from the network so encryption can't reach it.

Can malware spread to my phone from my PC?

Generally no — Windows malware doesn't execute on Android or iOS, and the two platforms are architecturally separate. The realistic cross-device risk is shared accounts: if an infostealer captured your Google or Apple password, the attacker can log into the phone's cloud account. Change those passwords and turn on two-factor authentication.

This article is general educational information about malware removal and is not a diagnosis, a security guarantee, or professional IT advice. Malware behavior changes constantly, so confirm current tool names, settings, and detection figures with Microsoft, Malwarebytes, and AV-TEST directly. If a device holds regulated or business-critical data, consult a qualified local IT or security professional before cleaning or wiping it. For an active ransomware attack or a suspected crime in progress, contact local law enforcement and your country's national cyber-security authority.