Manually running the autoenrollment process

By default, all domain members automatically replicate the Public Key Services object of the Active Directory forest through the autoenrollment process. The triggers for this are:

  • When the user logs on (for computers, when the computer account logs on, i.e. at system startup).
  • By timer every 8 hours.
  • When updating Group Policy, assuming there has been a change.

If you do not want to wait for the autoenrollment to be triggered automatically, you can start it manually. The different ways to run the autoenrollment process are described below.

Implementation

Do you know TameMyCerts? TameMyCerts is an add-on for the Microsoft certification authority (Active Directory Certificate Services). It extends the function of the certification authority and enables the application of rule sets to realize the secure automation of certificate issuance. TameMyCerts is unique in the Microsoft ecosystem, has already proven itself in countless companies around the world and is available under a free license. It can be downloaded via GitHub and used free of charge. Professional maintenance is also offered.

The autoenrollment process can be started with the following command line command. It starts the process for the computer context and therefore requires elevated privileges (Run as Administrator).

certutil -pulse

Command prompt: certutil -pulse prints "CertUtil: -pulse command completed successfully."

For the user context, the autoenrollment process can be started with the -user argument.

certutil -pulse -user

Command prompt: certutil -pulse -user prints "CertUtil: -pulse command completed successfully."

Updating Group Policy also triggers the autoenrollment process - but only if a change has occurred in Group Policy. Running the gpupdate command with the /force switch causes all Group Policies to be reread, which is considered a change by the system.

gpupdate /force

Command prompt: gpupdate /force reports that the computer and user policy updates completed successfully

Accordingly, an event is generated which confirms this.

Event 1502, GroupPolicy: new settings from 3 Group Policy objects were detected and applied, computer CLIENT2.intra.adcslabor.de