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 :

Do not display last logged on user

You can configure this security setting by opening the appropriate policy and expanding the console tree as such:
Computer Configuration\Windows Settings\Security Settings\Local Policies\Security Options\
How to edit security settings on a group policy object.

Become super users (root) on Mac OS X


  • From the Apple menu choose System Preferences….
  • From the View menu choose Users & Groups.
  • Click the lock and authenticate as an administrator account.
  • Click Login Options….
  • Click the “Edit…” or “Join…” button at the bottom right.
  • Click the “Open Directory Utility…” button.
  • Click the lock in the Directory Utility window.
  • Enter an administrator account name and password, then click OK.
  • Choose Enable Root User from the Edit menu.
  • Enter the root password you wish to use in both the Password and Verify fields, then click OK.
  • Or from Terminal when logged in as an admin user –
    dsenableroot to enable,
    dsenableroot -d to disable