Categories

Creating a new AD forest

One big change with Windows Server 8 is that dcpromo is no more – its gone, gone gone.

Instead the promotion wizard is started from Server Manager. Install the AD Domain Services role and you will see a notification at the top right of the Server Manager console with a complete Active Directory configuration option.  Click that and the wizard starts. If you’ve used dcpromo on earlier versions of Windows there won’t be any surprises.

Best of all you get the PowerShell commands to do the job

Import-Module ADDSDeployment
Install-ADDSForest `
-CreateDNSDelegation:$false `
-DatabasePath "C:\Windows\NTDS" `
-DomainMode "Win8" `
-DomainName "Beta8.test" `
-DomainNetBIOSName "BETA8" `
-ForestMode "Win8" `
-InstallDNS:$true `
-LogPath "C:\Windows\NTDS" `
-RebootOnCompletion:$true `
-SYSVOLPath "C:\Windows\SYSVOL" `
-Force:$true

already to be re-used.  The AD Administrative Centre also produces the PowerShell it uses under the hood but thats a story for another day.

The ADDSDeployment module has a number of cmdlets

PS> Get-Command -Module ADDSDeployment

Capability      Name
----------      ----
Cmdlet          Add-ADDSReadOnlyDomainControllerAccount
Cmdlet          Install-ADDSDomain
Cmdlet          Install-ADDSDomainController
Cmdlet          Install-ADDSForest
Cmdlet          Test-ADDSDomainControllerInstallation
Cmdlet          Test-ADDSDomainControllerUninstallation
Cmdlet          Test-ADDSDomainInstallation
Cmdlet          Test-ADDSForestInstallation
Cmdlet          Test-ADDSReadOnlyDomainControllerAccountCreation
Cmdlet          Uninstall-ADDSDomainController

 

I’ll be trying out the Install-ADDSDomainController soon

Leave a Reply