How to configure Server Core as Domain Controller

Add-WindowsFeature AD-Domain-Services
Import-Module ADDSDeployment
Install-ADDSForest `
-CreateDnsDelegation:$false `
-DatabasePath “C:\Windows\NTDS” `
-DomainMode “Win2012” `
-DomainName “” `
-DomainNetbiosName “CHALMERS” `
-ForestMode “Win2012” `
-InstallDns:$true `
-LogPath “C:\Windows\NTDS” `
-NoRebootOnCompletion:$false `
-SysvolPath “C:\Windows\SYSVOL” `

How to install a DHCP Server on Server Core

Install-WindowsFeature DHCP –IncludeManagementTools
Add-DhcpServerv4Scope -Name “Internal” -StartRange -EndRange -SubnetMask -Description “Internal Network”
Set-DhcpServerv4OptionValue -ScopeID “Internal ” -DNSServer -DNSDomain -Router
Add-DhcpServerInDC -DNSName
Source :

How to add workgroup servers to Server 2012 Server Manager

Adding domain servers to the Windows Server 2012 Server manager is easy, however if your servers are all part of a workgroup, you need to do extra work.

  1. On the management host, run the powershell command.
    Set-Item wsman:\localhost\Client\TrustedHosts Server01 -Concatenate -Force
  2. Then run,
    New-ItemProperty -Name LocalAccountTokenFilterPolicy -path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System -propertyType DWord -value 1
  3. Then add the hosts to the local trusted hosts list with the follow command. Change Server01 to the name of your servers.
    Set-Item wsman:\localhost\Client\TrustedHosts Server01 -Concatenate -Force

For full details go to