Step 2

Create the forest

Install the Active Directory role, test the settings, then create the forest. The server restarts as the school's first domain controller.

20 minutes, mostly waitingRun as the local Administrator on CON-DC-01
Check the Administrator password now

Promotion refuses to run if the local Administrator has a blank or weak password. This password becomes the domain Administrator's, so make sure it matches the one in your password manager.

Install the role

This adds the Active Directory software and its admin tools. Nothing changes on the network yet.

CON-DC-01
Install-WindowsFeature AD-Domain-Services -IncludeManagementTools

Test the settings

Run the same settings through the test command first. It checks every prerequisite and changes nothing.

CON-DC-01
$dsrm = Read-Host "DSRM password" -AsSecureString

Test-ADDSForestInstallation `
  -DomainName "ad.contoso.com" `
  -DomainNetbiosName "CONTOSO" `
  -ForestMode "Win2025" `
  -DomainMode "Win2025" `
  -InstallDns `
  -SafeModeAdministratorPassword $dsrm

Look for Status: Success. Two warnings are normal: one about the security of older cryptography, and one saying a DNS delegation cannot be created.

Create the forest

CON-DC-01
Install-ADDSForest `
  -DomainName "ad.contoso.com" `
  -DomainNetbiosName "CONTOSO" `
  -ForestMode "Win2025" `
  -DomainMode "Win2025" `
  -InstallDns `
  -SafeModeAdministratorPassword $dsrm `
  -Force
SettingWhat it does
DomainNameThe full AD name from your plan.
DomainNetbiosNameThe short name staff type as CONTOSO\name.
ForestMode, DomainModeThe functional level from your plan.
InstallDnsInstalls DNS and makes this server the school's DNS server.
SafeModeAdministratorPasswordThe DSRM password.
ForceSkips the "are you sure" prompt. The test in step 2 covered that.

The server restarts by itself. The first sign-in afterwards shows "Applying computer settings" for a few minutes.

Prefer the graphical tools?

WhereServer Manager›yellow flag›Promote this server to a domain controller›Add a new forest

Enter the same values. The wizard's last page has a View script button that shows the same PowerShell as above.

Sign in as the domain

Sign in as CONTOSO\Administrator, then confirm the domain exists.

CON-DC-01
Get-ADDomain | Select-Object DNSRoot, NetBIOSName, DomainMode
Get-ADDomainController | Select-Object HostName, IPv4Address, IsGlobalCatalog
Get-DnsClientServerAddress -AddressFamily IPv4

Done when

Check

You see ad.contoso.com, CONTOSO and Win2025, CON-DC-01 on 10.0.20.10 with IsGlobalCatalog True, and DNS on the network card now points at 127.0.0.1.

Your progress is kept in this browser only.