certificate Auto enrollment is not working

SAIF WAEL 0 Reputation points
2026-08-23T19:27:51.25+00:00

Dears,

I’m facing an issue on multiple devices, but not all of them, where AD certificates are not being automatically enrolled from the CA server.

I have already tried gpupdate /force along with several other troubleshooting commands, but the issue is still occurring.

What’s strange is that after running gpupdate /force, the client machine does not appear to attempt any communication with the CA server, based on the network trace results. This is despite the required ports being open and reachable.

However, when I try to perform the certificate enrollment manually, the two expected certificates appear and the manual enrollment works successfully.

Initially, I received the following error:

The RPC server is unavailable (0x800706BA)

After clicking Retry, the enrollment succeeded and both certificates were installed successfully.

Could you please share any suggestions or troubleshooting steps to identify why Automatic Certificate Enrollment is not being triggered on these specific devices, while manual enrollment works successfully?

Windows for business | Windows Server | Directory services | Certificates and public key infrastructure (PKI)
0 comments No comments

5 answers

Sort by: Oldest
  1. Allan Solomon Mejia 7,915 Reputation points
    2026-08-23T22:40:54.1433333+00:00

    Hello @SAIF WAEL

    Since manual enrollment eventually succeeds and both certificates are issued, I wouldn't start by changing the certificate templates or CA configuration. The more interesting symptom is that the affected clients apparently don't initiate enrollment when Group Policy refreshes.

    I would troubleshoot this in two stages: first, confirm that auto-enrollment is actually being triggered, then investigate the 0x800706BA RPC error separately.

    On one affected computer, first verify that the certificate auto-enrollment policy is actually applied:

    gpresult /h C:\Temp\gpresult.html
    

    Check the resulting report for:

    Computer Configuration → Policies → Windows Settings → Security Settings → Public Key Policies → Certificate Services Client – Auto-Enrollment

    Make sure it is enabled with the expected automatic enrollment/renewal options.

    Then force the certificate auto-enrollment engine itself, rather than relying only on gpupdate:

    gpupdate /force
    certutil -pulse
    

    You can also explicitly trigger machine certificate auto-enrollment from an elevated prompt:

    certreq -autoenroll -q
    

    Microsoft documents that computer certificate auto-enrollment is triggered during startup and Group Policy refresh, and certreq -autoenroll can be used to force the process.

    Immediately afterward, check:

    Event Viewer → Applications and Services Logs → Microsoft → Windows → CertificateServicesClient-AutoEnrollment

    and:

    CertificateServicesClient-CertEnroll

    The Event IDs/errors generated immediately after certutil -pulse or certreq -autoenroll will be particularly useful.

    The earlier error:

    0x800706BA

    The RPC server is unavailable

    is also significant. TCP 135 being reachable isn't enough on its own because AD CS enrollment uses RPC/DCOM beyond the initial endpoint-mapper connection.

    Microsoft specifically documents several conditions that can produce 0x800706BA during certificate enrollment, including GPO user-right assignments, missing Authenticated Users permissions, Certificate Service DCOM Access membership, DCOM configuration, and RPC restrictions.

    Since this affects some machines but not all, compare one working client with one failing client. In particular, compare:

    gpresult /scope computer /r
    

    and test CA RPC communication:

    certutil -config "CAServer\CAName" -ping
    

    Also verify that the affected computer accounts still have Read, Enroll, and Autoenroll permissions on the relevant certificate templates and that those templates are published on the issuing CA.

    One detail I'd pay close attention to is whether the affected machines share the same OU, security baseline/GPO, VLAN, firewall policy, or Windows update level. If only a subset is affected, that comparison can expose the difference much faster than troubleshooting the CA globally.

    Microsoft has a dedicated troubleshooting article for the exact 0x800706BA certificate-enrollment condition:

    Microsoft – Error 0x800706BA during certificate enrollment

    If you can share the Event IDs and error messages from CertificateServicesClient-AutoEnrollment / CertEnroll immediately after running certutil -pulse on one affected machine, that should tell us whether we're dealing with an auto-enrollment trigger/GPO problem or an RPC/DCOM authentication problem.

    Please don't broadly change RPC/DCOM permissions or disable security controls as a workaround until we identify the failing component.

    Help make this community better for everyone: if this answer resolved your issue, please accept it or upvote it. If not, share more details in a comment so we can continue the discussion and find the right solution.

    Was this answer helpful?


  2. SAIF WAEL 0 Reputation points
    2026-08-23T22:48:52.1533333+00:00

    Hi Allan,

    kindly find the attached screenshots.

    Was this answer helpful?

    0 comments No comments

  3. SAIF WAEL 0 Reputation points
    2026-08-23T22:50:27.4166667+00:00

    Was this answer helpful?

    0 comments No comments

  4. SAIF WAEL 0 Reputation points
    2026-08-23T22:51:13.7933333+00:00

    Was this answer helpful?

    0 comments No comments

  5. SAIF WAEL 0 Reputation points
    2026-08-23T22:52:06.19+00:00

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.