Solve - com surrogate has stopped working in WINDOWS

COM surrogate error in  Windows 7 Photo viewer.               Hello, " COM surrogate has stopped working " an irritating pop-up appears during watching interesting photos and you rushed up to google, searched and came to this site, Don't worry you will be returning only after getting repaired with fulfillment. And no need to go with any change of codecs ( Nero & DivX ). Here I had shown two ways to Fix the COM surrogate error and prevent the " com surrogate has stopped working" pop-up.

Process explanation: 

In a NUTSHELL, “COM Surrogate” is DllHost.exe process created by any other process, which wants to execute some code from any DLL (code library), but it doesn’t want to execute the code in its own space since it does not trust the code in terms of stability. So it creates a “surrogate” to execute the code. If that DLL code dies during execution, the only DllHost.exe surrogate process dies (giving us this “COM Surrogate has stopped working” error) and the initial process still alive. If this killing code were executed in the initial process directly, then the initial process dies instead of a surrogate.

Though actually we have no need to care what it is and what all this means and how things work. We want our photos being shown.

The error says “COM Surrogate has stopped working”in windows 7 , 8 and looks like this:

Com surrogate has sopped working
Here are two ways to solve the COM surrogate error in Windows 7 Photo viewer:

1. Retrieve the whole Folder

            This Method is to solve only the COM surrogate error in Windows 7 Photo viewer
  • Retrieve the whole folder “C:\Program Files\Windows Photo Viewer” from another healthy computer.
  • Open your “C:\Program Files”.
  • Rename “Windows Photo Viewer” to any other name.
  •  Copy healthy “Windows Photo Viewer” folder from step 1  into “C:\Program Files”, so there will be “C:\Program Files\Windows Photo Viewer” folder with usual files.
  • Open your image, check that everything works.
  • Restart your PC.
  • Delete the old folder. Or keep it.
                                             ( OR )                                          

2. Adding " dllhost " file to fix the COM surrogate error in Windows 7 :
  • Press  Windows logo key + Pause Break 
  • Click advanced system settings on the left.      
                  COM surrogate error in  Windows 7 Photo viewer.
  • Click the Settings at the Advances Tab:
COM surrogate error in  Windows 7 Photo viewer.

Select " Turn on DEP for all programs"

COM surrogate error in  Windows 7 Photo viewer.

  • Select add and Choose dllhost file in the System32 dir.
COM surrogate error in  Windows 7 Photo viewer.

If you have finished successfully with the " com surrogate has stopped working windows 7 " then it's our pleasure to serve you And if you got messed up with something, feel free to scribble it into the comment box...!
You may like these too:

                            <<<  Windows 7 Tips and Tricks  >>>                 <<< How to share a file from one laptop to another. >>>                          Google search Expert Tips and Tricks

27 comments: Leave Your Comments

  1. I get an error "You can not set DEP attributes on 64 bit executables" when I try to add dllhost.exe to the exception.

  2. System DEP configuration settings apply only for 32-bit applications and processes when running on 32-bit or 64-bit versions of Windows. On 64-bit versions of Windows, if hardware-enforced DEP is available it is always applied to 64-bit processes and kernel memory spaces and there are no system configuration settings to disable it.

    Have you tried the first step?

  3. Thanks fixed mine..no more errors

  4. com surrogate has started working :)

  5. I am so grateful for the in a nutshell explanations. I was excited that this would fix my problem. Tried and turns out I have 64 bit as well. :( Option 1 is not an option for me. So you are saying there is no fix for 64 bit?

    1. C:\Windows\SysWOW64\dllhost.exe is the correct location for windows 7 64bit system - credits : Shahid

  6. Try retrieving the whole folder from your neighbour!

  7. C:\Windows\SysWOW64\dllhost.exe is the correct location for windows 7 64bit system

    1. Mine is 64-bit, so this worked for me. Thanks!

    2. working fine but i get warning that my computer may b damaged by virus by this


    Problem: My Windows 7 x86 (32bit) Virtual Instance on Parallels Mac was having issues with launching Internet Explorer 11 after a forced upgrade from Internet Explorer 10. And since one of the websites needed for work rely on and are only compatible with Internet Explorer, this was driving me nuts. Every time I would launch Internet Explorer, I would get bombarded with a series of COM Surrogate errors that would never stop until I had ended the tasked via Task Manager and/or restarted the virtual machine.

    Diagnosis: After attempting all the currently available solutions on the internet..: Updating Windows 7/8 Codecs, Adding Data Execution Prevention (DEP) entries for both COM Surrogate and Windows Host Process for my x86 Windows 7, Running an Antivirus scan, attempting to find a way to downgrade Internet Explorer 11 (nearly impossible), and even removing my Parallels Display Adapter form the Device Manager..

    HERE IS THE SOLUTION that worked for me:
    1. Hit Windows + R (Run) and launch "inetcpl.cpl" (Internet Explorer Settings)
    2. Go to the Advanced Tab, and Click "Reset..."
    3. Check "Delete Personal Settings" and click Reset. Tada!

    Enjoy :)

  9. you cannot set DEP attributes on 64 bit executables , this problem occurs...what should i do..

    1. C:\Windows\SysWOW64\dllhost.exe is the correct location for windows 7 64bit system - credits : Shahid

    2. still does not work properly for me after adding this file location and rebooting windows.

  10. you can not set DEP attributes on 64 bit executable , this problem occurs in my pc what should i do..?

  11. Try clicking on a single photo from a file, then run slide show. Slide show should then work. (The 'Com surrogate' error only appears on my computer whenever a complete file is selected.)

  12. On this computer, slide show works if you select a single photo from a file. ('Com Surrogate') error only appears if you select a complete file

  13. well done Shahid that seems to be the answer for the 64 bit version Thanks for your post

  14. Hi,

    This worked for me.

    1. Open Internet Explorer.

    2. Click Internet options.

    3. Click Advanced tab.

    4. Press restore advanced settings and Reset button with Delete Personal Settings checked.

    5. Apply and restart your PC.

    If unable to open internet options then restart system in safe mode.

    I hope this will be helpfull.



  15. for 64-bit systems


  16. can i download the Windows Photo Viewer folder instead of coping it?

  17. are there alternate key for window key + Pause Break ,because COM Surrogate doesnt let me open it





Subscribe :

Readers :

Site Rank: