I have installed Windows Server 2012r2 Core edition and want to promote it to my first domain controller. I intended to do this with a Server Manager installed on a client computer.
I connected to the server with the Server Manager and was able to install the AD DS role and the DNS role. After installation when I want to deploy the Domain Controller however I get an error:
An unexpected error occured while trying to configure AD DS. Error encountered while trying to get the domain information. Access is denied
This happens while using the same user that was used to install the roles.
The server IP has been set to static, the DNS server points to itself, client and server are part of the same workgroup. I tried with RSAT tools in both Windows 8.1 and 10.
As a stop gap I installed the Server Manager on the server itself and from there I can deploy the Domain controller. However, I would like to understand why it is not working from the remote system.
All is done in virtual machines (not actual hardware) and I can therefore go back to the state before deployment.