How to recognise and remove a rootkit or persistent malware from your Windows PC
Summary
This guide helps you troubleshoot and resolve: How to recognise and remove a rootkit or persistent malware from your Windows PC. Follow the steps below to fix the issue.
Common Causes
Rootkits and persistent malware are among the most difficult threats to detect and remove from a Windows PC. Unlike standard viruses, they are designed to hide deep within your operating system, often surviving regular antivirus scans and even reinstalling themselves after removal. This guide walks you through recognising the signs of a deep infection, removing it using trusted tools, and securing your system afterwards. If at any point you feel unsure or the infection appears to be spreading, stop and open a ticket with our support team for assistance.
Signs Your PC May Be Infected
Persistent malware and rootkits often produce subtle symptoms that can be mistaken for hardware issues or software conflicts. Watch for any combination of the following:
- Unexplained slow performance, especially during startup or when opening files
- Unusual network activity even when no programs are running (check your router lights or data usage)
- Disabled or unresponsive antivirus software that will not re-enable
- Unknown processes visible in Task Manager that cannot be terminated
- Browser redirects, persistent pop-ups, or a changed default search engine that reverts after you fix it
- Files or folders appearing, disappearing, or becoming inaccessible without your action
- Windows Defender or Microsoft Defender reporting repeated infections it cannot quarantine
- Unexpected system reboots or blue screen errors
Before You Begin
Preparation helps prevent data loss and ensures you can recover if something goes wrong during the cleanup process.
- Back up critical files. Copy important documents, photos, and data to an external drive or a reputable cloud service. Do not back up executable files (such as
.exeor.dll) as these may carry the infection. - Disconnect from the network. Unplug the Ethernet cable or turn off Wi-Fi to stop the malware communicating with remote servers.
- Note your passwords. Have a list of your important account credentials ready, as you will need to change them from a clean device after cleanup.
- Gather your tools. You will need a second device with internet access to download the removal tools below onto a USB drive.
Step-by-Step Removal Process
Step 1: Boot Into Safe Mode with Networking
Safe Mode loads Windows with only essential drivers and services, which prevents most malware from starting.
- Press
Win + Ito open Settings. - Navigate to System > Recovery (Windows 11) or Update & Security > Recovery (Windows 10).
- Under Advanced Startup, click Restart now.
- After restart, choose Troubleshoot > Advanced options > Startup Settings > Restart.
- Press
5orF5for Safe Mode with Networking.
Step 2: Run a Full Scan with Microsoft Defender Offline
Microsoft Defender Offline runs outside the normal Windows environment, which makes it far more effective against rootkits.
- In Safe Mode, press
Win + Sand type Windows Security, then press Enter. - Click Virus & threat protection.
- Under Current threats, click Scan options.
- Select Microsoft Defender Offline scan and click Scan now.
- Your PC will restart and perform the scan before Windows loads. Allow the process to complete.
Step 3: Use a Second-Opinion Malware Scanner
No single antivirus engine catches everything. Running a reputable second scanner helps identify threats Defender may have missed.
- Malwarebytes Free — Download from the official site onto a USB drive, transfer it to the infected PC, install, and run a Full Scan. Quarantine everything it finds.
- ESET Online Scanner — A browser-based alternative that does not require installation. Run a full scan and review the results.
- HitmanPro — Useful for detecting persistent threats. Run a default scan and remove flagged items.
Step 4: Run a Dedicated Rootkit Scanner
Rootkits hide at a deeper level than standard malware, so specialised tools are often required.
- Download Kaspersky TDSSKiller or Malwarebytes Premium onto a USB drive from a clean device.
- Transfer and run the tool on the infected PC in Safe Mode.
- Follow the prompts to perform a full scan.
- Allow the tool to remove or quarantine any rootkits detected.
- Restart the PC when prompted.
Step 5: Check Startup Items and Scheduled Tasks
Persistent malware often reinstalls itself through scheduled tasks or startup entries. Removing the infection is only half the battle — you must also remove its persistence mechanisms.
- Press
Ctrl + Shift + Escto open Task Manager. - Go to the Startup tab and disable any unfamiliar entries. Note the file path before disabling.
- Press
Win + R, typetaskschd.msc, and press Enter. - Review the Task Scheduler Library for any tasks you did not create. Pay particular attention to tasks that run at logon or with elevated privileges.
- Delete any suspicious tasks by right-clicking and selecting Delete.
Step 6: Inspect Registry Run Keys
Malware frequently adds itself to registry locations that launch automatically.
- Press
Win + R, typeregedit, and press Enter. - Navigate to each of the following keys and review the entries on the right-hand pane:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce
- Research any unfamiliar values using their file paths before deleting them. If unsure, export the key first as a backup.
Step 7: Reset or Reinstall Windows if Needed
If the infection persists after all the above steps, or if you cannot be certain the system is clean, a clean reinstallation is the most reliable option.
Option A: Reset This PC (Keeps Some Files)
- Go to Settings > System > Recovery.
- Click Reset PC next to Reset this PC.
- Choose Remove everything for the deepest clean, or Keep my files if you want to preserve personal data (note this is less thorough).
- Select Cloud download or Local reinstall when prompted. Cloud download fetches a fresh copy of Windows from Microsoft.
- Click Next, then Reset, and wait for the process to complete.
Option B: Clean Install from USB
A clean installation from a bootable USB is the most thorough option and guarantees removal of any rootkit, but it requires more preparation.
- On a clean PC, download the Media Creation Tool from the official Microsoft website.
- Use it to create a bootable Windows USB drive (at least 8 GB).
- Back up any files you wish to keep to an external drive.
- Boot the infected PC from the USB (you may need to change the boot order in BIOS/UEFI).
- Follow the on-screen prompts, choosing Custom install and formatting the system drive before installing Windows.
- After installation, install your applications and restore your backed-up files.
After Cleanup: Securing Your System
Once your PC is clean, take these steps to reduce the risk of reinfection.
- Change your passwords. From a clean device, change passwords for any accounts you accessed on the infected PC, starting with email, banking, and social media. Enable two-factor authentication where possible.
- Update Windows. Go to Settings > Windows Update and install all available updates, including optional ones.
- Update your software. Ensure browsers, plugins, and other applications are running the latest versions.
- Re-enable Defender. Confirm that Microsoft Defender is active and performing real-time protection.
- Monitor for symptoms. Over the following weeks, watch for any of the signs listed earlier in this guide.
Still Having Issues?
💻 Open a Ticket