Microsoft KB Archive/254152

{|
 * width="100%"|

Windows 2000 Certificate Authority Service Does Not Start and Returns Error (0x80004015)

 * }

ID: Q254152

-

The information in this article applies to:


 * Microsoft Windows 2000 Server

-

IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe.

SYMPTOMS
Microsoft Windows 2000 Certificate Authority service does not start, and you receive an error message citing error (0x80004015).

CAUSE
If the registration for the DCOM interface at:

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AppId\{D99E6E74-FC88-11D0-B498-00A0C90312F3} "or" HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AppId\{D99E6E73-FC88-11D0-B498-00A0C90312F3} (or both) contains both RunAs and LocalService entries, then the Certificate Authority service gets confused because it does not expect both values to be set. When both values are set, the call to CoRegisterClassObject does not work, with an error message stating:

CO_E_WRONG_SERVER_IDENTITY: 'The class is configured to run as a security id different from the caller.'

RESOLUTION
WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

For information about how to edit the registry, view the "Changing Keys and Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe. Note that you should back up the registry before you edit it. If you are running Windows NT or Windows 2000, you should also update your Emergency Repair Disk (ERD).

To work around this behavior, follow these steps:


 * 1) Run Registry Editor.
 * 2) Remove the RunAs entries from the following registry keys:
 * 3) Make sure that the LocalService entry exists under those same two registry keys, with the value set to CertSvc:

Additional query words: win2krelnotes

Keywords :

Version : WINDOWS:2000

Platform : WINDOWS

Issue type : kbprb

Technology :