Hello
Thank you for your question and reaching out. I can understand you are having query\issues related to certutil command.
"The RPC server is unavailable." often belongs to the DNS/firewall,please check those settings,or you could perform a network capture,to determine where is breaking down. Hence Disable any Antivirus program or Windows firewall you may have for temporary purpose.
- Please try to reset CA Flag by using commands
certutil -setreg SetupStatus -SETUP_DCOM_SECURITY_UPDATED_FLAG
net stop certsvc
net start certsvc
2 . Please try to manually update the DCOM security settings for the certificate service, run the following commands at a command prompt:
certutil -setreg SetupStatus -SETUP_DCOM_SECURITY_UPDATED_FLAG
net stop certsvc
net start certsvc
Reference article :
https://social.technet.microsoft.com/Forums/Azure/en-US/247d8453-d0cc-4df6-a638-e472ae1f2cad/getting-ca-generate-error-in-dc?forum=winserver8gen
---------------------------------------------------------------------------------------------------------------------------------
--If the reply is helpful, please Upvote and Accept as answer--