Configuring Server Core as a Domain Controller After installing the core Windows Operating System, the first step will be configuring the server. We can use sconfig.cmd to configure settings.
Change Hostname, configure IP settings, default gateway and DNS settings. Configuring a Windows Server 2012-based Server Core installation as a Domain Controller starts with one of the following:
- Promoting a standalone server to a Domain Controller for a new domain
- Promoting a member server to a replica or read-only replica Domain Controller (also known as an additional Domain Controller)
- Cloning a Windows Server 2012-based Server Core Domain Controller to a new replica Domain Controller
To create new Forest and promote Windows Server 2012 Core to be Domain Controller for that Forest, first Active Directory Services Role must be added:
Open PowerShell using powershell.exe Install-WindowsFeature AD-Domain-Services –IncludeManagementTools
Next type the following in PowerShell
Install-ADDSForest -DomainName “winadmin.org” -DomainNetbiosName “WINADMIN” -DomainMode Win2012R2 -ForestMode Win2012R2 -InstallDns –Force
The server will be rebooted after the server is promoted to Domain Controller. We can manage Active Directory using Active Directory Domain Services Tools from a remote computer.