Windows Processes Explained

What Is dllhost.exe in Windows?
COM Surrogate Explained

A practical guide to what dllhost.exe does, why COM Surrogate appears in Task Manager, how to verify that it is safe, and how to fix high CPU, memory, or disk usage in Windows 10 and Windows 11.

Updated: June 2026Windows 10 & 11~10 min read

What Is dllhost.exe? Meaning of COM Surrogate in Windows

dllhost.exe is a legitimate Windows system process. In Task Manager it is usually displayed as COM Surrogate. Its job is to host certain COM components outside the main application that requested them. In simple terms, Windows uses dllhost.exe as a helper container for code that should run separately from File Explorer, media apps, system tools, or other programs.

The name dllhost means “DLL host.” A DLL file is a dynamic-link library: a file that contains reusable code for Windows or installed programs. Some DLL-based components cannot run directly as normal applications, so Windows starts dllhost.exe to load and execute them safely.

ℹ️
Quick Answer If you see COM Surrogate or dllhost.exe in Task Manager, it is usually normal. It is most commonly used when Windows generates thumbnails, previews media files, works with codecs, or runs COM components in a separate process.

What Does dllhost.exe Do?

The process can be involved in several background tasks:

TaskWhat It Means
Thumbnail generationCreates previews for images, videos, documents, and other files in File Explorer.
COM component hostingRuns Component Object Model objects outside the program that requested them.
Shell extensionsSupports third-party extensions added to File Explorer context menus, previews, or properties windows.
Media metadata readingHelps Windows read video, photo, and audio information through codecs and handlers.
Crash isolationPrevents some component crashes from taking down File Explorer or another main application.

Why Is dllhost.exe Needed in Windows 10 and Windows 11?

The main reason Windows uses dllhost.exe is stability. Some components that Windows needs are implemented as COM objects. If they were loaded directly inside File Explorer and one of them crashed, File Explorer could crash with it. By placing the component inside dllhost.exe, Windows creates a separation layer.

This is why the process is called COM Surrogate: it acts as a surrogate process for COM objects. The component does its work inside dllhost.exe, while the main program communicates with it from the outside.

Why It Matters COM Surrogate improves reliability. If a faulty codec, thumbnail handler, or shell extension fails, Windows can often terminate only the dllhost.exe instance instead of crashing the entire desktop shell.

Common Situations Where dllhost.exe Starts

Is dllhost.exe Safe, or Could It Be Malware?

The real dllhost.exe is safe. It is a standard Microsoft Windows component. However, malware can use similar names to look trustworthy, and malicious software may also abuse COM-related mechanisms. For that reason, you should check the file location and digital signature if the process behaves suspiciously.

  1. Press Ctrl + Shift + Esc to open Task Manager.
  2. Go to the Processes tab or the Details tab.
  3. Find COM Surrogate or dllhost.exe.
  4. Right-click it and choose Open file location.
  5. Verify that the file is located in C:\Windows\System32\.
  6. Right-click the file, open Properties, and check the Digital Signatures tab. The signer should be Microsoft Windows or Microsoft Corporation.
Legitimate Location The genuine 64-bit system file is normally located here:
C:\Windows\System32\dllhost.exe
🚨
Suspicious Signs Treat the process as suspicious if it runs from C:\Users\, C:\ProgramData\, C:\Temp\, an unknown folder, or a folder with a random name. Also be careful if the file has no Microsoft digital signature.

dllhost.exe File Location, Signature, and Normal Properties

On a standard Windows installation, dllhost.exe is stored in the Windows system directory. On 64-bit versions of Windows, you may also see a 32-bit copy used for 32-bit COM components.

# Main 64-bit Windows system file:
C:\Windows\System32\dllhost.exe

# 32-bit compatibility copy on 64-bit Windows:
C:\Windows\SysWOW64\dllhost.exe
PropertyExpected Value
Process namedllhost.exe
Task Manager nameCOM Surrogate
PublisherMicrosoft Corporation
Main pathC:\Windows\System32\dllhost.exe
Compatibility pathC:\Windows\SysWOW64\dllhost.exe
Startup behaviorStarted on demand by Windows or applications
Can it be removed?No, it is a system component
ℹ️
System32 vs SysWOW64 On 64-bit Windows, System32 contains 64-bit system files, while SysWOW64 contains many 32-bit compatibility files. Seeing dllhost.exe in both folders can be normal.

Why Are There Multiple dllhost.exe or COM Surrogate Processes?

It is normal to see more than one COM Surrogate process. Windows can start a separate dllhost.exe instance for different COM components, user sessions, bitness requirements, or isolation boundaries. For example, one instance may be handling thumbnails, while another is hosting a different shell extension.

Multiple instances are not automatically a sign of malware. The important factors are the file location, digital signature, parent process, and resource usage pattern.

When Multiple dllhost.exe Processes Are Normal

When You Should Investigate

dllhost.exe High CPU, Memory, or Disk Usage — Common Causes

In normal operation, dllhost.exe usually uses little CPU and memory. Temporary spikes are common when Windows is generating thumbnails or reading media metadata. Persistent high usage usually points to a damaged media file, a problematic codec, a broken shell extension, or malware.

CauseTypical SymptomsWhat to Check
Corrupt video or image fileCPU rises when opening one specific folderMove files out in small groups to find the problematic file
Faulty codecHigh CPU with video thumbnails or previewsUninstall codec packs or update media software
Broken shell extensionExplorer freezes, crashes, or right-click menu is slowDisable third-party shell extensions
Thumbnail cache problemRepeated thumbnail rebuilding and disk activityClear the thumbnail cache
Network or external drive issueSlow Explorer when browsing remote foldersTest with the drive disconnected or network path unavailable
MalwareWrong file path, no signature, strange network activityRun a full security scan
⚠️
Important Do not assume dllhost.exe itself is the problem. In many cases, it is only the host process. The real cause may be a codec, preview handler, file, or shell extension loaded inside it.

How to Fix dllhost.exe High CPU or COM Surrogate Errors

Try the following methods in order. Start with the safest steps and move to deeper troubleshooting only if the problem returns.

Fix 1 — Restart File Explorer

  1. Press Ctrl + Shift + Esc to open Task Manager.
  2. Find Windows Explorer.
  3. Right-click it and choose Restart.
  4. Check whether COM Surrogate returns to normal CPU usage.

Fix 2 — Clear the Thumbnail Cache

  1. Press Win + R, type cleanmgr, and press Enter.
  2. Select the system drive, usually C:.
  3. Check Thumbnails.
  4. Click OK and confirm deletion.
  5. Reopen the folder that caused the problem.

You can also clear thumbnails through Settings → System → Storage → Temporary files in Windows 10 and Windows 11.

Fix 3 — Find a Problematic Media File

  1. Open the folder where dllhost.exe usage spikes.
  2. Switch File Explorer to Details view instead of large icons.
  3. Move half of the files to a temporary folder.
  4. Check whether the CPU spike stops.
  5. Repeat the process until you identify the file that triggers the issue.
ℹ️
Tip Large MKV, AVI, MP4, MOV, RAW photo, and partially downloaded files are common triggers because Windows tries to read metadata and generate thumbnails for them.

Fix 4 — Disable Thumbnails Temporarily

  1. Open File Explorer.
  2. Click View → Options or More → Options.
  3. Open the View tab.
  4. Enable Always show icons, never thumbnails.
  5. Click Apply and OK.

If high CPU usage stops after this change, the issue is probably related to thumbnails, codecs, or media preview handlers.

Fix 5 — Disable Problematic Shell Extensions

Third-party shell extensions can add context menu items, preview handlers, property handlers, cloud sync overlays, and archive tools to File Explorer. If one of them is broken, COM Surrogate or Explorer may become unstable.

  1. Use a trusted shell extension manager such as ShellExView from NirSoft.
  2. Sort extensions by Company.
  3. Disable non-Microsoft extensions in small groups.
  4. Restart File Explorer after each change.
  5. Re-enable extensions one by one to find the faulty item.

Fix 6 — Remove or Update Codec Packs

If the problem appears when opening folders with videos, update or uninstall third-party codec packs. Modern Windows can handle many common media formats without large codec bundles, and outdated packs are a frequent cause of COM Surrogate crashes.

Fix 7 — Run System File Checker and DISM

Open Command Prompt as Administrator and run:

sfc /scannow

If SFC reports errors that it cannot repair, run:

DISM /Online /Cleanup-Image /RestoreHealth

After DISM finishes, run sfc /scannow again and restart the PC.

Fix 8 — Scan for Malware

  1. Open Windows Security.
  2. Go to Virus & threat protection.
  3. Choose Scan options.
  4. Run a Full scan.
  5. If you suspect a serious infection, run Microsoft Defender Offline scan.

Can You Disable or Delete dllhost.exe?

You should not delete dllhost.exe. It is part of Windows and is required for normal COM functionality. Removing it can break File Explorer previews, shell features, legacy applications, and system components.

You can end a specific COM Surrogate process temporarily in Task Manager, but Windows or an application may start it again when needed. Ending it is useful only when it is stuck or consuming high CPU because of a problematic file or extension.

✓ Safe Actions

  • Restart File Explorer
  • Clear thumbnail cache
  • Disable thumbnails temporarily
  • Remove broken codecs
  • Disable third-party shell extensions
  • Run SFC, DISM, and antivirus scans

✗ Avoid These Actions

  • Deleting dllhost.exe from System32
  • Replacing it with a file from the internet
  • Disabling random COM services without knowing their purpose
  • Changing permissions on protected Windows folders
  • Killing every dllhost.exe instance repeatedly instead of finding the cause
🚨
Do Not Download dllhost.exe Never download dllhost.exe from DLL download sites or forums. If the original file is damaged, use sfc /scannow, DISM, Windows Update, or an in-place repair install.

Frequently Asked Questions About dllhost.exe and COM Surrogate

Q Is dllhost.exe a virus?

No. The real dllhost.exe is a Microsoft Windows system file. It becomes suspicious only if it is located outside the Windows system folders, lacks a Microsoft digital signature, or behaves like malware.

Q Why does Task Manager show COM Surrogate instead of dllhost.exe?

Task Manager shows the friendly name COM Surrogate because dllhost.exe acts as a surrogate host process for COM objects. On the Details tab, you can still see the executable name dllhost.exe.

Q Can I end COM Surrogate in Task Manager?

Yes, you can end a stuck instance. It is generally safe, but you may lose a thumbnail generation task, preview operation, or metadata reading operation. Windows may start a new instance automatically.

Q Why does dllhost.exe use the internet?

dllhost.exe itself is not normally a web-browsing component. If you see network activity, check which component is hosted inside it, verify the file location, and scan the system. Some legitimate COM components can communicate online, but unexplained network traffic deserves investigation.

Q Why does dllhost.exe crash when I open a folder?

The most common reasons are a corrupt media file, a faulty codec, or a broken shell extension. Switch the folder to Details view, clear the thumbnail cache, and test files in smaller groups to find the trigger.

Q Is dllhost.exe related to rundll32.exe?

They are different Windows components. dllhost.exe hosts COM objects, while rundll32.exe runs specific functions exported from DLL files. Both can be legitimate, and both are sometimes imitated by malware.

Q Should I block dllhost.exe in the firewall?

Blocking it globally is not usually recommended because it may affect legitimate COM-based features or applications. First identify why it is making a connection. If the file path is suspicious, treat it as a malware issue rather than a firewall configuration issue.

Conclusion: Should You Worry About dllhost.exe?

In most cases, dllhost.exe is a normal and necessary Windows process. It appears as COM Surrogate because Windows uses it to host COM components separately from the programs that request them. This improves stability and helps File Explorer handle thumbnails, previews, metadata, codecs, and shell extensions.

You should investigate dllhost.exe only when it runs from the wrong folder, has no Microsoft signature, consumes high CPU for a long time, crashes repeatedly, or appears together with other signs of infection. For performance problems, the best approach is to find the component loaded inside COM Surrogate: thumbnails, codecs, corrupt media files, and third-party shell extensions are the usual suspects.

Bottom Line dllhost.exe is safe when it is located in C:\Windows\System32\ or C:\Windows\SysWOW64\ and signed by Microsoft. Do not delete it. If it causes high CPU or crashes, troubleshoot thumbnails, codecs, shell extensions, and malware instead.