Windows Server 2012 “dcpromo”
dcpromo went on holliday after Windows Server 2008 R2 so to promte a server to domain controller we need to use powershell or server manager , so with 12 years with dcpromo i exept to type that a few times more until i remember its gone away
Head to server manager and add role on local server
Select Active Directory Domain Services
In task details select Action Promote this server to a domain controller
As this is the start of a new forest we need to add the forest and specifi root doman name
One VERY handy new feature most places in Windows Server 2012 ish the view script command
#
# Windows PowerShell script for AD DS Deployment
#
# Windows PowerShell script for AD DS Deployment
#
Import-Module ADDSDeployment
Install-ADDSForest `
-CreateDnsDelegation:$false `
-DatabasePath “C:\Windows\NTDS” `
-DomainMode “Win2012″ `
-DomainName “internal.systemcenterdemo.dk” `
-DomainNetbiosName “INTERNAL” `
-ForestMode “Win2012″ `
-InstallDns:$true `
-LogPath “C:\Windows\NTDS” `
-NoRebootOnCompletion:$false `
-SysvolPath “C:\Windows\SYSVOL” `
-Force:$true
Install-ADDSForest `
-CreateDnsDelegation:$false `
-DatabasePath “C:\Windows\NTDS” `
-DomainMode “Win2012″ `
-DomainName “internal.systemcenterdemo.dk” `
-DomainNetbiosName “INTERNAL” `
-ForestMode “Win2012″ `
-InstallDns:$true `
-LogPath “C:\Windows\NTDS” `
-NoRebootOnCompletion:$false `
-SysvolPath “C:\Windows\SYSVOL” `
-Force:$true
And we get the syntax for creating a new forest from powershell instead of using 10ish mouse clicks
And we know have a functional forest 
No comments:
Post a Comment