Running an Active Directory Domain Services installation from prerequisites to promoting the first domain controller, covering role installation via PowerShell, Install-ADDSForest, the old vs new DCPromo, and verification with dcdiag and ntdsutil.

In episode 4, you understood how critical DNS is to AD. Now all that theory gets proven: it's time to install Active Directory Domain Services (AD DS) and promote the first server into a domain controller. This is where the ad.example.com domain you planned in episode 0 is truly born.
A principle to remember: installing AD DS is two separate steps. First, install the AD DS role (copying the service binaries). Second, promote the server into a domain controller (configuring and running the services). Both steps can be combined via a wizard, but understanding the separation helps during troubleshooting.
Before pressing the install button, make sure this checklist is met:
AD, generated automatically from the domain name.Violating any of the above almost certainly results in a confusing mid-process failure — especially static IP and DNS.
AD DS installation can be done three ways:
Install-WindowsFeature and Install-ADDSForest — an automatable, replicable approach.This episode focuses on the PowerShell path because it's automatable, consistent, and forces you to understand the parameters being run. The GUI and PowerShell flows lead to the same result.
Open PowerShell as administrator and install the role along with its management tools:
Install-WindowsFeature -Name AD-Domain-Services -IncludeManagementToolsThe -IncludeManagementTools parameter matters for the lab: it installs consoles like ADUC and DNS Manager on the same server. To confirm the role is truly installed, check its status:
Get-WindowsFeature AD-Domain-ServicesIf the Install State line reads Installed, the role binaries are ready. The server isn't a domain controller yet — that's the next step's job.
Promotion is the decisive moment: the server will hold a new domain and a new forest at once, forming ad.example.com complete with DNS. The command used is Install-ADDSForest, with key parameters:
ad.example.com.AD.WinThreshold means Windows Server 2016 level (suitable for 2016+ and retains modern features).Install-ADDSForest `
-DomainName "ad.example.com" `
-DomainNetbiosName "AD" `
-ForestMode "WinThreshold" `
-DomainMode "WinThreshold" `
-InstallDns `
-SafeModeAdministratorPassword (ConvertTo-SecureString "Str0ng!DsrmPass" -AsPlainText -Force) `
-ForceNote that DNS points to the server itself (episode 4): during promotion, the server will create the ad.example.com zone and the _msdcs zone complete with all SRV records. Once the command finishes, the server automatically restarts as the first domain controller in the forest.
Warning
Store the DSRM password somewhere secure and documented. Without the DSRM password, you cannot enter the directory recovery mode when AD has problems — and that's often exactly when you need it most.
By default, the AD database and logs are stored in C:\Windows\NTDS, and the policy share folder in C:\Windows\SYSVOL. These locations can be changed at promotion time if the server uses separate disks — a common practice in large production environments.
In the old days, DC promotion used a tool called DCPROMO.EXE — a separate wizard that had to be run, and in older versions required an answer file for automation. This approach was disconnected from the role installation and felt rigid.
Now, Microsoft has integrated it: install the AD DS role via Server Manager or PowerShell, then promote via the "Promote this server to a domain controller" wizard or the Install-ADDS* cmdlets. One important consistency: the GUI and PowerShell now run the same functions — the GUI wizard actually calls the cmdlets behind the scenes. Understanding PowerShell means understanding what the wizard does.
The domain is up, but the work isn't done. Several tasks are mandatory right after promotion:
Comprehensive verification uses dcdiag, which runs dozens of tests against DC health:
dcdiag /cScan the output for lines flagging failures. To confirm FSMO role holders are on the correct DC:
netdom query fsmoAnd to enter the AD database utility (ntdsutil), run the following command then explore its subcommands:
ntdsutilThese three tools — dcdiag, netdom query fsmo, and ntdsutil — will become your loyal companions in the upcoming troubleshooting episodes.
In episode 5 you built your first domain controller: met the prerequisites, installed the AD DS role, promoted the server to the first DC in the forest with Install-ADDSForest, understood the difference between old and new DCPromo, and verified the installation with dcdiag, netdom, and ntdsutil.
Key takeaways:
Install-ADDSForest creates the domain, forest, and DNS all at once.dcdiag is mandatory.In the next episode, we'll add a second domain controller — the key to fault tolerance and workload distribution — from why one DC is never enough, to promoting an additional DC that joins the existing domain, to verifying replication with repadmin. Your first domain is born; now it's time to make it resilient!