How to Install Active Directory Domain Services on Windows Server: Step-by-Step Guide

Illustration of a server and network infrastructure representing the process to install Active Directory Domain Services on Windows Server.

My name is Dar, and I have been working in IT for 24 years. I wanted to look more closely at how to install Active Directory Domain Services on Windows Server, because this is one of the first steps almost every organization takes when building an identity and access environment. In this article, I will walk you through what AD DS actually does, how the installation process works, and how a server gets promoted to a domain controller.

If you are new to Windows Server administration, this guide will give you a clear and practical understanding of the process, along with links to the official Microsoft documentation so you can confirm exact commands and settings for your specific environment.

What Is Active Directory Domain Services (AD DS)?

Active Directory Domain Services (AD DS) is the core identity service built into Windows Server. According to Microsoft, AD DS provides the methods for storing directory data and making this data available to network users and administrators. In practical terms, this means AD DS keeps a central record of users, computers, groups, and other resources, and it controls how those objects are found and used across the network.

A simple way to understand this is to think of AD DS as the central phone book and security gatekeeper for a company network. When a user logs in, when a computer joins a domain, or when an administrator applies a group policy, AD DS is the service working behind the scenes to make that possible.

This directly answers a question many beginners ask: what is Active Directory Domain Services used for. At a high level, the functions of AD DS include:

  • Centralized identity storage: User accounts, computer accounts, and groups are stored in one place rather than on individual machines.
  • Authentication and authorization: AD DS helps verify who a user is and what resources that user is allowed to access.
  • Policy management: Group Policy and other management tools rely on AD DS to apply consistent settings across the domain.
  • Resource lookup: Objects such as printers, shared folders, and computers can be located through the directory.

You can read the full explanation directly from Microsoft on the Active Directory Domain Services overview page.

Prerequisites Before You Install Active Directory Domain Services

Before you begin any AD DS installation, it is worth taking a step back and planning. This is part of what Microsoft refers to as AD DS design and planning, and it matters more than people often expect. A domain controller sits at the center of authentication and security for the entire network, so a rushed setup can create problems later.

At a general level, you should confirm the following before starting:

  • Administrative permissions: You will need an account with sufficient rights on the server and, in most environments, rights within the domain or forest you are joining or creating.
  • Network and DNS planning: AD DS depends heavily on DNS, so your network design should account for how DNS will be handled before you promote a domain controller.
  • Server readiness: The server should already be prepared with Windows Server installed and basic network settings configured.
  • A clear plan: Decide in advance whether you are creating a brand new forest, adding a domain controller to an existing domain, or setting up a new domain within an existing forest.

Important: Exact prerequisites such as hardware requirements, supported operating system editions, and specific account privileges can change between Windows Server versions. Confirm these details directly on the official Microsoft Install Active Directory Domain Services page before you begin your deployment.

How to Install Active Directory Domain Services (Step-by-Step)

There are two common approaches used to install Active Directory Domain Services on Windows Server. The first uses the graphical Server Manager interface, and the second uses Windows PowerShell. Both approaches are referenced in Microsoft's documentation, and the method you choose usually depends on personal preference or whether you are working on a single server or automating a larger deployment.

Installing AD DS Through Server Manager (GUI)

This is the approach most beginners start with, since it walks you through each decision using a visual wizard. The general flow follows this pattern:

  1. Open Server Manager: Launch Server Manager on the Windows Server instance where you want to install the role.
  2. Start the role installation wizard: Begin the process used to add server roles and features.
  3. Select the AD DS role: Choose Active Directory Domain Services from the list of available server roles.
  4. Review and confirm: Review the role details and any required features, then confirm the selection.
  5. Complete the installation: Allow the wizard to install the role files onto the server.

Important: The exact wizard page names and screens can vary slightly depending on the Windows Server version you are using. Confirm the current screens directly from the Microsoft install Active Directory Domain Services guide before following along on your own server.

Install AD DS Role Using PowerShell

For administrators who prefer scripting, or who need to install the AD DS role on Windows Server 2022 or another supported version across multiple machines, Microsoft also documents a Windows PowerShell method for installing the AD DS server role. This approach is useful because it can be repeated consistently and incorporated into automated deployment scripts.

The exact cmdlet and parameters for this method are documented on Microsoft's official installation page. Because command syntax can differ slightly between Windows Server versions, I recommend pulling the exact PowerShell command directly from the official Install Active Directory Domain Services on Windows Server page rather than copying a command from an unofficial source.

This is where setting up Active Directory Domain Services using PowerShell becomes especially useful: once you have confirmed the correct cmdlet for your version of Windows Server, the same script can be reused on additional servers with minimal changes.

Promoting the Server to a Domain Controller

Installing the AD DS role is only the first part of the process. The role installation adds the required files and binaries to the server, but the server is not yet functioning as a domain controller. To promote a server to a domain controller, you need to run through the AD DS Configuration Wizard.

According to Microsoft's documentation, the configuration wizard includes pages that allow you to review and validate your configuration settings before the promotion actually happens. This review step matters, because promoting a domain controller changes core identity infrastructure, and mistakes at this stage are harder to undo afterward.

One detail I find genuinely useful for anyone managing multiple servers is that the wizard also provides an option to export the configuration as a Windows PowerShell script. This means you can complete the wizard once on a test server, export the resulting script, and then reuse that script to promote additional domain controllers with consistent settings.

The general promotion flow typically includes:

  1. Launch the configuration wizard: After the AD DS role is installed, open the post-deployment configuration task to begin promoting the server.
  2. Choose the deployment scenario: Decide whether you are creating a new forest, adding a domain controller to an existing domain, or adding a new domain to an existing forest.
  3. Configure domain controller options: Set the required domain controller details as prompted by the wizard.
  4. Review and validate settings: Use the review page in the wizard to confirm every setting before continuing.
  5. Complete the promotion: Allow the wizard to finish configuring the server, which usually requires a restart.

Important: The specific options presented during promotion depend on your deployment scenario and Windows Server version. Review the AD DS Configuration Wizard page descriptions from Microsoft for the exact fields you will see on each screen.

Verifying Your AD DS Installation

After the server restarts following promotion, it is worth confirming that everything completed as expected before relying on the domain controller for production use. At a general level, you should check that:

  • The server restarted successfully: Confirm the server came back online without errors after the promotion process completed.
  • The domain controller role is active: Confirm that the server is now functioning as part of the domain you configured.
  • Basic directory functions work: Confirm that you can view the directory structure and that core AD DS functions respond as expected.

Recommendation: For detailed, version-specific verification steps, review the official Microsoft documentation linked throughout this article rather than relying only on general checks, since Microsoft may document additional validation steps for your specific Windows Server version.

Real-World Example

Scenario: Imagine a small organization that has been using local accounts on each computer and now wants centralized logins, shared policies, and a single place to manage users.

Goal: Set up Active Directory Domain Services on a Windows Server machine so that computers and users can join a single managed domain.

  • Starting point: A single Windows Server instance with no existing directory service, and a plan to create a brand new forest.
  • Action: The administrator installs the AD DS role, then runs the configuration wizard to promote the server as the first domain controller in a new forest.
  • Expected outcome: The server now functions as a domain controller, and workstations can be joined to the new domain for centralized authentication and policy management.

This example is conceptual and is meant only to illustrate how the installation and promotion steps fit together in a realistic environment.

Next Steps and Further Learning

Once you are comfortable with the basic installation and promotion process, Microsoft Learn offers structured training content that goes deeper into AD DS fundamentals, forests, domains, and ongoing management. These resources are useful if you want to build a stronger foundation beyond the initial setup:

Frequently Asked Questions

How do I install Active Directory Domain Services?

You install AD DS by adding the AD DS server role on Windows Server, either through Server Manager or Windows PowerShell, and then running the configuration wizard to promote the server to a domain controller. Exact steps and commands should be confirmed from the official Microsoft installation guide.

What is Active Directory Domain Services used for?

AD DS is used to store directory data, such as user accounts, computer accounts, and groups, and to make that data available to network users and administrators. It is the identity foundation that supports authentication, authorization, and policy management across a Windows domain.

What are the functions of Active Directory Domain Services?

The core functions of AD DS include centralized identity storage, authentication, authorization, policy distribution through tools like Group Policy, and resource lookup across the network.

How to promote a server to a domain controller?

After installing the AD DS role, you run the configuration wizard, choose your deployment scenario, review and validate the settings, and complete the promotion process. The wizard also allows you to export the configuration as a PowerShell script for repeatable deployments.

Official Sources

Comments