Certificate Services could not initialize performance counters.
Performance counters make it possible to monitor the use of a certification authority (CA). If performance counters cannot be started, this data will not be available.
Initialize AD CS performance counters
Active Directory Certificate Services (AD CS) needs to initialize performance counters in order to track performance data.
To start performance counters, you may need to:
Restart the certification authority (CA).
Register the performance counters for a CA.
To perform these procedures, you must have Manage CA permission, or you must have been delegated the appropriate authority.
Restart a CA
To restart a CA:
On the computer hosting the CA, click Start, point to Administrative Tools, and click Services.
Right-click the Active Directory Certificate Services service, and click Restart.
If performance counters still do not start and the error recurs, try reregistering the performance counters on the CA.
Register performance counters
To register the performance counters for a CA:
On the computer hosting the CA, click Start, type cmd and press ENTER.
Type lodctr certsvcctrs.ini and press ENTER.
Restart the CA using the section Restart a CA.
To confirm that the performance counters are initialized and working:
On the computer hosting the CA, click Start, point to Administrative Tools, and click Reliability and Performance Monitor.
In the console tree, click Performance Monitor.
Right-click the chart, click Add Counter, and select any CA performance counter.
Confirm that you are able to collect CA performance data.
Target | Microsoft.Windows.CertificateServices.CARole.6.3 |
Category | EventCollection |
Enabled | True |
Event_ID | 110 |
Event Source | Microsoft-Windows-CertificationAuthority |
Alert Generate | False |
Remotable | True |
Event Log | Application |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.Windows.EventProvider | Default |
WriteToCertSvcEvents | WriteAction | Microsoft.Windows.CertificateServices.CARole.CertSvcEvents.Publisher | Default |
WriteToDB | WriteAction | Microsoft.SystemCenter.CollectEvent | Default |
<Rule ID="Microsoft.Windows.CertificateServices.CARole.6.3.CertSvcEvents.110" Enabled="onEssentialMonitoring" Target="CSDisc!Microsoft.Windows.CertificateServices.CARole.6.3" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Application</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">110</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-CertificationAuthority</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectEvent"/>
<WriteAction ID="WriteToCertSvcEvents" TypeID="Microsoft.Windows.CertificateServices.CARole.CertSvcEvents.Publisher"/>
</WriteActions>
</Rule>