To remove a svchost.exe virus on Windows 11, run a Microsoft Defender full scan and then a Microsoft Defender Offline scan, because the real svchost.exe is a Windows system file and only a copy running from another folder is malware.
This guide shows how to tell the genuine Service Host from an impostor, every built-in Microsoft tool that removes it, and what to do when the infection keeps coming back.

How to remove svchost.exe virus from Windows 11
Save your work first, because the offline scan restarts the PC. These steps use only the Windows Security app built into Windows 11.
- Open Settings > Windows Update and select Check for Windows updates, then install anything offered so Microsoft Defender has current definitions.
- Open the Windows Security app and select Virus & threat protection.
- Select Scan options, choose Full scan and select Scan now.
- Act on every threat it finds, then return to Scan options.
- Choose Microsoft Defender Offline scan and select Scan now; the PC restarts and scans for about 15 minutes outside Windows.
- After the restart, open Windows Security and select Protection history to see what was removed.
The offline scan runs from the Windows Recovery Environment, where malware that hides while Windows is running has a much harder time defending itself.
Understanding svchost.exe and its functions
Service Host (svchost.exe) is a shared-service process that loads Windows services from DLL files. Each group of services runs in its own svchost.exe instance, so a crash in one does not take down the others.
On PCs with more than 3.5 GB of RAM, Windows runs most services in their own svchost.exe process. That is why Task Manager shows dozens of Service Host entries on a healthy Windows 11 PC.
| Fact | Genuine svchost.exe | Malware posing as svchost.exe |
|---|---|---|
| File location | %SystemRoot%\System32 (normally C:\Windows\System32) | Any other folder, such as a user, AppData or Temp folder |
| How it starts | Started by Windows services with a -k group switch, for example svchost.exe -k netsvcs | Started from a startup entry, scheduled task or another program |
| Services inside | Named Windows services such as Dnscache or Schedule | No Windows services listed |
| Number of copies | Many, one per service or service group | Usually one or two extra copies |
| What to do | Leave it alone | Scan and remove it with Microsoft Defender |

How to check if svchost.exe is a virus in Windows 11
The file path of each running svchost.exe settles the question. Open Windows PowerShell as administrator and run this command.
Get-Process -Name svchost | Select-Object Id, Path
Lists every running svchost.exe process with its process ID (PID) and the full path of the file it was started from.
You should see: Every row shows C:\Windows\System32\svchost.exe. Any row with a different folder is a suspect file; note its PID and path before you scan.
If the Path column is blank, you opened a 32-bit PowerShell window. Open the standard 64-bit Windows PowerShell and run it again.
Microsoft's own security alerts flag svchost.exe running in an abnormal context or a rare service group, because malware often uses the name to hide its activity.
How to see which services are running in svchost.exe
A genuine Service Host always lists the Windows services it hosts. Run this in Command Prompt or PowerShell to match each PID to its services.
tasklist /svc /fi "IMAGENAME eq svchost.exe"
/svc lists the services hosted in each process, and /fi limits the output to processes named svchost.exe.
You should see: Each svchost.exe PID shows one or more service names, such as Dnscache or Schedule. A PID from the PowerShell check that shows no services here deserves a closer look.
Task Manager can also show the services inside each svchost.exe if you prefer not to use a command.
Common signs of svchost.exe virus infection
High CPU or network use by svchost.exe is often a normal Windows service at work, such as Windows Update. Judge it by the file path, not by the resource use alone.
| Sign | Points to malware when | Usually innocent when |
|---|---|---|
| svchost.exe uses high CPU | The busy process runs from outside System32 | tasklist /svc shows a Windows service, such as wuauserv during updates |
| svchost.exe uses network data | The process has no hosted services | tasklist /svc shows Windows Update (wuauserv) or another Windows service inside it |
| Extra svchost.exe entries | One of them has a different path | All paths are C:\Windows\System32 |
| Microsoft Defender alert naming svchost.exe | The detected file is outside System32 | Never; act on every alert |
| Security settings keep switching off | Something keeps turning Microsoft Defender protection off | You or your organisation changed them |
When a genuine svchost.exe holds several services and one of them burns CPU, Microsoft's troubleshooting guidance is to break each service out into its own svchost.exe process so the busy one stands alone.
How to run a Microsoft Defender full scan in Windows 11
A full scan checks every file and program on the PC, which is what a hidden svchost.exe copy needs. It can take a long time on a large drive.
- Close every app you do not need, so the scan runs faster.
- Open Windows Security and select Virus & threat protection.
- Under Virus & threat protection updates, select Check for updates so the scan uses the latest definitions.
- Return to Virus & threat protection and select Scan options.
- Choose Full scan, then select Scan now.
- When the scan finishes, follow the on-screen actions for each threat and restart if Windows Security asks.
How to run Microsoft Defender Offline scan for svchost.exe malware
Run the offline scan when a full scan finds nothing but the suspect svchost.exe is still there, or when the same threat returns after every restart.
- Save open files and close running programs.
- Open Windows Security and select Virus & threat protection.
- Select Scan options.
- Choose Microsoft Defender Offline scan and select Scan now.
- Let the PC restart and finish the scan, which takes about 15 minutes; it restarts again on its own.
- Open Windows Security and select Protection history to read the results.
The offline scan needs the Windows Recovery Environment. If it is disabled, the scan silently does nothing, so check that Windows RE is enabled when nothing happens after Scan now.

Microsoft Safety Scanner for svchost.exe virus removal
Microsoft Safety Scanner is a free, on-demand Microsoft tool that finds and removes malware. Use it as a second opinion after Microsoft Defender, not as a replacement.
- Open the Microsoft Safety Scanner page on learn.microsoft.com and download the 64-bit version.
- Open the downloaded file; it runs without installing and does not appear in the Start menu.
- Select the type of scan you want to run and start the scan.
- Review the results on screen; the detailed log is at %SYSTEMROOT%\debug\msert.log.
- Delete the downloaded msert.exe file when you are done.
Safety Scanner expires 10 days after you download it. Download a fresh copy for every later scan so it carries current definitions.
How to remove svchost.exe virus in Safe Mode
Safe Mode starts Windows with a limited set of drivers and services, so many startup programs, including malware, do not load.
- Open Settings > System > Recovery.
- Next to Advanced startup, select Restart now.
- In the Windows Recovery Environment, select Troubleshoot > Advanced options > Startup Settings > Restart.
- On the Startup Settings screen, choose Safe Mode with Networking so Microsoft Defender can still update.
- Sign in, open Windows Security and run a Full scan from Scan options.
- Restart the PC normally to leave Safe Mode.
If BitLocker encrypts the drive, have your BitLocker recovery key ready before you enter the Windows Recovery Environment.

How to stop a fake svchost.exe from starting with Windows 11
Malware usually returns at sign-in through a startup entry. Windows services start the genuine svchost.exe, so a startup app named svchost deserves suspicion.
- Right-click Start and select Task Manager.
- Select the Startup apps tab and look for any entry named svchost or with no publisher you recognise.
- Select the entry and choose Disable.
- Open Settings > Apps > Startup and set the same entry's toggle to Off if it is listed there.
- Run a Microsoft Defender full scan again so the file behind the entry is removed, not just stopped.
How to tell if the svchost.exe virus is gone
- Open Windows Security and select Protection history; every svchost.exe detection should show as removed or quarantined.
- Run
Get-Process -Name svchost | Select-Object Id, Pathagain in an administrator PowerShell window. - Check that every path now reads C:\Windows\System32\svchost.exe.
- Restart the PC and run a Quick scan; it should report no current threats.
- Check Task Manager > Startup apps again and make sure the disabled entry has not come back.
Should you delete svchost.exe or end the process?
Never delete or rename C:\Windows\System32\svchost.exe, and do not end Service Host processes to fix a suspected infection; let Microsoft Defender remove the impostor file instead. The genuine file runs Windows services such as networking, Windows Update and the firewall, so removing it breaks Windows. Ending a malicious copy by hand also leaves its file and startup entry behind, and it simply starts again at the next sign-in.
svchost.exe virus keeps coming back on Windows 11
The same svchost.exe threat returns after every restart
A hidden component quietly reinstalls the detected malware.
- Run a Microsoft Defender Offline scan from Scan options, which works outside Windows.
- Disable any unknown entry in Task Manager > Startup apps.
- Avoid the site or email that delivered it, because a removed file comes back if you download it again.
- Browse with Microsoft Edge, whose Microsoft Defender SmartScreen blocks sites with a poor reputation.
A Microsoft Defender scan will not complete or runs very slowly
Low free space on drive C, or other apps competing for the processor.
- Free up space on the system drive, because Defender needs room to quarantine files.
- Restart the PC and start the scan before you open any other app.
- Run Windows Update, then run the scan again.
Microsoft Defender finds nothing but svchost.exe runs from the wrong folder
Old definitions or cloud protection turned off.
- In Windows Security > Virus & threat protection, select Manage settings under Virus & threat protection settings.
- Turn on Cloud-delivered protection and Automatic sample submission.
- Select Check for updates under Virus & threat protection updates.
- Run a Full scan, then a Microsoft Defender Offline scan, then Microsoft Safety Scanner.
Windows still misbehaves after the malware is removed
The malware made changes that a scan cannot reverse.
- Back up your personal files to an external drive or OneDrive.
- Open Settings > System > Recovery and select Reset PC under Recovery options.
- Choose Keep my files to reinstall Windows and remove apps, or Remove everything for a clean start.
- Pick Cloud download to get a fresh copy of Windows from Microsoft.
- Restore files only from backups made before the infection.

How to protect Windows 11 from svchost.exe malware
These built-in settings keep a fake svchost.exe from getting in again. They cost nothing and stay on in the background.
- Open Settings > Windows Update, select Check for Windows updates and install what is offered.
- In Windows Security > Virus & threat protection > Manage settings, keep Real-time protection, Cloud-delivered protection and Tamper protection on.
- Under Ransomware protection, consider turning on Controlled folder access to stop unknown apps from changing files in protected folders.
- Turn on System Protection so Windows creates restore points you can return to.
- Download software only from the publisher's own site or the Microsoft Store.
A PC that caught one fake svchost.exe may carry other malware too, so remove any remaining virus before you sign in to banking or email sites again.
svchost.exe virus FAQ
Is svchost.exe a virus?
No. svchost.exe is the Windows Service Host, a system process that loads Windows services from DLL files. Malware sometimes copies the name to hide, so a svchost.exe running from any folder other than C:\Windows\System32 should be scanned and removed.
Where is the real svchost.exe located in Windows 11?
The genuine file is in the System32 folder of your Windows installation, normally C:\Windows\System32\svchost.exe. Windows services start it from %SystemRoot%\System32 with a -k switch that names the service group it should load.
Why are there so many svchost.exe processes in Task Manager?
On PCs with more than 3.5 GB of RAM, Windows runs most services in their own svchost.exe process. This isolates services from each other, so dozens of Service Host entries are normal and not a sign of infection.
Can I delete svchost.exe?
Never delete the copy in C:\Windows\System32, because Windows services depend on it and removing it breaks networking, updates and other core features. Let Microsoft Defender remove an impostor copy found anywhere else on the drive.
Why is svchost.exe using so much CPU?
Usually a Windows service inside it is busy, such as Windows Update installing updates. Run tasklist /svc to see which services the busy process hosts. Treat it as malware only if the process runs from a folder outside System32.
Does Windows Defender remove svchost.exe viruses?
Yes. Microsoft Defender Antivirus detects and removes malware that poses as svchost.exe. Run a full scan first, then a Microsoft Defender Offline scan, which runs outside Windows and catches malware that hides while Windows is running.
Can malware disguise itself as svchost.exe?
Yes. Malware often uses the svchost.exe name so it blends in with the many genuine Service Host processes. Microsoft's security tools flag svchost.exe running in an abnormal context for exactly this reason. Checking the file path exposes the impostor.
Will resetting Windows 11 remove a svchost.exe virus?
Resetting reinstalls Windows and removes installed apps, which removes most malware. Choose Remove everything for the cleanest result, and restore files only from backups made before the infection, because files on the PC may be affected.





