The Problem
Browser homepages changed themselves, ransom notes appeared, or Task Manager shows a weird process eating CPU you never installed. Most infections on Windows 11 are adware and browser hijackers—not Hollywood ransomware—but they still need a methodical cleanup, not ten random downloaders from page-one ads.
Defender icon grayed out or won't turn on? Fix that first—Windows Defender not working—or malware may be blocking scans.
Symptoms
- New toolbars, extensions, or search engines you did not install.
- Pop-ups on the desktop even when the browser is closed.
- Antivirus disabled, updates failing, or Security settings locked.
- Sudden 100% disk or RAM usage from an unknown process.
The Fix: Step-by-Step
Step 1: Disconnect and Back Up What Matters
- Unplug Ethernet or disconnect Wi-Fi if you suspect password stealers or ransomware—stops exfiltration while you work.
- Copy irreplaceable photos and documents to a USB drive before heavy cleaning (not after—you might quarantine something you need). See back up with File History for a proper routine later.
Step 2: Run Microsoft Defender Offline Scan
- Settings → Privacy & security → Windows Security → Virus & threat protection.
- Scan options → Microsoft Defender Antivirus (offline scan) → Scan now.
- The PC reboots and scans before Windows fully loads—this catches rootkits that hide during normal boot.
Step 3: Full Scan and Remove Quarantined Items
- Back in Virus & threat protection → Quick scan → then Scan options → Full scan.
- Protection history → remove or quarantine everything flagged. Restart when prompted.
Step 4: Boot Into Safe Mode for Stubborn Malware
- Settings → System → Recovery → Advanced startup → Restart now.
- Troubleshoot → Advanced options → Startup Settings → Restart → press 4 for Safe Mode.
- Run another full scan. Fewer apps load, so malware services often fail to start.
Step 5: Clean Browsers and Startup
- Remove suspicious extensions in Chrome/Edge/Firefox (Extensions → trash unknown entries).
- Reset the browser: Edge → Settings → Reset settings → restore defaults (bookmarks can stay if you pick the right option).
Ctrl + Shift + Esc→ Startup apps → disable entries with no publisher or random names. Details: disable startup programs.
Step 6: Uninstall Junk You Did Not Install
Settings → Apps → Installed apps → sort by Install date → uninstall recent unknown programs ("PC Optimizer," "Driver Updater," etc.).
Step 7: Check Persistence (Advanced)
Win + R→msconfig→ Services → check Hide all Microsoft services → disable suspicious non-Microsoft services temporarily → reboot and retest.- Task Scheduler (
taskschd.msc) → Task Scheduler Library → delete tasks pointing to%Temp%or random folders.
What Not to Do
- Do not install "free antivirus" from banner ads—many are malware themselves.
- Browser locked with a toll-free "virus" number? That is usually fake antivirus scareware—reset the browser before a full malware sweep.
- Do not pay ransom without talking to IT or law enforcement; payment does not guarantee decryption.
After Cleanup
- Run a deeper system check with PC-Troubleshooter to catch broken services, bad drivers, and registry leftovers malware leaves behind.
- Change passwords from a clean device (email, banking) if you had a keylogger suspicion.
- Files renamed with a strange extension and a ransom note on screen? Stop and follow hit by ransomware: what to do first instead — disconnecting comes before scanning.
- Turn on BitLocker on laptops if the edition supports it.
- If the PC still acts infected after offline scan + Safe Mode, reinstall Windows or wipe before selling on a spare drive is sometimes faster than chasing every registry key.
If it keeps coming back, the file was never the problem — clear the scheduled tasks and startup entries that keep restoring it, check for a cryptominer if the fans are loud with nothing open, and go to rootkit and bootkit removal when even an offline scan comes back clean.
Related guides
How to Find and Remove Cryptominer Malware in Windows 11
Fans loud, CPU or GPU pinned when idle, and usage drops the moment you open Task Manager? That is a cryptominer. Here is how to find it and remove it for good.
Remove Malware Startup Entries and Scheduled Tasks
Malware you deleted keeps coming back? It left a scheduled task, service, or Run key behind. Here is how to find and clear every persistence point in Windows 11.
How to Detect and Remove a Rootkit in Windows 11
Malware that survives every scan and reinstall is hiding below Windows. Detect a rootkit or bootkit, remove it properly, and know when a clean install is the only answer.
Fix Microsoft Account Sign-In Problems in Windows 11
"We couldn't sign you in" or 0x80190001 when adding a Microsoft account? Fix the clock, the sign-in service, and the cached credentials behind it.
Fix "PIN Is Not Available" in Windows 11
Locked out by "Something happened and your PIN isn't available"? Sign in with your password, reset the Ngc folder, and set the PIN up again properly.