How to Configure AD DS on Your Windows Server

Configuring an Active Directory (AD) server in Windows Server 2019 is a two-stage process: first, you install the Active Directory Domain Services (AD DS) role, and then you promote the server to a Domain Controller (DC).

Prerequisites

Before starting, ensure your server meets these vital requirements:

  • Static IP Address: A DC must have a fixed IP. (Go to Network Connections > Ethernet Properties > IPv4 properties).
  • Administrator Account: Ensure you are logged in with a local administrator account that has a strong password.
  • Server Name: Rename your server to something meaningful (e.g., DC01) before starting, as changing it later is difficult.

Step 1: Install the AD DS Role

  1. Open Server Manager (it usually opens automatically at startup).
  2. Click Manage in the top-right corner and select Add Roles and Features.
  3. In the Wizard, click Next through the “Before You Begin” and “Installation Type” (choose Role-based or feature-based) sections.
  4. On the Server Selection screen, ensure your local server is selected and click Next.
  5. On the Server Roles list, check the box for Active Directory Domain Services.
    • A popup will appear; click Add Features to include the necessary management tools.
  6. Click Next through the “Features” and “AD DS” information screens.
  7. On the Confirmation screen, click Install. Once finished, click Close.

Step 2: Promote the Server to a Domain Controller

After the role is installed, you must configure the domain.

  1. In Server Manager, click the Notifications (Flag) icon at the top and select Promote this server to a domain controller.
  2. Deployment Configuration: Select Add a new forest (if this is your first server). Enter a “Root domain name” (e.g., corp.yourcompany.com or internal.local).
  3. Domain Controller Options: * Leave the Forest/Domain functional levels at Windows Server 2016 (this is the highest level available for 2019).
    • Ensure DNS Server and Global Catalog (GC) are checked.
    • Set a DSRM Password (Directory Services Restore Mode). Save this password securely; you’ll need it for disaster recovery.
  4. DNS Options: You may see a warning about “DNS delegation.” This is normal for a new forest; just click Next.
  5. Additional Options: Verify the NetBIOS name (usually your domain name prefix) and click Next.
  6. Paths: Keep the default locations for the Database, Log files, and SYSVOL unless your organization requires otherwise.
  7. Prerequisites Check: The system will verify your setup. If you see a green checkmark at the top stating “All prerequisite checks passed,” click Install.

Step 3: Verification

The server will automatically restart. Once it reboots:

  1. Log in: You will now see your domain name (e.g., CORP\Administrator).
  2. Check Tools: In Server Manager, go to Tools. You should now see Active Directory Users and Computers and DNS management consoles.
  3. Command Test: Open Command Prompt and type dcdiag. This runs a battery of tests to ensure the DC is healthy.

Leave a Reply

Your email address will not be published. Required fields are marked *