How to Promote a Server to Domain Controller (DC) on Windows Server 2022
Step-by-Step Guide: Installing Active Directory Domain Services (AD DS) and Promoting to Domain Controller
Creating a test lab or configuring a production environment often requires setting up a Domain Controller (DC). A DC manages authentication, authorization, and centralized administration through Active Directory (AD). The setting up a DC is a foundational step in mastering Windows Server administration.
In this guide, we’ll walk through installing the Active Directory Domain Services (AD DS) role and promoting a Windows Server 2022 machine to a Domain Controller.
1. Introduction: Why Set Up a Domain Controller?
A Domain Controller (DC) is the backbone of centralized identity and access management in Windows-based networks. It manages authentication, authorization, and directory services through Active Directory (AD).
Active Directory is a Microsoft technology that provides a structured, hierarchical database to manage users, groups, computers, and other resources in a network. It enables:
Centralized Authentication: Users log in once and gain access to authorized resources across the network.
Group Policy Management: Administrators can enforce security settings, software deployment, and desktop configurations across all domain-joined machines.
Scalability: AD supports multiple domains, forests, and trust relationships, allowing organizations to segment and manage resources securely and efficiently. It is suitable for both small labs and large enterprises.
Security: AD integrates with Kerberos and NTLM protocols to ensure secure authentication and access control.
Forest: A forest is the top-level container in Active Directory. It represents the entire AD infrastructure and acts as a security boundary. Forests are isolated from each other unless explicitly connected via trust relationships. Admins in one forest cannot access another forest unless trusts are configured. You need to create a forest when setting up your first DC. You can create multiple forests for different business units, subsidiaries, or test environments. Every forest contains:
One or more domains
A shared schema (rules for object types and attributes)
A shared configuration (replication topology and services)
A Global Catalog(GC) for searching across domains
Before proceeding, make sure you have Windows Server 2022 installed on a system or VM. If you haven’t done this yet, check out our post for step‑by‑step instructions: Create a VM and install Windows Server 2022.
2. Pre‑Check List to Promote a Server to DC
Before installing AD DS, ensure the following prerequisites are in place to avoid reconfiguration issues later:
Administrator Password: Set the secure password and remember it.
Hostname: Assign a meaningful server name (e.g.,
DC01), It can be set by sysdm.cpl command.Static IP Address: Configure a static IP on the server that will be promoted to a DC.
DNS IP Address: Point to itself (loopback IP
127.0.0.1or same as server IP) or an existing DNS server.Domain Name: It’s the namespace for your AD environment. Decide the root domain (e.g.,
xyz.com,orxyz.in, orxyz.local).
We’re now ready to install the AD DS Role. If you’d like to watch a step‑by‑step walkthrough of these steps, please visit our YouTube Video.
3. Install the Active Directory Domain Services (AD DS) Role
To promote a server to a DC, you must first install the AD DS role using Server Manager.
Steps:-
- Open Server Manager → Select Add Roles and Features → Next.

- In the installation type wizard, choose Role-based or feature-based installation.
- Why this option? It installs roles/features on a specific server. Other options like Remote Desktop Services installation are for RDS environments.

- Why this option? It installs roles/features on a specific server. Other options like Remote Desktop Services installation are for RDS environments.
- Select a server from the server pool → Select your server → Next.

- Select Active Directory Domain Services (AD DS) Role.

- Click on Add Features on Add required features screen when prompted.

- Click Next.
- Click Next on select features window (If any additional feature required, select here).

- Click Next on AD DS window, It shows information regarding AD DS, DNS requirement and additional DC.

- Select the check box to restart the server automatically if required → Yes → Install.

- Open Server Manager → Select Add Roles and Features → Next.
The AD DS role installation will complete, but the server is not yet a Domain Controller. Next, we’ll promote it to DC.
4. Promote the Server to Domain Controller
After AD DS role installation, a notification appears in Server Manager for post-deployment configuration: “Promote this server to a domain controller”.
Steps:
- Server Manager → Click the notification.
- Click on Promote this server to a domain controller to launch Active Directory Domain Services Configuration Wizard.

- Choose Add a new forest (for your first DC).
- Why this option? A forest is the top-level container in AD. If this is your first DC, you must create a new forest.
- Other options:
- Add a domain controller to an existing domain: Used when adding redundancy or additional DC.
- Add a new domain to an existing forest: Used when expanding an existing AD environment like child or tree domain.
- Enter your domain name (e.g.,
xyz.com,orxyz.in, orxyz.local) → Next.
- Select Functional level, DNS server, GC and DSRM options as below → Next.
- Forest Functional Level (FFL): Defines the minimum Windows Server version for all DCs in the forest. Higher levels unlock newer AD features. For Win server 2022, select the Windows Server 2016.
- Domain Functional Level (DFL): Defines the minimum Windows Server version for all DCs in the domain. Controls available domain-specific features. For Win server 2022, select the Windows Server 2016.
- Select DNS Server: Domain Name System(DNS) translates names into IP addresses or name resolution. AD relies on DNS for locating DCs and services. Without DNS, authentication fails.
- Global Catalog (GC): Must be enabled for the first DC.
- Set Directory Services Restore Mode (DSRM) password. A special password used when booting into DSRM for AD repair/recovery or during disaster recovery. Store securely.
- Note :- Read-only Domain Controller (RODC): Not for first DC; used in branch offices.

- Click Next on DNS Delegation window.

- NetBIOS domain name: The wizard generates a short name (e.g.,
xyz) for domain. This is legacy naming system. Accept default unless you have a naming convention → Next.
- Configure Paths for database, log files, and SYSVOL. Keep default path for labs or testing; in production, place on separate drives for performance → Next.
- Database (NTDS.dit): Stores all AD objects.
- Log Files: Record AD transactions for recovery.
- SYSVOL: Shared folder for Group Policy and logon scripts.

- Review your configuration → Next.

- Once Prerequisites check Passed, Click Install.

- Once Active Directory is installed successfully, the server will reboot and perform initial configuration, which may take some time.

The Windows Server 2022 machine has been successfully promoted to a Domain Controller.
5. Post‑Installation Verification of the Domain Controller
Once the server reboots, Login the server using domain credentials and verify the following:
- Run basic command i.e., whoami, hostname, ipconfig /all.

- Open Active Directory Users and Computers (dsa.msc): Confirm domain structure or manage AD objects.

- Open DNS Manager: Check zones created for your domain or manage DNS records.

- Open Group Policy Management: Check domain or DC policies or manage policies.

The Windows Server 2022 machine has been successfully promoted to a Domain Controller.
Pro Tip: Take a snapshot of your VM or backup after successful promotion. This allows easy rollback if there is any issues or need to revert.
You now have a fully functional Windows Server 2022 Domain Controller. This environment is ready for “Creating and managing users/groups”, “Configuring Group Policies”, “Testing enterprise IT concepts like replication, trust relationships, and DNS integration”.





















