A laptop on a desk with a warning alert symbol on screen and a magnifying glass beside it

How to Remove Malware from Your PC: A Step-by-Step Guide

Your laptop was fast last month. Now it takes forever to start, strange pop-ups appear out of nowhere, and your browser keeps opening pages you never asked for. Something is wrong, and there’s a good chance the culprit is malware — malicious software that slipped onto your computer and is now working against you.

Malware comes in many forms: viruses that spread through files, adware that floods you with ads, spyware that watches what you type, and ransomware that locks your files and demands payment. The good news is that most infections can be removed at home, without paying a repair shop, if you work through the steps in the right order. This guide does exactly that, one step at a time.

Before you start, take a breath. Don’t panic-click, don’t pay any ransom, and don’t download the first “PC cleaner” that appears in a search result — some of those are malware themselves. Work through the steps below, and if anything goes wrong, your backup is your safety net. If you don’t have a backup yet, start one after your PC is clean — our guide to How to Back Up Your Computer (A Simple Step-by-Step Guide) walks you through it.

A laptop on a desk with a warning alert symbol on screen and a magnifying glass beside it

Step 1: Recognise the Signs of Malware

Malware doesn’t always announce itself. Sometimes the signs are loud — a flood of pop-ups, a browser homepage you didn’t set, or a message claiming your PC is infected and demanding payment. Sometimes they’re quiet: a computer that suddenly runs hot, a battery that drains fast, programs crashing for no reason, or your friends getting strange emails from your address.

Other warning signs include new toolbars in your browser, search results that redirect to odd websites, and your antivirus turning itself off. A single symptom can have an innocent cause — a slow PC might just need a cleanup — but two or three together, starting at the same time, point to an infection.

Write down what you’ve noticed before you start cleaning. When did it begin? What changed? Did you recently download a file, click a link in an email, or install a free program? That timeline helps you find the cause, and it helps a technician if you end up needing one.

Step 2: Disconnect from the Internet

The moment you suspect malware, disconnect. Unplug the Ethernet cable or turn off Wi-Fi. Many types of malware need the internet to send your data to an attacker, download more malware, or receive commands. Cutting the connection stops that traffic cold and keeps the infection from spreading to other devices on your network.

Don’t worry about losing work — you can reconnect later, after the cleaning is done. While you’re offline, avoid logging into important accounts like your bank or email, since keylogging malware could still be recording what you type. Password changes come later, after the PC is clean.

If you need to download a removal tool, use a different device — your phone, or a family member’s computer — and transfer it with a USB stick. That way you don’t give the malware another chance to interfere with the download.

Step 3: Boot into Safe Mode

Safe Mode starts Windows with only the essential programs running, which stops most malware from loading at startup and makes it easier to remove. On Windows 11, hold the Shift key while you click Restart, then choose Troubleshoot, then Advanced options, then Startup Settings, then Restart, and press 4 for Safe Mode (or 5 for Safe Mode with Networking if you need the internet for a download).

On Windows 10 the steps are nearly identical. On a Mac, restart and hold the Shift key until the login screen appears — that’s Safe Mode on macOS, and it runs a disk check at the same time. Your screen will look plain and your desktop icons may be larger than usual. That’s normal in Safe Mode; everything goes back to normal when you restart.

Once you’re in Safe Mode, don’t open your browser or your email. Go straight to the next step: removing suspicious programs. The less you run while infected, the fewer chances the malware has to hide or fight back.

Step 4: Uninstall Suspicious Programs

Open Settings, then Apps, then Installed apps, and sort the list by install date. Look for anything installed around the time the problems started — especially programs you don’t recognise, toolbars, “system optimisers,” or apps with odd names and no publisher listed. Malware often arrives bundled with free software, so check for anything that appeared alongside a recent download.

Uninstall anything suspicious, one at a time. If a program refuses to uninstall, or if the uninstaller itself looks strange, leave it for now — your antivirus scan in the next step will deal with it. Also check your browser extensions while you’re here: in Chrome, go to the extensions page and remove anything you didn’t add yourself. Browser hijackers live in extensions more often than anywhere else.

Be careful not to remove things you actually need. If you’re unsure about a program, search its name on your phone before you uninstall it. Removing a driver or a program your laptop needs is a headache you don’t need on top of a malware infection.

Step 5: Run a Full Antivirus Scan

Now run a full scan with your antivirus software. Windows Security, built into Windows 10 and 11, is a solid free option — open it, choose Virus and threat protection, then Scan options, then Full scan. A full scan checks every file on your PC, so it can take an hour or more. Let it finish.

For a second opinion, download a free on-demand scanner like Malwarebytes Free on a clean device, transfer it by USB, and run it too. A second scanner catches things the first one missed, because different products recognise different threats. Don’t run two real-time antivirus programs at once — they fight each other — but a second on-demand scan is safe and sensible.

When the scan finds threats, let the software quarantine or remove them. Quarantine is the safe choice: it isolates the file so it can’t run, and you can restore it later if it turns out to be a false alarm. If you don’t have an antivirus installed yet, our roundup of the Best Free Antivirus Software (Protect Your PC Without Paying in 2026) will help you pick one.

Step 6: Clean Your Browsers

Malware loves browsers. After the scan, reset each browser you use: clear the cache and cookies, remove suspicious extensions, and restore the default homepage and search engine. In Chrome, Settings has a “Reset settings” option that returns the browser to its defaults without deleting your bookmarks or saved passwords. Edge and Firefox have similar options.

Check your browser’s startup pages and notification permissions too. Malware often adds itself as a site that’s allowed to send notifications, which is where those endless pop-ups come from. Remove any site you don’t recognise from the notifications list, and turn off notification permission for sites you don’t trust.

While you’re here, check your saved passwords in the browser. If you suspect a keylogger was active, change your most important passwords — but only after the PC is fully clean, or the malware may capture the new ones as well. Change them from a clean device if you need access sooner.

Step 7: Update Everything

Outdated software is how malware gets in. Windows Update, your browser, and your apps all release security fixes regularly, and attackers target the people who skip them. Open Windows Update and install everything available, then update your browser and any other programs you use daily — especially Java, Adobe Reader, and media players, which are common targets.

Turn on automatic updates where they’re offered. It’s the simplest way to stay protected without thinking about it. If an app doesn’t offer automatic updates, check it monthly. And remove software you no longer use — every installed program is a potential doorway, and an old program you forgot about is a doorway nobody is watching.

Check your drivers too, particularly your network and graphics drivers, through your PC maker’s support site or Windows Update. This step is also a good moment to speed up a sluggish machine — our How to Speed Up Your Laptop (12 Easy Fixes That Really Work) covers the cleanup steps that pair well with this one.

Step 8: Check for Ransomware and Back Up What Matters

If your files have been renamed with a strange extension, or you see a message demanding payment to unlock them, you’re dealing with ransomware. Do not pay. Payment doesn’t guarantee your files come back, and it marks you as someone who pays, which invites more attacks. Disconnect from the internet immediately and check the No More Ransom project (nomoreransom.org) — a free service from law enforcement and security companies that offers decryption tools for many ransomware types.

If your files are encrypted and no free tool works, your backup is the only way back. This is why backups matter more than any antivirus: an offline or cloud backup taken before the infection can restore everything in an afternoon. If you don’t have one, start one the moment your PC is clean — never back up an infected PC, or you’ll back up the malware too.

For the future, follow the 3-2-1 rule: three copies of your important files, on two different types of storage, with one copy offsite or in the cloud. It’s the single best insurance policy in computing, and it turns ransomware from a disaster into an annoyance.

Step 9: Change Your Passwords — From a Clean Device

Once the scan is clean and your browsers are reset, change your passwords, starting with your email, then your bank, then everything else. Do this from a clean device if possible — a phone or another computer — so you’re not typing new passwords into a machine that might still be compromised.

Use a unique password for every account, and turn on two-factor authentication everywhere it’s offered. A password manager makes this painless: it generates strong passwords and fills them in for you. If you used the same password in several places before the infection, change all of them — assume the malware saw every password you typed while it was active.

Also check your accounts for changes the malware may have made: email forwarding rules you didn’t create, new devices signed in, recovery phone numbers you don’t recognise, or purchases you didn’t make. Attackers use stolen access quietly, so look carefully.

Step 10: Keep It Clean Going Forward

Removal is only half the job. The other half is not getting infected again. Keep your antivirus on and updated, keep automatic updates switched on, and be careful with downloads — get software from the maker’s official site, not from download portals that bundle extra programs. When an installer offers “Express” versus “Custom” setup, choose Custom and untick anything you didn’t ask for.

Be just as careful with email attachments and links. If an attachment surprises you, or a link promises something too good to be true, don’t click it. Phishing emails are the most common way malware reaches a PC, and a few seconds of suspicion saves hours of cleaning.

Finally, run a full antivirus scan once a month and glance at your installed programs every few months. A small routine beats a big cleanup, and a clean, updated PC is a fast PC too. If problems persist after all ten steps, it’s time for professional help — take the PC to a reputable repair shop and tell them what you’ve already done, so they don’t repeat your work.

Malware Removal Checklist

Step What to Do Done?
1 Note the symptoms and when they started ☐
2 Disconnect from the internet ☐
3 Boot into Safe Mode ☐
4 Uninstall suspicious programs and extensions ☐
5 Run a full antivirus scan (plus a second-opinion scan) ☐
6 Reset browsers, clear extensions and notifications ☐
7 Install all Windows and app updates ☐
8 Check for ransomware; restore from backup if needed ☐
9 Change passwords from a clean device, turn on 2FA ☐
10 Set up updates, backups, and a monthly scan routine ☐
Hands using an antivirus scan on a laptop screen showing a progress shield

When to Get Professional Help

Most infections yield to the steps above, but some don’t. If the malware comes back after every scan, if your antivirus won’t run at all, if your files are encrypted and no free decryptor exists, or if the PC won’t boot into Safe Mode, it’s time to call in a professional. The same goes if the infected machine holds business data, medical records, or anything you can’t afford to lose.

Choose a repair shop with good reviews and a clear price list, and ask whether they charge a diagnostic fee. Tell them what you’ve already tried — it saves time and money. Avoid services that advertise through pop-ups or cold calls claiming your PC is infected; those are often scams themselves. And if the infection involved banking or payment details, call your bank first, before you do anything else.

A clean workspace with a laptop showing a green checkmark shield, a notebook and a coffee cup

Frequently Asked Questions

How do I know if my PC has malware?

Common signs include sudden slowness, frequent crashes, pop-ups you didn’t ask for, a changed browser homepage, new toolbars or extensions, and your antivirus turning itself off. One symptom alone can have an innocent cause, but several appearing at the same time usually point to an infection. A full antivirus scan will confirm it.

Can I remove malware without antivirus software?

Sometimes, if it’s a simple browser hijacker or a program you can uninstall by hand. But most malware hides itself, resists removal, and reinstalls when you delete part of it. A proper antivirus scan is the reliable route, and Windows Security is free and built into Windows 10 and 11, so there’s no reason to skip it.

Will resetting Windows remove malware?

A full reset that wipes all files and reinstalls Windows will remove almost all malware, including stubborn infections that survive scans. It’s a last resort because it deletes your programs and files, so back up your important data first — from a clean state, or at least scan the backup before restoring it. Keep this option in reserve for infections that won’t die any other way.

Is free antivirus software good enough?

For most home users, yes. Windows Security and reputable free scanners like Malwarebytes Free offer strong detection, and independent tests regularly show them catching the vast majority of threats. Paid antivirus adds extras like a VPN or parental controls, but the core protection in a good free product is solid. Whatever you choose, keep it updated.

Can malware spread to my phone or other devices?

Some malware can spread across a home network, especially to other Windows PCs with shared folders. Phones are much harder to infect from a PC, but they can be affected through a shared Wi-Fi network or a malicious app. Disconnect the infected PC, scan your other computers, and check your phone for apps you don’t recognise.

Conclusion

Malware is stressful, but it’s also fixable. Disconnect, boot into Safe Mode, remove the suspicious programs, run a full scan, clean your browsers, update everything, and change your passwords from a clean device. Those ten steps clear the great majority of infections, and the habits that follow — updates on, backups running, careful clicking — keep you from doing it all again next month.

The lesson most people take away from their first infection is that prevention is cheaper than the cure. A free antivirus, automatic updates, and a regular backup cost you almost nothing and save you an afternoon of worry. Set them up once, and the next time something strange happens, you’ll be ready for it.

Sources

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *