One thing that I’ve always enjoyed working in IT for the past 8 years is trying to find a solution to complex Windows error messages. I have already written about many of them, such as “Device does not start”, “Stop: blue screen error 0x00000F4”, etc.
Another issue I encountered recently was the following:
Microsoft’s Registry Server (C) has stopped working
I got this message when trying to register a DLL using regsvr32 command from the command line in Vista Ultimate x64. I used to register DLLs without problems in Vista Business x32, but haven’t tried it in x64.
This error generally appears to occur more frequently on Windows Vista or Windows XP x64 editions and is mainly caused by the Windows Vista Data Execution Prevention feature, also known as DEP. To fix this, you must add an exception for regsvr32 in the DEP dialog. Here’s how:
Add an exception to DEP
Step 1. Open “Start”, “Control Panel” and click “System”.
Step 2. Now go to the “Advanced” tab and in the “Performance” section click “Settings”.
Step 3. Click on “Data Execution Prevention” and select “Enable DEP for all programs and services except those I have selected: radio button”.
Step 4: Now click the Add button, navigate to the C: Windows System32 folder and select the regsvr32.exe file. When you receive a message stating that this could leave your computer unprotected and vulnerable to attacks, just click OK to continue.
Click OK and then click OK again to exit. Now try running regsvr32 from the command line again and hopefully you don’t get this error! If so, please leave a comment and I’ll try to help! Enjoy!