I have logged in as Administrator to my windows 2012 server. I just installed active directory certificate services role, now I want to remove it (as this service prevents me from adding my server to a domain) but the roles are grayed out. What can I do?
Are you sure you're running the Remove Roles and Features wizard?
You can also try to remove the role via Powershell. Run Powershell as an Administrator then type the following in the console.
PS C:\WINDOWS\system32> Remove-WindowsFeature -Name AD-Certificate