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.