This guide shows how to create a domain controller step by step, with every setting in the order you will use it. A domain controller (DC) is the server at the heart of an Active Directory domain: it stores the directory of users, computers and groups, authenticates logons, and usually also serves DNS for the domain. Creating one is the classic first project after installing Windows Server.

dns LAB TOPOLOGY & PREREQUISITES
# example values used while writing and testing this guide
LAB VM
WINDOWS BUILD
VALIDATION
01constructionCreate a domain controller: Prerequisites
- A Windows Server 2016/2019 VM, installed per the Windows Server guide or the Server 2016 VM guide
- A static IP address — a DC changing IPs is bad news; set the DNS server on the NIC to the machine’s own address
- Decided names: a NetBIOS name (
LAB) and a DNS domain (lab.local)
02downloadStep 1: Install the AD DS Role
In Server Manager, choose Add Roles and Features, select Active Directory Domain Services, accept the required features and install. Or in PowerShell: Install-WindowsFeature AD-Domain-Services -IncludeManagementTools. In short, to create a domain controller reliably, follow the order above and verify each step.
03usbStep 2: Promote the Server
Click the yellow warning flag in Server Manager and choose Promote this server to a domain controller:
- Deployment Configuration: choose Add a new forest and type your root domain name (for example
lab.local). - Domain Controller Options: set the forest and domain functional levels, type a strong DSRM password (you need it for disaster recovery), and leave the DNS server checkbox on.
- Options: ignore the delegation warning — normal in labs; NetBIOS name is auto-filled.
- Paths: keep the default database, log and SYSVOL folders for a lab.
- Review and install. The server runs dcpromo, reboots, and comes back up as a DC.
04terminalStep 3: Verify
- Open Active Directory Users and Computers and find your domain
- Check DNS Manager: the domain zone exists with SRV records
- Join a second machine (like one of the VMs from the same-network exercise) to the domain to test end to end
Then build on it: manage accounts with users and groups, add DNS records, or practice a second DC for fault tolerance. In short, to create a domain controller reliably, follow the order above and verify each step.
Related Content
How to Create and Manage Users and Groups in Windows Server 2016
Finish this lab, then continue down the track. Each guide builds on the one before it.