Yes, you can usually remove malware without reinstalling Windows. A full scan, a Microsoft Defender Offline scan, a manual check of startup items and installed apps, and a thorough scan with a dedicated malware remover will clean most common infections. A reinstall is only really needed when the infection keeps coming back, Windows itself is damaged, or an attacker may have had full control of the PC.
This guide gives you a cleaning routine that avoids the hassle of reinstalling everything, and an honest checklist for when a reset really is the better choice.
Before you start: protect what matters
- Disconnect from the internet while you work, reconnecting only to update definitions.
- Back up your personal files (documents, photos, spreadsheets) to an external drive or cloud storage. Copy files only, not programs, and scan the backup before you rely on it.
- Note what is wrong: pop-ups, a slow PC, a changed home page, unknown programs. You will use this list to check that the clean-up worked.
The no-reinstall cleaning routine
1. Remove the obvious junk first
Open Settings > Apps > Installed apps (Windows 10: Settings > Apps > Apps & features). Sort by install date and uninstall programs you do not recognise or did not mean to install, especially "PC optimisers", toolbars and search helpers that arrived bundled with something else. Restart afterwards.
2. Run a full scan, then an offline scan
- Go to Settings > Privacy & security > Windows Security > Virus & threat protection.
- Update protection, then choose Scan options > Full scan > Scan now. Remove or quarantine what it finds.
- Back in Scan options, choose Microsoft Defender Offline scan. The PC restarts and scans before Windows loads, which catches malware that hides from normal scans.
3. Shut the doors malware uses to restart
- Task Manager > Startup apps: disable entries you do not recognise. Right-click and choose Open file location to see what each one really is.
- Task Scheduler: look in Task Scheduler Library for tasks that launch programs from
AppDataorTempfolders. - Browsers: remove unknown extensions and reset settings. In Edge, go to Settings > Reset settings > Restore settings to their default values; in Chrome, Settings > Reset settings.
4. Clear temporary files
Malware often stores pieces of itself in temporary folders. Open Settings > System > Storage > Temporary files, tick Temporary files and click Remove files. This also makes later scans faster.
5. Repair Windows system files
If Windows is behaving oddly after the clean-up, open Terminal (Admin) or Command Prompt as administrator and run these two commands, one after the other:
DISM /Online /Cleanup-Image /RestoreHealthsfc /scannow
They check Windows' own files against known-good copies and replace anything damaged.
6. Confirm with a thorough malware scan
Finish with a Full Scan from a dedicated malware scanner with freshly updated definitions, such as Threat Eraser, to catch any leftovers. Then use the PC normally for a few days and check that your original symptoms have gone. See our guide to choosing a malware scanner for what to look for.
When a reinstall really is the better choice
Cleaning in place is the right choice most of the time, but be honest with yourself if any of these apply:
| Situation | Clean in place? | Why |
|---|---|---|
| Adware, pop-ups, browser hijacker | Yes | Usually fully removable with apps, extensions and scans |
| A single trojan detected and quarantined | Usually | Check startup and tasks, then scan again |
| Detections return after every clean-up | No | Something hidden keeps reinstalling it |
| Remote-access tool active for weeks | No | An attacker may have changed anything |
| Ransomware has encrypted files | No | Follow ransomware recovery steps first |
| Windows will not start or repair | No | System damage is too deep |
If you do need to start again, Settings > System > Recovery > Reset this PC is quicker than a full reinstall. Keep my files removes apps and settings but keeps documents; Remove everything is the safer choice after a serious infection, as long as your files are backed up. For encrypted files, read what to do if you get ransomware before resetting anything.
After cleaning
Change your important passwords from a clean device, starting with email, and turn on two-step verification. Install Windows updates from Settings > Windows Update: the Verizon 2026 Data Breach Investigations Report found exploitation of vulnerabilities was the top way attackers got in, at 31% of breaches. Our after-removal checklist covers the rest.
How Threat Eraser helps you clean up without reinstalling
Threat Eraser is a virus, malware and trojan scanner and removal tool, which makes it the right fit for step 6. It checks files against virus signatures, malware detection rules, recent malware hashes and built-in signatures, updated at every start-up, scans inside nested ZIP archives, and spots disguised names such as photo.jpg.exe. Its Quick Scan targets the folders where leftovers usually hide, including AppData, temporary and Startup folders, and a Full Scan covers every fixed drive.
A scan tells you whether your clean-up worked before you decide on a reset. Detected files go into an encoded quarantine where they cannot run, and you can erase them permanently or restore them if something turns out to be safe. Scheduled scans, Real-Time Watch and Ransomware Early Warning then help you catch anything new before it settles in.
Read more about Threat Eraser's malware removal features.
Frequently asked questions
Will Reset this PC remove malware?
Choosing Remove everything removes almost all malware along with your apps and files. Keep my files is gentler but keeps your documents, so scan them afterwards.
What do sfc and DISM do?
They check Windows system files against known-good copies and replace damaged ones. They repair Windows but do not remove malware themselves.
Is it safe to keep using a PC after cleaning malware?
Yes, once two different scanners report it clean and the original symptoms have stopped. Change your passwords and install updates as well.
