Monday, August 12, 2013

Windows Server 2012 “dcpromo”

Windows Server 2012 “dcpromo”

image
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


image
Head to server manager and add role on local server


image
Select Active Directory Domain Services

image
In task details select Action Promote this server to a domain controller

image
As this is the start of a new forest we need to add the forest and specifi root doman name

image

One VERY handy new feature most places in Windows Server 2012 ish the view script command

#
# 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
And we get the syntax for creating a new forest from powershell instead of using 10ish mouse clicks


image
And we know have a functional forest Smiley

No comments:

Post a Comment