If you see the “COM Surrogate has stopped working” error on Windows, the fix usually involves repairing or updating your video drivers, running System File Checker, or scanning for malware. This error typically appears when opening folders with video thumbnails or previewing certain files, and it is caused by a crash in the dllhost.exe process that Windows uses to run code from other programs safely. Below are the exact steps to resolve it, along with background on why it happens and how to prevent it.
What Is COM Surrogate and Why Does It Crash?
COM Surrogate is a generic Windows host process that runs under the name dllhost.exe. Its job is to let third-party code, such as video codecs or thumbnail generators, run in a separate process so that if that code crashes, it does not take down the main Windows Explorer or your entire system. When you open a folder containing video files, images, or other media, Explorer asks a COM object (like a codec or a thumbnail handler) to generate a preview. That object runs inside the surrogate process, and if it misbehaves—due to a bug, corruption, or incompatibility—the surrogate crashes and you see the error dialog.
Common triggers include:
- Outdated or faulty video drivers (especially NVIDIA, AMD, or Intel graphics).
- Third-party codecs (like K-Lite, CCCP, or DivX) that are incompatible with your Windows version.
- Corrupted system files or a damaged Windows Registry.
- Malware that injects itself into Explorer or the surrogate process.
- Large folders with many video files, which force the surrogate to generate many thumbnails at once.
Fix 1: Run System File Checker (SFC) and DISM
Corrupted system files are a frequent cause. The System File Checker scans protected system files and replaces corrupted ones. To run it:
- Open Command Prompt as administrator (press Windows + X and select “Command Prompt (Admin)” or “Windows Terminal (Admin)”).
- Type
sfc /scannowand press Enter. Wait for the scan to finish (it can take 15–30 minutes). - If SFC finds issues but cannot fix them, run
DISM /Online /Cleanup-Image /RestoreHealthand then re-run SFC.
After the scan, restart your PC and check if the error persists.
Fix 2: Update or Reinstall Your Video Drivers
Video drivers are the most common culprit because thumbnail generation relies heavily on the graphics stack. An outdated or buggy driver can cause the surrogate to crash when rendering previews.
- Press Windows + X and select “Device Manager.”
- Expand “Display adapters,” right-click your GPU (e.g., NVIDIA GeForce, AMD Radeon, Intel UHD), and choose “Update driver.”
- Select “Search automatically for updated driver software.” If Windows finds nothing, visit the GPU manufacturer’s website and download the latest driver for your model.
- If the error started after a recent driver update, roll back the driver by right-clicking the GPU, selecting “Properties,” going to the “Driver” tab, and clicking “Roll Back Driver.”
If updating does not help, uninstall the driver completely (check “Delete the driver software for this device”) and then reboot. Windows will reinstall a basic driver, and you can install the latest one from the manufacturer afterward.
Fix 3: Disable Thumbnail Previews (Temporary Workaround)
If you need to access the folder immediately and cannot wait for a full fix, you can disable thumbnails so the surrogate never tries to generate them. This stops the error but also removes visual previews.
- Open File Explorer and go to View (or the “View” tab in Windows 10/11).
- Click “Options” (or “Change folder and search options”).
- In the “View” tab, check the box “Always show icons, never thumbnails.”
- Click OK. The error should stop immediately.
To re-enable thumbnails later, uncheck that box. This is a good temporary measure while you apply the other fixes.
Fix 4: Check for Malware and Problematic Codecs
Malware can inject malicious code into the COM surrogate process, causing crashes. Run a full system scan with Windows Defender or a trusted third-party antivirus. Additionally, third-party codecs are a known trigger. If you have installed a codec pack, try uninstalling it and see if the error disappears. If it does, reinstall a newer version or switch to a lighter alternative like the built-in Windows codecs or VLC media player (which does not rely on system codecs for thumbnails).
Fix 5: Adjust the COM Surrogate Registry Setting (Advanced)
There is a registry tweak that can help in some cases, but it is not officially supported and should be done with caution. The idea is to change the DllSurrogate value for the CLSID of the problematic thumbnail handler. However, this is rarely necessary and can break other functionality. If you are comfortable with the Registry Editor, you can search for the specific CLSID mentioned in the error details (if any) and modify its DllSurrogate value to an empty string. But for most users, the simpler fixes above are sufficient.
Frequently Asked Questions
Why does COM Surrogate keep crashing when I open a folder with videos?
This is almost always because the video codec or thumbnail handler that Windows uses to generate previews is incompatible or corrupted. Updating your video drivers and codec packs usually resolves it. If not, disabling thumbnails is a reliable workaround.
Is COM Surrogate a virus?
No, the legitimate process is dllhost.exe located in C:\Windows\System32. However, malware can disguise itself with the same name. To verify, right-click the process in Task Manager and select “Open file location.” If it is not in System32, run a malware scan immediately.
Can I disable COM Surrogate to stop the error?
You cannot disable it permanently because Windows uses it for many essential functions, including thumbnail generation and some system operations. Instead, focus on fixing the underlying cause or disabling thumbnails only.
Will reinstalling Windows fix the error?
It usually would, but it is a drastic step. Try the fixes above first, as they resolve the issue in most cases without losing your files or settings. If the error persists after all other attempts, a repair install (keeping files) or a full reset may be necessary.
Does this error affect Windows 11 as well?
Yes, the COM Surrogate error appears on both Windows 10 and Windows 11. The fixes are identical because the underlying architecture is the same.
If none of these steps work, the problem may be tied to a specific third-party program. Try booting into Safe Mode (press Windows + R, type msconfig, go to the Boot tab, and check “Safe boot”). If the error does not appear in Safe Mode, a background program is likely the cause. You can then use the System Configuration tool to disable startup items one by one to isolate the culprit.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- iOS 18 Safari Not Working? Fixes That Help
- How to Check Your Linux Kernel for Spectre
- iPhone Safe Mode: How to Enable or Disable It
- Fix Slow Internet Lag on Samsung Galaxy Note
- How to Get iOS 17 on iPhone X (Safe Methods)
- Fix Gmail IMAP Error in Outlook: Step-by-Step