COM Surrogate (dllhost.exe) Using 100% GPU in Windows 11

Published by Ryan Tan - Updated on

Say your PC is sitting idle with nothing open, the fans suddenly spin up, and Task Manager shows COM Surrogate (dllhost.exe) using close to 100% of your GPU, but the load drops whenever you click on Task Manager to look at it. Even though the file sits in System32 and your antivirus finds nothing, in the cases reported recently this is a crypto miner hiding behind the real dllhost.exe. This guide will explain how to tell if it’s the miner, how to remove it and what to do once it’s gone.

Also see: XMRig Miner Keeps Coming Back After You Delete It

COM Surrogate (dllhost.exe) Using 100% GPU in Windows 11

Why is COM Surrogate suddenly using your GPU?

COM Surrogate is a real Windows process that runs small pieces of code for Windows and apps, like the code that makes thumbnails for your photos and videos. It has no reason to sit at 100% GPU while you’re doing nothing.

The cases reported since late November 2026 come down to the same thing. A fake Python install in AppData\Local\Programs\Python\Python399 runs in the background as pythonw.exe. It starts the real dllhost.exe from System32 and uses it to mine cryptocurrency on your GPU, which is why “Open file location” shows C:\Windows\System32. Python has never had a version called “399”, so the folder name alone gives it away.

The miner pauses when you open Task Manager or the PC gets busy, and if you end it, it comes back with a new process ID. Antivirus scans, Microsoft Defender’s offline scan included, have missed it for several people.

It usually arrives with a fake download: a cracked game, a “PC port” or mod from a lookalike website, or a GitHub tool that pretends to be something else. Microsoft has seen GPU miners spread through lookalike download sites for tools like CrystalDiskInfo, HWMonitor and FurMark too. The same infection was already around in July 2026, and it may steal passwords as well. Other signs people saw: Registry Editor closing by itself, Calculator asking for firewall access, browser crashes on certain websites, a maxed-out upload speed, and a crypto wallet address pasted in place of what they had copied.

If you don’t find any of this on your PC, skip to the last section.

Related concern: MSBuild.exe Virus Keeps Connecting to Unknown Websites

Check if it’s the fake Python miner

Since the dllhost.exe itself is real, what you’re looking for is the process that started it. Task Manager’s Details page shows every running program by its file name.

  1. Press Ctrl + Shift + Esc to open Task Manager.
  2. Click Details on the left.
  3. Type “pythonw” in the search box at the top to find pythonw.exe in the list.pythonw.exe in Task Manager Details Windows 11
  4. Right-click pythonw.exe and select Open file location. If there’s more than one, check each.
  5. If File Explorer opens a folder named python3 inside Python399, under AppData\Local\Programs\Python, that’s the miner.Fake Python399 folder in AppData Windows 11

Then type “dllhost” in the search box and check the file location of each dllhost.exe (its description reads COM Surrogate). One that runs from anywhere other than C:\Windows\System32 (or SysWOW64) is fake and gets the same treatment below. A real Python install keeps its pythonw.exe in a folder like Python313 instead; leave that one alone.

dllhost.exe COM Surrogate in System32 Windows 11

Disconnect from the internet and stop pythonw.exe

Before removing anything, unplug the network cable or turn off Wi-Fi, so the malware can’t download its parts again or send anything out. Then end pythonw.exe, since ending dllhost.exe alone just makes it start another one.

  1. In Task Manager’s Details page, right-click the pythonw.exe that runs from the Python399 folder (the one you checked above).
  2. Select End task, and confirm.End task pythonw.exe Task Manager Windows 11

Your GPU usage should drop right away, but it comes back after a restart until you remove what starts it.

Remove its startup entry

The miner starts with Windows through a registry entry usually named “Microsoft Display Driver Manager” (or very close to it) that points into the Python399 folder. The quickest way to turn it off is Task Manager:

  1. In Task Manager, click Startup apps on the left.
  2. Select the pythonw entry and click Disable.Disable fake startup entry Task Manager Windows 11

To remove it completely, delete it in Registry Editor. Editing the registry the wrong way can damage Windows, so only delete the one value below and leave everything else alone. If you’re not sure, the Task Manager step above is enough for now.

  1. Press Win + R, type “regedit” and press Enter.
  2. Copy and paste the following path into the address bar and press Enter:
    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
  3. On the right, look at the Data column. Right-click the Microsoft Display Driver Manager value whose data points into the Python399 folder, and select Delete.Delete Microsoft Display Driver Manager Run key Registry Editor Windows 11

If Registry Editor closes by itself the moment it opens, that’s the malware fighting back. Do this section and the next one from Safe Mode, where it doesn’t run.

Pro tip: Enter Safe Mode in Windows 11/10 when PC isn’t booting

Delete the fake Python399 folder

With the process stopped and its startup entry gone, delete the folder it runs from.

  1. Open File Explorer, paste %LOCALAPPDATA%\Programs\Python into the address bar and press Enter.
  2. Right-click the Python399 folder and select Delete.Delete Python399 folder File Explorer Windows 11
  3. Empty the Recycle Bin, then restart your PC.

If Windows says the folder is open in another program, or it comes back after a restart, do it from Safe Mode. If you can’t get there from Windows, turning the PC off three times while Windows loads opens the recovery screen. Go to Troubleshoot > Advanced options > Startup Settings, click Restart, then press 4 for Enable Safe Mode (not 5, Safe Mode with Networking, since the PC should stay offline).

Scan with Microsoft Defender’s offline scan

The same download may have left other files behind. Run a full scan, then Microsoft Defender’s offline scan, which checks your PC before Windows starts, so malware that’s running can’t hide from it as easily. Before you scan, check Defender’s exclusions and remove any you didn’t add, since miners add their own folders there so the scan skips them. The XMRig guide linked at the top shows where they are. Save your work first, because the PC restarts.

  1. Open Windows Security from the Start menu and click Virus & threat protection.
  2. Click Scan options.
  3. Select Full scan and run it. When it’s done, come back to Scan options.
  4. Select Microsoft Defender Antivirus (offline scan) and start it.Microsoft Defender offline scan Windows Security Windows 11

The PC restarts, scans and restarts into Windows by itself. Results are under Protection history in Windows Security. Use the scans after the steps above, not instead of them.

Linked issue: dllhost.exe COM Surrogate High CPU/Memory Usage (Fix)

Change your passwords from another device

Since this malware may steal passwords, assume anything saved on the PC could have been taken. From your phone or another computer, change your passwords, starting with your email, then your bank and anything with a saved card. Turn on two-step verification and sign out other sessions where you can. Don’t do it on the infected PC, since anything still running there could see the new passwords.

Reset Windows if it keeps coming back

If the GPU load returns, or you just don’t trust the PC anymore, reset or reinstall Windows. A clean install from a bootable USB is the safest option. Back up only personal files (documents, photos), not programs or downloads.

Might be useful: How to Reset Windows 11/10 to Factory Default

What if there’s no pythonw.exe on your PC?

With no pythonw.exe, no Python399 folder and no odd startup entry, COM Surrogate may just be doing normal work, such as making thumbnails for a big folder of photos or videos. Turning off thumbnails in File Explorer is a quick test, and the dllhost.exe guide linked above walks through it.

If the load only shows while your browser is open, try turning off hardware acceleration in its settings. Either way, run the scans above, since this miner has more than one variant.


Ryan Tan
Ryan Tan is a writer and editor at WindowsDigitals.com with a background in software engineering. He loves coding and playing with new tech, and Windows is what he uses most. Ryan is a problem solver at heart when it comes to PCs. He would rather find the real cause of an issue than settle for a quick workaround.