Event ID - 17

Event Id17
SourceMicrosoft-Windows-CertificationAuthority
DescriptionActive Directory Certificate Services did not start: Unable to initialize the database connection for %1. %2.
Event InformationAccording to Microsoft :

Cause :

This event is logged when Active Directory Certificate Services did not start.

Resolution :

Enable the connection between the CA and the certificates database

A certification authority (CA) needs to be able to connect to a certificates database file identified in the registry. To resolve this problem, confirm that the file identied in the registry exists, and if it does exist, that it has not been corrupted.
To perform this procedure, you must have local administrator permission, or you must have been delegated the appropriate authority.
To enable the connection between the certification authority (CA) and the certificates database:

Caution: Incorrectly editing the registry might severely damage your system. Before making changes to the registry, you should back up any valued data.
  1. On the computer hosting the CA, click Start, type , and then press ENTER.
  2. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CertSvc\Configuration .
  3. Check the value data for the REG_SZ entries named DBLogDirectory, DBSystemDirectory , and DBTempDirectory .Then, confirm that the CA database files exist in these locations.
  4. At a command prompt, type Esentutl.exe /g and press ENTER to check for database corruption.Replace databasename with the name of the database listed in the registry settings.
  5. If the database has been corrupted, at a command prompt, type Esentutl /r and press ENTER to correct the problem.
  6. Restart Active Directory Certificate Services (AD CS).
Verify :

The certificate database must be available in order for the Active Directory Certificate Services (AD CS) service to start.
To perform this procedure, you must have membership in local Administrators on the computer hosting the certification authority (CA), or you must have been delegated the appropriate authority.
To confirm that the CA database connection has been enabled:
  1. On the computer hosting the CA, click Start , point to Administrative Tools , and click Services .
  2. If Started is displayed in the Status column for the Active Directory Certificate Services service, the CA database connection has been enabled.
Reference LinksEvent ID 17 from Source Microsoft-Windows-CertificationAuthority

Catch threats immediately

We work side-by-side with you to rapidly detect cyberthreats
and thwart attacks before they cause damage.

See what we caught

Did this information help you to resolve the problem?

Yes: My problem was resolved.
No: The information was not helpful / Partially helpful.