How to add a domain controller to an existing domain
How to add a domain controller to an existing domain
A domain controller (DC) is a central server that runs Active Directory Domain Services (AD DS) and performs authentication- and directory-related services. Adding additional DCs to a domain improves availability, distributes load, and maintains replicated AD data.
Prerequisites
Add a DC
Verification
DNS settings
FAQ and Troubleshooting
1. Prerequisites to add a secondary DC
Before adding a DC, the following requirements must be met:
Have a Domain Admin account to add a DC to a domain.
If you are adding a DC to an existing forest, you will need an Enterprise Admin account.
Verify if the Windows Server version is equal to or higher than the functional level of the domain.
Decide the FSMO role of the DC:
Schema Master: To manage and modify AD schema.
Application Master: For controlling addition and removal of DCs.
RID Master: To allocate a pool of Relative IDs to DCs.
PDC Emulator: Primary authority for account lockouts, password changes, and time synchronization.
Infrastructure Master: To update SIDs and distinguished names (DN) for cross-domain object references.
2. Adding a DC to an existing domain
Once the prerequisites are met, the new server must be added to the existing domain as a Member Server, have AD DS installed, and then be promoted to a DC.
2.1 Configuring DNS settings to add the local server to an existing domain
In the local server, navigate to Control Panel > Network and Internet > Network and Sharing Center > Change adapter settings. Figure 1. Network and Sharing Center.
Right-click the desired network adapter > Properties.
Double-click Internet Protocol Version (TCP/IPv4) and select Use the following IP address.
Set it to a static IP address belonging to the same subnet of the existing DC.
Select Use the following DNS server addresses and set:
Preferred DNS server to the IP address of an existing DC.
Alternate DNS server to the static IP address set for the new server.
Figure 2. TCP/IPv4 properties.
Open Command Prompt and enter ping <ip address of the existing dc> to check if the existing DC is reachable. Figure 3. Prompt to check DC reachability.
2.2 Adding the local server as a Member Server
Open Windows, navigate to Server Manager > Local Server and click the hyperlink in the field Workgroup. Figure 4. Server Manager with local server details.
Click Change and rename the server, if required.
Note:
Renaming after promoting to a DC might causes issues during DNS resolution and DC replication.
Under the Member of section, select Domain and type the domain address. Figure 5. Renaming the local server and adding to a domain.
Enter the Domain Admin credentials in the Windows Security window.
Once the authentication succeeds, choose the desired restart option from the Windows prompt. Figure 5. Restart options after joining to a domain.
2.3 Installing AD DS in the Member Server
Once restarted, open Server Manager > Manage > Add Roles and Features. Skip the first two sections by clicking Next. Figure 6. Add Roles and Features in Server Manager.
In Server Selection, select the Windows server to be promoted as a DC and click Next. Figure 7. Selecting the new Member Server.
Among the options provided in Server Roles, check Active Directory Domain Services.
Click Add Features, and proceed through the wizard. Figure 8. AD DS and its tools.
Select Install in the Confirmation section to initiate the installation. Figure 9. Installing AD DS to a Member Server.
2.4 Promoting a Member Server to a DC
2.4.1 Adding a DC to an existing domain using Server Manager for a LAN-based network
Once the features are installed, select Promote to a domain controller. You can also access it by clicking the notification flag. Figure 10. The promote a domain controller option.
Under Deployment Configuration, select Add a domain controller to an existing domain and enter the Domain Admin credentials. Figure 11. The new DC's capabilities and information.
In Domain Controller Options, check the required capabilities and site information for the new DC.
DNS server: Assigns a DNS role to the server being promoted. This is enabled by default.
Global Catalog (GC): Allows the server being promoted to store a partial and searchable replica of all objects of the domain. This is used for cross-domain references. This option is also checked by default.
Read only domain controller (RODC): Promotes servers as DCs but with read-only permissions, mitigating possible unauthorized modifications to the domain.
Site name: Select the appropriate Active Directory site. By default, it chooses the first site created (Default-First-Site-Name).
Type and reconfirm the Directory Service Restore Mode (DSRM) password.
The DSRM password is used to restore the Active Directory database from a DC offline or during failure recovery.
Select Next through DNS options.
In the Additional Options, you may replicate domain data from a specific DC or any of the existing DCs. Figure 12. Choosing an AD replication source.
Specify the directories to store the AD DS database, log files, and SYSVOL folders. By default, the folders are stored in the C:\WINDOWS\ directory. Figure 13. The location to store the AD DS database, log files, and SYSVOL.
Skip Review Options by selecting Next.
Click Install in the Prerequisites Check category.
After some time, Windows prompts a You're about to be signed out message. Click Close to restart the server.
The server becomes a DC after the restart.
2.4.2 Adding a DC to an existing domain using IFM
When additional DCs are added to an existing domain, every object of the domain or the forest is replicated through the network. This is efficient in a LAN-based network. However, for organizations that have a bandwith-limited network or a weak-linked WAN or multiple branch offices, the AD replication takes prolonged hours, delaying the promotion.
Install from Media (IFM) is a feature that allows you to add a domain controller to an existing domain using a pre-stored snapshot of an AD database (ntds.dit), registry files, and the SYSVOL folder. This significantly reduces the time taken for promoting to a DC and requires minimal replication. Below is a step-by-step guide to adding a DC using IFM after the AD DS role is successfully installed:
In the existing DC of the domain, create a new folder on the C drive. Figure 14. New folder called "Snapshot" in an existing DC.
Figure 15. Copying domain data from an existing DC to the Snapshot folder.
Close the command prompt and verify if all files within SYSVOL are copied into the new folder created.
Open the Member Server and the Run command.
Enter \\ipaddress_of_existing_dc\c$ to access the C drive of the existing DC.
Copy the folder with the snapshot to the Member Server.
Follow steps one through four in Method 1.
In the Additional Options section, check Install from media. Click the ... option, and navigate to and select the copied snapshot file. Figure 16. Promoting to a DC using the IFM option.
Follow steps five through nine in Method 1 to complete the installation.
The server becomes an additional DC once it restarts.
3. Verifying if the secondary DC was added to an existing domain and AD replication
Once the server reboots from deploying AD DS, the following must be verified to confirm if the Member Server was successfully promoted as a DC.
3.1 Verifying whether the server is listed under the Domain Controllers OU
Open Active Directory Users and Computers (ADUC) > select your preferred domain > Domain Controllers.
Verify if the newly added DC is listed. Figure 17. List of DCs in a domain.
3.2 Verifying AD replication between the existing DC and the new DC
Open Command Prompt.
Execute the command repadmin /replsummary. The replication is successful when the output displays no fails. Figure 18. Replication summary between two DCs.
4. Updating DNS settings on the DCs
DNS lookup is necessary for proper functioning of AD replication, authentication, and overall directory health. When a DC whose preferred DNS address is a loopback address (pointed to itself), it might be unknown and isolated from the domain changes made by other DCs. This is called a DNS island problem, causing replication failures, disrupted directory services, and failures to contact other DCs.
To avoid the risk of a DNS island, the preferred DNS of DCs must be set to their alternatives. Following are the steps involved in updating the preferred and alternate DNS addresses:
Once all verifications are complete, open Server Manager > Local Server > click the IP address to open the Ethernet settings.
Right-click the network adapter and select properties.
Select Internet Protocol Version 4 (TCP/IPv4) and click Properties.
Set Preferred DNS server to the secondary DC and Alternate DNS server to itself or its loopback address. Figure 18. Preferred IP address of the new DC set to an existing DC.
DCs are responsible for authenticating users and allowing them to access network resources. Enabling auditing policies within GPOs from a DC helps in tracking user logon activities, file activities, domain changes, and in achieving compliance.
With solutions like ADAudit Plus, you can extend this capability further to to detect anomalous activities, attacks, or possible threats exposing your AD environment. ADAudit Plus is a unified auditing solution that provides full visibility into activities across AD, Microsoft Entra ID, file servers (Windows, NetApp, EMC, and more), Windows servers, and workstations—all in just a few clicks.
5. FAQ and troubleshooting
It is recommended to have a minimum of two DCs per domain. It is also ideal not to assign additional server roles such as File Server to the DCs.
To make an additional DC the primary, transfer all FSMO roles to it, especially PDC Emulator. To transfer the roles, open Active Directory Users and Computers > right-click the domain > select Operations Master > assign the roles to the DC from each section using the Change option.
This error occurs when the server to be promoted is referring to an external DNS server (8.8.8.8) or itself (loopback address). Set the preferred DNS to an existing DC of the domain, while its IP address belongs to the same subnet of the pointed DC.