Microsoft(C) Register Server has stopped working
The error message doesn’t seem to affect the routine operation but may pop up, causing an unwanted distraction. If any problem related to registering of the DLLs occurs, it flashes an error on your computer screen. Fortunately, a workaround for this issue exists. You can fix this issue by relaxing the protection status of your computer. To do so, do the following, Open your Control Panel and choose System. Next, click on Advanced system settings and then open the Advanced tab. Now under Performance, press the Settings button.
Now click on ‘Data Execution Prevention’ tab visible under the ‘Performance Options’ window and select Turn on DEP for all programs and services except those I select. Data Execution Prevention or DEP is a security feature that was introduced in Windows Vista onwards, that can help prevent damage to your computer from viruses and other security threats. You can Enable or Disable Data Execution Prevention or you can Turn Off Data Execution Prevention (DEP) for a particular Program. OK, coming back, you now have to specify the regsvr32.exe program, say Microsoft. To do this, click the ‘Add’ button and browse to C:\Windows\System32 folder. Search for and select the regsvr32.exe file. This is assuming you are running Windows 32-bit version. When prompted with the warning message stating the action could make your computer become unprotected and vulnerable to attacks, ignore it and click OK to continue. When prompted with the warning message stating the action could make your computer become unprotected and vulnerable to attacks, ignore it and click OK to continue. Finally, try to run the regsvr32 command again from the command line and things should work for you. You will also not see the message pop up. For machines running Windows 64-bit version, the folder path is C:\Windows\SysWOW64.
You cannot set DEP attributes on 64-bit executables
If you receive a You cannot set DEP attributes on 64-bit executables error when you try to do it, you may need to add the dllhost.exe file which is located in the C:\Windows\SysWOW64 folder too, to the list of programs along with regsvr32.exe. Hope this helps.