1. Home
  2. Windows Server 2022
  3. Windows Server 2022 DC Setup

Windows Server 2022 DC Setup

We currently have two 2012 R2 servers running, but in place upgrades are apparently not advised for DC’s. Below is how I have gone about getting the DC’s upgraded.

 

I build two 2022 Windows servers. Once all the updates are done, make sure you assign them a static IP address. Best practice is promoting the new servers then having them run for a few days, then demoting the old ones.

We will use this article and update as we go along: https://infrasos.com/how-to-add-domain-controller-to-an-existing-domain/

 

No chance it will be this simple, but lets see how it goes….

Before promoting the server to a secondary DC, we must configure the following settings:

  • Computer name – Before promoting it to a DC, we want to set the computer name.
  • IP Settings – Configure a static IP address on the DC and ensure that the DNS points to an existing domain controller or the DNS server. If we do not set this, we cannot join the server to the domain.
  • Date and Time – Confirm that the time zone is correct. Our environment can have multiple issues, if the date and time are off.
  1. Go to: Server Manager > Add roles and features

add roles and features in server manager

   2. Click Next on the Before we begin page.
   3. Click Next after selecting Role based or Feature based installation.

add roles and features wizard

4. Select your server from the server pool then > Next

5. Select Active Directory Domain Services (AD DS), and we get a popup to add features our environment requires for Active Directory Domain Services; click Add features. Click Next.

How to Add Domain Controller to an Existing Domain. Add roles and features server roles

6. Click next on the features page. We do not need to choose additional information on this page.
7. Click Next on the Active Directory Domain Services page. This section of the wizard is for informational purposes.
8. Click Install on the confirmation page.

confirmation page before install

When the installation is complete, a message appears saying, Configuration required. Installation succeeded on server name. When we see this, we now move to the next step.

How to Add Domain Controller to an Existing Domain Results page

Once you have completed the installation, you now need to promote the server to a DC

1. In the server manager interface, click the yellow icon at the top and choose to Promote this server to a domain controller.

 

server promotion via post deployment configuration

2. Choose to Add a domain controller to an existing domain. Next, please enter or select the domain to which we want to add the secondary domain controller. We need to click the change button to join in administrator credentials. Click Next.

3. On the Domain Controller Options page, we check the Domain Name System (DNS) server and Global Catalog (GC). Let’s select The Default First Site name for the site name unless we have created a new one. We recommend leaving it as the default value for now. Enter a temporary Directory Services Restore mode (DSRM) password and click Next

Note: DSRM allows an administrator to repair or recover an Active Directory Database.

 

domain controller options

4. We most likely receive the error shown in the screenshot below. We ignore this message if we don’t need computers outside the network to resolve names within our domain. This article discusses frequent issues and how to diagnose them when installing and removing AD DS later.

How to Add Domain Controller to an Existing Domain dns options

5. Select where this server replicates on the Additional Options page. The replication depends on how we installed the first DC and its location. If the DCs are all on the same site, replicating from any will work. We have a different replication strategy, if we have multiple sites.
6. For now, leave the paths in default. We configure it later, but most of the time, the retained default values are fine.

How to Add Domain Controller to an Existing Domain. Path configuration

7. Choose Next on the Review options page.
8. On the Prerequisites Check page, we may see two warnings like the below screenshot. If the prerequisite passes, click install.

Prerequisites Check Wizard

Now run this from the command line:

dcdiag /test:dns /v /s:Server name /DnsBasic

Log in and check the AD settings in Computer manager.

 

The next step will be to add the DHCP role, so the server can distribute IP Addresses.

  1. Back to server manager > Add roles and Features
  2. Role-based or feature-based installation
  3. Select your server from the pool
  4. Select DHCP
  5. Next > Next > Install
  6. You now complete configuaration by Authorizing the server
  7. Add username and commit

 

Updated on August 11, 2023

Related Articles