This guide installs Active Directory Domain Services on Windows Server 2025 and promotes the server to a working domain controller. Each stage shows the Server Manager steps and PowerShell commands that reach the same result (the PowerShell examples set a few paths and options explicitly that the wizard leaves at defaults). It replaces our older Windows Server 2016 AD DS guide. It also covers functional levels, the DSRM password, and the 2025 cumulative updates that broke things on domain controllers.
The short answer: give the server a static IP and a final hostname, and install the latest cumulative update. Then run Install-WindowsFeature AD-Domain-Services -IncludeManagementTools, or add the role in Server Manager. Next, promote the server with the Active Directory Domain Services Configuration Wizard or Install-ADDSForest. Set a DSRM password, keep DNS and Global Catalog enabled, and let the server reboot. Confirm the result with dcdiag, repadmin /showrepl, and the Directory Service event log.
What is Active Directory Domain Services?
Active Directory Domain Services (AD DS) is the Windows Server role that turns a server into a domain controller (DC). A DC is the central authority on a Windows network. It handles user accounts, computer accounts, Kerberos authentication, Group Policy, and usually internal DNS.
Getting a DC running takes two separate steps, and the difference matters:
| Stage | What it does | Tool |
|---|---|---|
| Install the role | Copies the AD DS binaries and management tools to the server. Nothing changes on your network yet. | Add Roles and Features Wizard, or Install-WindowsFeature |
| Promote the server | Creates the AD database (NTDS.dit), the SYSVOL share, and DNS zones. It either builds a new forest or joins an existing domain as another DC. | AD DS Configuration Wizard, or Install-ADDSForest / Install-ADDSDomainController |
A server with the role installed but not promoted is just a member server or workgroup server with some extra files. Promotion is the step that actually changes things.
AD DS runs only on Windows Server, on physical hardware or in a VM. You can’t run it on Windows 10 or 11. This guide covers Windows Server 2025 Standard and Datacenter. Essentials is sold only through OEM hardware partners, so it’s not covered here.
Prerequisites
Work through this checklist before you install anything. Most failed promotions trace back to a skipped item here.
- Windows Server 2025 Standard or Datacenter (Desktop Experience for the GUI steps; Server Core works for the PowerShell path)
- Local Administrator access with a password set on the built-in Administrator account
- A static IPv4 address, subnet mask, and default gateway reserved for the DC
- The final hostname set (for example
DC01). You can rename a DC after promotion, but it’s messy. - The latest cumulative update installed (see Step 3 for why this matters on 2025)
- A domain name plan. Use a subdomain of a domain you own, such as
ad.example.com. Avoid.localor names you don’t control. - Correct time on the host and the VM. With the default policy, Kerberos fails when clocks drift more than 5 minutes apart.
- For additional DCs only: network reach to an existing DC, the new server’s DNS pointed at that DC, and an account in Domain Admins. If nobody has run
adprepseparately, the first Windows Server 2025 DC in an existing forest also needs Enterprise Admins and Schema Admins, because the wizard runs it for you (Microsoft’s AD DS install guide). - For VMs: if you build from a template, run Sysprep on it first. Sysprep ensures the clone gets a fresh machine SID and unique identifiers before it joins the domain; duplicate SIDs alone are not generally what causes authentication failures, but skipping Sysprep is still an unsupported, unpredictable way to deploy a DC.
Hardware and licensing
| Requirement | Details |
|---|---|
| OS | Windows Server 2025 (build 26100), Standard or Datacenter |
| CPU | 1.4 GHz 64-bit processor with SSE4.2 and POPCNT support (Microsoft’s hardware requirements) |
| RAM | 2 GB minimum for both Server Core and Desktop Experience (Microsoft’s figure); 4 GB is Microsoft’s recommendation for Desktop Experience and comfortable for a lab DC |
| Disk | 32 GB minimum; plan for 60 GB or more so the NTDS database, logs, SYSVOL, and updates have room |
| Network | One NIC with a static IP |
| Licensing | Core-based licensing plus CALs. See Microsoft’s pricing page. The listed Standard MSRP is $1,176 and Datacenter is $6,771 on the published basis (retrieved October 4, 2026). A 180-day evaluation edition works for labs. |
A DC doesn’t need much hardware. An Intel NUC-class mini PC, or a VM on a Proxmox or Hyper-V host, handles a lab domain easily. If the DC runs on physical hardware at home, put it on a UPS. Losing power during a database write is one of the few ways to corrupt NTDS.dit.
Environment for this guide
The commands and wizard pages below follow Microsoft’s Windows Server 2025 documentation. The example values are:
| Setting | Example value |
|---|---|
| First DC hostname / IP | DC01 / 192.168.10.10/24 |
| Second DC hostname / IP | DC02 / 192.168.10.11/24 |
| Gateway | 192.168.10.1 |
| Domain (FQDN) | ad.example.com |
| NetBIOS name | EXAMPLE |
Swap in your own values everywhere. The sample outputs below are representative. Your GUIDs, timestamps, and names will differ.
Step-by-Step Guide
Step 1: Assign a Static IP Address
A DC hands out DNS and authentication, so its address can’t move. The promotion wizard also warns you if any physical adapter still uses DHCP.
GUI: open Settings > Network & internet > Ethernet > IP assignment > Edit. Choose Manual, turn on IPv4, and enter the IP, subnet mask, gateway, and DNS server. The classic path works too: Control Panel > Network and Sharing Center > Change adapter settings > right-click the adapter > Properties > Internet Protocol Version 4 (TCP/IPv4).
PowerShell (run in an elevated session):
# Find the adapter name first (usually "Ethernet")
Get-NetAdapter
# Assign the static address; -PrefixLength 24 equals 255.255.255.0
New-NetIPAddress -InterfaceAlias "Ethernet" -IPAddress 192.168.10.10 -PrefixLength 24 -DefaultGateway 192.168.10.1
# First DC, before promotion only: a resolver that can reach Windows Update (often the router).
# You'll replace this with AD DNS after promotion (Steps 10 and 11).
Set-DnsClientServerAddress -InterfaceAlias "Ethernet" -ServerAddresses 192.168.10.1
For an additional DC, set DNS to the IP of an existing DC (for example 192.168.10.10) instead of the router.
The router entry is only for the time before promotion. Once a server is a DC, its network adapter should list only AD DNS servers (other DCs and itself). Public or ISP resolvers belong in DNS forwarders (Step 11), not on a DC’s adapter.
Check the result:
Get-NetIPConfiguration -InterfaceAlias "Ethernet"
Expected output (trimmed):
InterfaceAlias : Ethernet
IPv4Address : 192.168.10.10
IPv4DefaultGateway : 192.168.10.1
DNSServer : 192.168.10.1
Step 2: Set the Final Hostname
Setup gives the server a random name like WIN-8F3K2QJ1L0P. Change it now. The DC’s name ends up in DNS records, service principal names, and replication metadata.
GUI: in Server Manager, click Local Server, then click the current Computer name. Click Change…, enter DC01, click OK, and restart when prompted.
PowerShell:
# -Restart reboots immediately so the new name takes effect
Rename-Computer -NewName "DC01" -Restart
After the reboot, run hostname. It should return DC01.
Step 3: Install the Latest Cumulative Update
Don’t promote an out-of-date Windows Server 2025 build. Microsoft documented several domain controller issues on earlier 2025 builds, each with its own fix:
- April 2025 (KB5055523): new Kerberos certificate checks for CVE-2025-26647 made key-trust logons (
msDS-KeyCredentialLink, such as Windows Hello for Business key trust) log Kerberos Event 45 or fail with Event 21. Microsoft addressed this in updates released after May 2025. - September 2025 (KB5065426): directory synchronization (DirSync, including Microsoft Entra Connect Sync) returned incomplete results for groups with more than 10,000 members. KB5068861 (November 11, 2025) resolved it.
- April 2026 (KB5082063): domain controllers in multi-domain forests that use Privileged Access Management could restart repeatedly after LSASS crashes. The out-of-band KB5091157 (April 19, 2026) resolved it.
All three are listed on the Windows Server 2025 resolved issues page (retrieved October 7, 2026), and any current monthly cumulative update includes every fix.
GUI: go to Settings > Windows Update > Check for updates. Install everything and reboot. Repeat until no updates remain.
PowerShell / Server Core: run sconfig, choose option 6) Install updates, and select All quality updates.
Check your build afterward:
# CurrentBuild should be 26100; UBR is the patch revision
Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion" | Select-Object ProductName, DisplayVersion, CurrentBuild, UBR
Compare the UBR value against the Windows Server 2025 update history on Microsoft Learn. You want the newest cumulative update, and at minimum a build released after April 19, 2026. Don’t rely on Get-HotFix -Id KB5068861. Cumulative updates supersede each other, so an older KB won’t show up once a newer one is installed.
Step 4: Install the AD DS Role
This step installs the binaries only. Nothing gets promoted yet.
Option A: Server Manager
- Open Server Manager and click Manage > Add Roles and Features.
- On Before You Begin, click Next.
- On Installation Type, select Role-based or feature-based installation and click Next.
- On Server Selection, select
DC01from the server pool and click Next. - On Server Roles, check Active Directory Domain Services. A dialog titled Add features that are required for Active Directory Domain Services? appears. Leave Include management tools (if applicable) checked and click Add Features. Then click Next.
- On Features, click Next. The previous step already added the required features.
- On the AD DS information page, click Next.
- On Confirmation, click Install. You can skip Restart the destination server automatically if required, because this install doesn’t need a reboot.
- When the progress bar shows Configuration required. Installation succeeded on DC01, click Close.
Option B: PowerShell
# -IncludeManagementTools adds ADUC, AD PowerShell module, and the ADDSDeployment module
Install-WindowsFeature AD-Domain-Services -IncludeManagementTools
Expected output:
Success Restart Needed Exit Code Feature Result
——- ————– ——— ————–
True No Success {Active Directory Domain Services, Group P…
Confirm it:
Get-WindowsFeature AD-Domain-Services
Display Name Name Install State
———— —- ————-
[X] Active Directory Domain Services AD-Domain-Services Installed
Step 5: Launch the Configuration Wizard and Choose a Deployment Type
In Server Manager, a yellow warning triangle now sits on the notification flag next to Manage. Click it. Under Post-deployment Configuration, click Promote this server to a domain controller.
The Active Directory Domain Services Configuration Wizard opens on the Deployment Configuration page. It offers three options:
| Option | Use it when |
|---|---|
| Add a domain controller to an existing domain | You already have a domain and want redundancy. This is covered in Step 10. |
| Add a new domain to an existing forest | You need a child or tree domain. This is rare in modern designs. |
| Add a new forest | This is your first DC. It’s the path for this step. |
For a new forest, select Add a new forest. In Root domain name, enter ad.example.com and click Next.
Step 6: Set Domain Controller Options (Functional Levels, DNS, GC, DSRM)
This page holds the decisions that matter most. Each field is worth a minute of thought.
Forest functional level and Domain functional level control which AD features you get and the oldest DC OS that can join. On Windows Server 2025, the dropdowns include Windows Server 2025, a new level, alongside older ones. Microsoft’s upgrade documentation says Windows Server 2025 DCs need the domain and forest at Windows Server 2016 functional level or higher. Check the dropdowns on your build for the exact options. Then pick a level with this rule:
- All DCs will run Windows Server 2025 (a new lab or greenfield domain): pick Windows Server 2025.
- You might add 2016, 2019, or 2022 DCs later: pick Windows Server 2016. Server 2019 and 2022 never got their own functional levels, so 2016 is the highest they support. Functional levels set the oldest DC OS allowed and the AD features available; optional features such as the new 32K-page database have their own forest-wide requirements on top of that.
Raising a level later is easy. Lowering it is very limited. When in doubt, start at 2016 and raise it once the older DCs are gone.
Specify domain controller capabilities:
- Domain Name System (DNS) server: checked by default. Leave it on. AD depends on DNS SRV records, and an AD-integrated zone on the DC is the simplest correct setup.
- Global Catalog (GC): checked and greyed out. The first DC in a forest must be a GC.
- Read only domain controller (RODC): greyed out. The first DC can’t be read-only.
Directory Services Restore Mode (DSRM) password: enter and confirm a strong password.
The DSRM password is the password for this DC’s DSRM Administrator account. That account is separate from every domain account and is stored on the DC itself, not in Active Directory. You use it only after booting into Directory Services Restore Mode. In that mode AD DS is stopped, so you can restore or repair the database. That’s also why it’s separate from the domain Administrator password: when you need DSRM, AD is offline and can’t check domain credentials. Each DC has its own DSRM password, and you can reset it later with ntdsutil (set dsrm password). Store it in your password manager with the DC’s name, because you’ll only need it on a bad day.
Click Next.
Step 7: DNS Options, NetBIOS Name, Paths, and Review
DNS Options: you’ll almost certainly see this yellow banner:
A delegation for this DNS server cannot be created because the authoritative parent zone cannot be found or it does not run Windows DNS server.
The wizard wants to create a delegation for ad.example.com in the parent example.com zone. Your public DNS host doesn’t run Windows DNS, and the wizard can’t reach it. For a new internal forest, this is expected and safe to ignore. Only stop if your design needs the delegation, such as when a separate internal Windows DNS server hosts example.com. Leave Create DNS delegation unchecked and click Next.
Additional Options: the wizard proposes a NetBIOS domain name from the first label (AD for ad.example.com). Change it to something meaningful, such as EXAMPLE. Users will see it in EXAMPLE\username logons. It must be 15 characters or fewer. Click Next.
Paths: the defaults are fine for most setups:
| Item | Default path |
|---|---|
| Database folder | C:\Windows\NTDS |
| Log files folder | C:\Windows\NTDS |
| SYSVOL folder | C:\Windows\SYSVOL |
Some admins move these to a separate volume on busy production DCs. For a lab, keep the defaults. Click Next.
Review Options: check your choices. Click View script to see the exact Install-ADDSForest command the wizard will run. Save it. It’s the easiest way to script your next build. Click Next.
Step 8: Pass the Prerequisites Check and Install
The wizard now checks the static IP, the local Administrator password, DNS, and permissions. Each result shows as a green check, a yellow warning, or a red error.
- Warnings (DNS delegation, “Windows Server 2025 domain controllers have a default for the security setting named Allow cryptography algorithms compatible with Windows NT 4.0”, and similar) don’t block installation. Read them, then continue.
- Errors grey out the Install button. Fix the cause and click Rerun prerequisites check. The Troubleshooting section below covers the usual suspects.
When you see All prerequisite checks passed successfully, click Install.
Warning: The server reboots automatically when promotion finishes, which takes a few minutes. A domain controller has no usable local user accounts. On a new forest, the built-in Administrator becomes the domain’s
EXAMPLE\Administratorwith the same password, so sign in with that domain account after the reboot. The only local credential left is the DSRM administrator password from Step 6, and it works only when you boot into Directory Services Restore Mode.
Step 9: The PowerShell Way with Install-ADDSForest
This does the same thing as Steps 5–8 in one command. Run it in an elevated PowerShell session after Step 4.
# ADDSDeployment ships with -IncludeManagementTools
Import-Module ADDSDeployment
$forestParams = @{
DomainName = "ad.example.com" # FQDN of the new forest root domain
DomainNetbiosName = "EXAMPLE" # Short name, 15 chars max
ForestMode = "Win2025" # Use "WinThreshold" (2016) if older DCs may join
DomainMode = "Win2025" # Must be equal to or higher than ForestMode
InstallDns = $true # Installs DNS Server and creates AD-integrated zones
DatabasePath = "C:\Windows\NTDS"
LogPath = "C:\Windows\NTDS"
SysvolPath = "C:\Windows\SYSVOL"
SafeModeAdministratorPassword = (Read-Host -Prompt "DSRM password" -AsSecureString)
NoRebootOnCompletion = $false # Reboot automatically when done
Force = $true # Suppress the Y/N confirmation prompt
}
# Dry run: same checks as the wizard's Prerequisites Check page
Test-ADDSForestInstallation @forestParams
# Real promotion
Install-ADDSForest @forestParams
A few notes on these parameters:
ForestModeandDomainModeaccept names or numbers.WinThreshold(or7) means Windows Server 2016.Win2025(or10) means Windows Server 2025. RunGet-Help Install-ADDSForest -Parameter ForestModeto see what your build accepts.DomainModecan’t be lower thanForestMode, but it can be higher (Microsoft’s functional-level reference). A higher domain level only matters in a multi-domain forest, where one domain has retired its older DCs before the others. In a new single-domain forest like this one, set both to the same value.Read-Host -AsSecureStringkeeps the DSRM password out of your script and your console history. Never hard-code it.Test-ADDSForestInstallationchanges nothing. Always run it first.
Typical output during the real run:
WARNING: Windows Server 2025 domain controllers have a default for the security setting named “Allow cryptography algorithms compatible with Windows NT 4.0” that prevents weaker cryptography algorithms when establishing security channel sessions.
WARNING: A delegation for this DNS server cannot be created because the authoritative parent zone cannot be found or it does not run Windows DNS server. If you are integrating with an existing DNS infrastructure, you should manually create a delegation to this DNS server in the parent zone to ensure reliable name resolution from outside the domain “ad.example.com”. Otherwise, no action is required.
Message Context RebootRequired Status
——- ——- ————– ——
Operation completed successfully DCPromo.General.3 False Success
Both warnings are the same ones the wizard shows, and neither needs action here. The server reboots shortly after the success message.
Step 10: Add a Second Domain Controller (GUI or PowerShell)
One DC is a single point of failure. If it goes down, nobody can log in or resolve internal names. Build DC02 by repeating Steps 1–4, and set its DNS to 192.168.10.10 (DC01) in Step 1.
Join the domain first. Microsoft’s tools can promote a workgroup server if you supply domain credentials. Joining first is still the better habit. DNS and connectivity problems show up right away instead of halfway through promotion.
# Prompts for domain credentials, joins ad.example.com, and reboots
Add-Computer -DomainName "ad.example.com" -Credential (Get-Credential "EXAMPLE\Administrator") -Restart
GUI path
- Sign in to DC02 as
EXAMPLE\Administrator. Click the notification flag > Promote this server to a domain controller. - On Deployment Configuration, select Add a domain controller to an existing domain. The domain should fill in as
ad.example.com. If the credentials field doesn’t show a Domain Admin, click Change… and enter one. - On Domain Controller Options, leave DNS server and Global Catalog (GC) checked. Confirm the Site name (
Default-First-Site-Nameunless you’ve created sites). Enter a DSRM password for DC02. - On Additional Options, leave Replicate from set to Any domain controller, or pick
DC01.ad.example.com. - Accept the default Paths, then review. If this is the first 2025 DC in an older forest, a Preparation Options page appears. It runs forest and domain preparation (
adprep) automatically with your Enterprise Admin and Schema Admin rights. - Pass the Prerequisites Check and click Install.
PowerShell path
Import-Module ADDSDeployment
$dcParams = @{
DomainName = "ad.example.com"
Credential = (Get-Credential "EXAMPLE\Administrator") # Domain Admin
SiteName = "Default-First-Site-Name"
ReplicationSourceDC = "DC01.ad.example.com" # Optional; omit to pick any DC
InstallDns = $true
# Global catalog is the default; add NoGlobalCatalog = $true only to opt out
DatabasePath = "C:\Windows\NTDS"
LogPath = "C:\Windows\NTDS"
SysvolPath = "C:\Windows\SYSVOL"
SafeModeAdministratorPassword = (Read-Host -Prompt "DSRM password" -AsSecureString)
Force = $true
}
Test-ADDSDomainControllerInstallation @dcParams
Install-ADDSDomainController @dcParams
The server reboots when it finishes. Once both DCs are up, point each DC’s DNS at the other DC first, then at its own loopback address:
# On DC02: preferred = DC01, alternate = itself
Set-DnsClientServerAddress -InterfaceAlias "Ethernet" -ServerAddresses 192.168.10.10,127.0.0.1
Run the mirror-image command on DC01 (192.168.10.11,127.0.0.1). This partner-first, loopback-last order follows Microsoft’s DNS client guidance for domain controllers. Leave the router and public resolvers off the DCs’ adapters; they go in forwarders, as in the next step.
Step 11: Finish DNS and Time Settings on the First DC
After a new-forest promotion, check DC01’s DNS client settings with Get-DnsClientServerAddress. The wizard typically points the adapter at the DC’s own loopback address; once DC02 exists, switch to the partner-first order from Step 10. Either way, clients and the DC still need to resolve internet names, so add a forwarder using your router or a public resolver:
# Forward non-AD queries upstream
Add-DnsServerForwarder -IPAddress 1.1.1.1, 9.9.9.9
Get-DnsServerForwarder
The first DC holds the PDC emulator role, so it’s the time source for the whole domain. Point it at a reliable external NTP source:
# 0x8 = client mode; /reliable:yes advertises this DC as a reliable time source
w32tm /config /manualpeerlist:"time.windows.com,0x8" /syncfromflags:manual /reliable:yes /update
Restart-Service w32time
w32tm /query /status
If DC01 is a VM, make sure the hypervisor’s time sync doesn’t compete with NTP on this DC. Run w32tm /query /source: it should name your NTP peer, not VM IC Time Synchronization Provider. On Hyper-V, a common fix is to turn off only the guest’s VM IC time provider (HKLM\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\VMICTimeProvider, Enabled = 0, then restart the Windows Time service). That keeps the host’s clock at boot but leaves NTP in charge afterward. Check your hypervisor vendor’s guidance first, and watch the drift for a day. Other DCs and domain members sync from the domain hierarchy on their own.
Step 12: Verify the Promotion
Sign in as EXAMPLE\Administrator and run three checks.
dcdiag
# Run from an elevated prompt; add /v for verbose detail on each test
dcdiag
Expected output (trimmed):
Directory Server Diagnosis
Performing initial setup:
Trying to find home server…
Home Server = DC01
* Identified AD Forest.
Done gathering initial info.Doing primary tests
Testing server: Default-First-Site-Name\DC01
Starting test: Connectivity
……………………. DC01 passed test Connectivity
Starting test: Advertising
……………………. DC01 passed test Advertising
Starting test: NetLogons
……………………. DC01 passed test NetLogons
Starting test: Replications
……………………. DC01 passed test Replications
Starting test: SysVolCheck
……………………. DC01 passed test SysVolCheck
You want passed test on Connectivity, Advertising, NetLogons, SysVolCheck, and Services. DFSREvent and SystemLog often fail in the first 10–15 minutes after a reboot. They’re just flagging warnings logged during startup. Wait a while and rerun dcdiag before you start troubleshooting. For a focused DNS health check, use dcdiag /test:dns.
repadmin (additional DCs)
repadmin /showrepl
Expected output on DC02 (trimmed):
Repadmin: running command /showrepl against full DC localhost
Default-First-Site-Name\DC02
DSA Options: IS_GC
Site Options: (none)==== INBOUND NEIGHBORS ======================================
DC=ad,DC=example,DC=com
Default-First-Site-Name\DC01 via RPC
Last attempt @ 2026-10-04 10:15:32 was successful.CN=Configuration,DC=ad,DC=example,DC=com
Default-First-Site-Name\DC01 via RPC
Last attempt @ 2026-10-04 10:15:32 was successful.
Look for a recent successful inbound attempt for each naming context. The exact list varies by DC and timing, and a brand-new DC may need a few minutes. For a one-screen view across all DCs, run repadmin /replsummary. The fails column should read 0.
Shares, services, and the Directory Service log
# SYSVOL and NETLOGON must both be shared, or Group Policy and logon scripts won't work
net share
# Core DC services should all show Running
Get-Service ADWS, DNS, Kdc, Netlogon, NTDS, DFSR | Select-Object Name, Status
# Confirms the DC is registered and shows its GC status and site
Get-ADDomainController -Identity $env:COMPUTERNAME | Select-Object HostName, IsGlobalCatalog, Site, OperatingSystem
dcdiag, repadmin, and the SYSVOL and NETLOGON shares are the real pass/fail checks. The event logs add context. Open Event Viewer (Server Manager > Tools > Event Viewer) and expand Applications and Services Logs > Directory Service. It lives under Applications and Services Logs, so don’t waste time hunting through Windows Logs. On a healthy new DC you’ll typically see entries like these:
- Event 1000: AD DS startup completed.
- Event 1394: all problems preventing updates to the AD DS database have been cleared.
- No recurring Error entries. Recurring errors matter more than whether a specific informational event appears.
These IDs are examples, not a checklist. Their absence alone doesn’t mean the promotion failed if dcdiag and repadmin are clean.
Also check Applications and Services Logs > DFS Replication for Event 4604, which typically confirms SYSVOL initialized. To pull recent entries from PowerShell:
Get-WinEvent -LogName "Directory Service" -MaxEvents 20 | Format-Table TimeCreated, Id, LevelDisplayName, Message -Wrap
For a final functional test, open Active Directory Users and Computers (dsa.msc) and create a test user. Then join a Windows 11 client to ad.example.com and sign in as that user.
Configuration
Key promotion settings
| Setting | Wizard location | PowerShell parameter | Recommendation |
|---|---|---|---|
| Forest functional level | Domain Controller Options | -ForestMode | Win2025 if all DCs are 2025; WinThreshold (2016) if older DCs may join |
| Domain functional level | Domain Controller Options | -DomainMode | Same as forest, or higher |
| DNS server | Domain Controller Options | -InstallDns | On for every DC unless you run a separate DNS platform |
| Global Catalog | Domain Controller Options | Default (omit -NoGlobalCatalog) | On for every DC in single-domain forests |
| DSRM password | Domain Controller Options | -SafeModeAdministratorPassword | Unique per DC, stored in a password vault |
| NetBIOS name | Additional Options | -DomainNetbiosName | Short, meaningful, 15 characters or fewer |
| Site | Domain Controller Options (additional DC) | -SiteName | Match the DC’s physical subnet once you define AD sites |
| Paths | Paths | -DatabasePath, -LogPath, -SysvolPath | Defaults are fine for labs |
Functional levels at a glance
| Level | PowerShell value | Oldest DC OS allowed | When to choose it |
|---|---|---|---|
| Windows Server 2025 | Win2025 / 10 | Windows Server 2025 | New domains where every DC runs 2025 |
| Windows Server 2016 | WinThreshold / 7 | Windows Server 2016 | Mixed 2016/2019/2022/2025 DCs, or a staged migration |
Older levels still appear in the cmdlet’s value list. Microsoft’s 2025 documentation sets 2016 as the floor for Windows Server 2025 DCs, though. Plan your raises with the upgrade guidance.
Tips and Troubleshooting
Prerequisites Check fails: local Administrator password not required
Error:
Verification of prerequisites for Domain Controller promotion failed. The new domain cannot be created because the local Administrator account password does not meet requirements. Currently, a password is not required for the local Administrator account.
Cause: the built-in Administrator account has the “password not required” flag set. That’s common on cloud images and some templates. This account becomes the domain Administrator.
Fix:
net user Administrator /passwordreq:yes
# Then set a strong password if one isn't already set
net user Administrator *
Click Rerun prerequisites check.
Prerequisites Check warns about a dynamic IP address
Message: This computer has at least one physical network adapter that does not have static IP address(es) assigned to its IP Properties.
Cause: an adapter is still on DHCP. A second NIC or IPv6 left on automatic is the usual culprit.
Fix: set a static IPv4 address as in Step 1. If the warning names IPv6 and you don’t use it, you can continue. Don’t disable IPv6 outright, because Microsoft doesn’t support DCs with IPv6 unbound. If the warning names an unused second adapter, disable that adapter.
DNS delegation warning during first-forest promotion
Message: A delegation for this DNS server cannot be created because the authoritative parent zone cannot be found...
Cause: the parent zone (example.com) lives somewhere the wizard can’t manage, such as a registrar or Cloudflare.
Fix: none needed for a new internal forest. The warning describes your design and nothing is broken. Only create the delegation by hand if machines outside your AD DNS need to resolve ad.example.com.
“An Active Directory domain controller for the domain could not be contacted”
Cause: this shows up when adding an additional DC. The new server’s DNS points at the router or a public resolver, so it can’t find the _ldap._tcp.dc._msdcs SRV records. Firewall rules can cause it too, if they block TCP/UDP 53, 88, 135, 389, 445, or the RPC dynamic range (49152–65535).
Fix:
# Point DNS at an existing DC
Set-DnsClientServerAddress -InterfaceAlias "Ethernet" -ServerAddresses 192.168.10.10
# Confirm DC discovery works
nltest /dsgetdc:ad.example.com
Resolve-DnsName _ldap._tcp.dc._msdcs.ad.example.com -Type SRV
Test-NetConnection DC01.ad.example.com -Port 389
When nltest returns DC: \\DC01.ad.example.com and the SRV lookup succeeds, rerun the promotion.
Replication errors after adding a DC (1722, 8524, 1908)
Cause: each error points somewhere specific. 1722 (RPC server unavailable) usually means a firewall or network block. 8524 means a DNS lookup failure. 1908 means the DC can’t find a domain controller. A wrong DC IP in DNS or a site/subnet mismatch can also cause any of them.
Fix:
repadmin /showrepl # Identify the failing partner and naming context
dcdiag /test:dns /v # Check DNS registration on both DCs
ipconfig /registerdns # Re-register the DC's A record
Restart-Service Netlogon # Re-register SRV records
repadmin /syncall /AdeP # A=all partitions, d=DN output, e=enterprise-wide, P=push
Rerun repadmin /replsummary until the fails column shows 0.
SYSVOL or NETLOGON share missing after promotion
Cause: DFS Replication hasn’t finished its first SYSVOL sync. On an additional DC, it may not reach a partner.
Fix: wait 10–15 minutes. Then check the DFS Replication event log for Event 4604 (success) or 4614/4612 (waiting for initial sync). If an additional DC is stuck, fix its connectivity to the partner DC as in the previous section. Run net share again afterward.
Kerberos Event IDs 45 and 21 after 2025 updates
Cause: the CVE-2025-26647 Kerberos protections that arrived with KB5055523 (April 8, 2025). Event 45 means the KDC saw a valid client certificate that doesn’t chain to a CA in the NTAuth store; Event 21 means the logon was refused. Key-trust logons via msDS-KeyCredentialLink were hit by a bug in these checks that later updates fixed.
Fix: install the latest cumulative update first. Since October 2025 the check is always enforced and the AllowNtAuthPolicyBypass registry workaround no longer applies, so if Event 21 persists on a current build, make sure the CA that issues your logon certificates is in the NTAuth store. Don’t demote or reinstall AD DS to work around it.
Entra Connect or DirSync misses members of large groups after KB5065426 (September 2025)
Cause: after KB5065426, DirSync queries could return incomplete membership for groups with more than 10,000 members.
Fix: apply KB5068861 (November 11, 2025) or any newer cumulative update, which Microsoft lists as the resolution. Check the Windows Server 2025 resolved issues page for current details. Skip the unofficial forum workarounds.
Quick tips
- Save the wizard’s script. View script on the Review Options page gives you a working
Install-ADDSForestcommand with your exact choices. - Don’t add other roles to a DC. File shares, IIS, and print servers belong on member servers. A lean DC is easier to secure and restore.
- Back up System State early. Event 2089 in the Directory Service log means the partition hasn’t been backed up. Install the <strong>Windows Server Backup</strong> feature, or use your backup platform, and include System State.
- Use SSD storage. The AD database is small but does lots of random I/O. A modest SSD noticeably speeds up logons and replication on busy DCs.
Wrapping Up
You now have a Windows Server 2025 forest with a healthy first DC and, ideally, a second one replicating next to it. The 2025 wizard looks a lot like the 2016 one. The differences are the new functional level, the higher floor for which DCs can coexist, and a rough 2025 patch history. That history makes “update before you promote” a hard rule.
Once you’ve done it by hand, switch to PowerShell. A splatted Install-ADDSForest or Install-ADDSDomainController block gives you the same result on every DC you build, and it doesn’t forget a checkbox at 6 p.m.
| Step | Action | Applies To |
|---|---|---|
| 1–3 | Static IP, final hostname, latest cumulative update | All DCs |
| 4 | Install-WindowsFeature AD-Domain-Services -IncludeManagementTools | All DCs |
| 5–9 | Configuration Wizard or Install-ADDSForest | First DC (new forest) |
| 10 | Domain join, then wizard or Install-ADDSDomainController | Additional DCs |
| 11 | DNS forwarders, PDC emulator time source | First DC |
| 12 | dcdiag, repadmin /showrepl, Directory Service log | All DCs |
Resources
- Install Active Directory Domain Services (Level 100) | Microsoft Learn
- AD DS installation and removal wizard page descriptions | Microsoft Learn
- Upgrade domain controllers to Windows Server 2025 | Microsoft Learn
- Resolved issues in Windows Server 2025 | Microsoft Learn
- Windows Server 2025 licensing guidance | Microsoft
- Windows Server pricing | Microsoft
Sources retrieved October 4, 2026.