I want to test my software's SSO, so I am trying to configure ActiveDirectory on Windows Server 2012, following this tutorial.
At "prerequisites step", the window is supposed to look like:
but unfortunately I get an error:
Sorry for the Japanese, it says:
x The prerequisites check for the domain controller upgrade failed.
The certificate server is installed.
i The prerequisites check is over.
x One of the above failed. Please correct and retry.
It seems that ActiveDirectory is already installed, but not configured.
Is there another way to enter the forest/domain name details, apart from this wizard?
Or should I uninstall ActiveDirectory, then restart the tutorial?
If you have already added the Active Directory Certificate Services before promoting it to a Domain Controller, remove the Certificate Services role, and then add the AD DS role again.
If the "Add Roles and Features" wizard does not allow you to remove Active Directory Certificate Services" (checkbox is greyed out), then you can remove it using the following PowerShell command:
See also: https://serverfault.com/a/717841/239616
The removal of certificates worked in my case too for clearing off the pre-requisite failure. I'm pasting a powershell command in case the GUI does not work
I really like the answer by Mathias R. Jessen.
as a PowerShell command; however, if the option Network Device Enrollment Service is already installed, so the above command will be not enough before uninstalling this feature:
Now, retry Mathias's solution and would work now ;-)