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 ![Smiley](https://lh3.googleusercontent.com/blogger_img_proxy/AEn0k_s_Av3yDeYmXVWFmGB8FnjVpVPdRph7xxsvysAHS-tICJAMW6-_cp-7Ro_HPFAvSSXP9rwSRfezqY_S-X3AQPmptmNHySRW-sLlBrwP3jW53Q8CabxGEjAQ2EWd0KMvV_kbLztcM2vKSrT2=s0-d)
No comments:
Post a Comment