dllhost.exe

COM Surrogate

System Process Safe Component Host
CPU Usage
0-10%
Memory
10-50 MB
Location
System32\
Publisher
Microsoft

Quick Answer

dllhost.exe is safe. It's the COM Surrogate process that runs COM objects outside of the requesting process, preventing crashes from affecting the entire system.

Is it a Virus?
✔ NO - Safe
Must be in C:\Windows\System32\
Warning
Crashes are intentional
Protects other processes from bad COM objects
Can I Disable?
⚠ Not recommended
File thumbnails and previews won't work

What is dllhost.exe?

dllhost.exe (COM Surrogate) is a Windows system process that hosts COM (Component Object Model) objects. When programs need to run COM components - especially those that generate file thumbnails or previews - Windows uses dllhost.exe as a separate "sandbox" process.

The key purpose is crash protection: if a COM object fails or crashes (common with video codecs or image handlers), only the dllhost.exe process crashes instead of File Explorer or the calling application.

Common Use: Most often seen when browsing folders with images or videos - dllhost.exe generates thumbnail previews so File Explorer doesn't have to.

Why Is dllhost.exe Running?

dllhost.exe runs when Windows needs to execute COM objects safely:

Multiple instances (5-10+) are normal when browsing folders with many media files.

Is dllhost.exe a Virus or Malware?

The legitimate dllhost.exe is NOT a virus. However, malware frequently impersonates this process because it's unfamiliar to users and crashes are expected behavior.

How to Verify Legitimacy

  1. File Location: Real dllhost.exe MUST be in C:\Windows\System32\. Any other location is malware.
  2. Digital Signature: Right-click in Task Manager → Open file location → Properties → Digital Signatures. Must show "Microsoft Windows".
  3. Command Line: In Task Manager Details tab, right-click → Properties. Should show "/Processid:{...}" with a GUID.
  4. Resource Usage: Normal is 10-50 MB RAM, brief CPU spikes. Constant 50%+ CPU for hours is suspicious.

Common Malware: Fake dllhost.exe files in AppData, Program Files, or Temp folders are often cryptocurrency miners or Trojans. Always verify location first.

Can I Disable or Remove dllhost.exe?

You cannot disable dllhost.exe, and doing so would break file thumbnails and previews throughout Windows.

What Happens If You End Task?

Note: Frequent "COM Surrogate has stopped working" errors indicate a problem with installed codecs or shell extensions, not with dllhost.exe itself.

How to Fix High CPU or Frequent Crashes

Solution 1: Disable Thumbnail Generation (Temporary Test)

  1. Open File Explorer
  2. Click ViewOptionsChange folder and search options
  3. Go to View tab
  4. Check "Always show icons, never thumbnails"
  5. Click Apply

If crashes stop, a codec or shell extension is the problem.

Solution 2: Update Video Codecs

  1. Uninstall suspicious codec packs (K-Lite, CCCP, etc.)
  2. Download latest K-Lite Codec Pack Basic (official site only)
  3. Install with default settings
  4. Restart computer

Solution 3: Disable DEP for dllhost.exe

  1. Right-click This PCProperties
  2. Click Advanced system settings
  3. Under Performance, click Settings
  4. Go to Data Execution Prevention tab
  5. Select "Turn on DEP for all programs except..."
  6. Click Add → Browse to C:\Windows\System32\dllhost.exe
  7. Restart computer

Solution 4: Run SFC and DISM

  1. Open Command Prompt as Administrator
  2. Run: sfc /scannow (wait 10-30 minutes)
  3. Run: DISM /Online /Cleanup-Image /RestoreHealth
  4. Restart if repairs were made

Best Fix: Frequent crashes are almost always caused by third-party video codecs. Uninstall all codec packs and reinstall a fresh copy.

Quick Answers

Is it a virus?
NO if in System32 with Microsoft signature. Check location first!
COM Surrogate stopped working?
Bad video codec or shell extension. Update or uninstall codec packs
Why multiple instances?
One per task (thumbnails, previews). 5-10+ is normal in media folders
High CPU usage?
Generating thumbnails for large videos. Wait or disable thumbnails
Safe to end task?
YES - Designed to crash without affecting other processes
What does it do?
Runs COM objects (thumbnails, codecs) in isolated process

Related Processes