Install the role, test the settings and promote. The new server copies the whole domain from CON-DC-01 while it promotes.
Install the role
CON-DC-02
Install-WindowsFeature AD-Domain-Services -IncludeManagementTools
Test the settings
CON-DC-02
$cred = Get-Credential "CONTOSO\Administrator" $dsrm = Read-Host "DSRM password" -AsSecureString Test-ADDSDomainControllerInstallation ` -DomainName "ad.contoso.com" ` -Credential $cred ` -SiteName "Contoso-Main" ` -ReplicationSourceDC "CON-DC-01.ad.contoso.com" ` -InstallDns ` -SafeModeAdministratorPassword $dsrm
Look for Status: Success. The warnings about older cryptography and DNS delegation are normal.
Promote it
CON-DC-02
Install-ADDSDomainController ` -DomainName "ad.contoso.com" ` -Credential $cred ` -SiteName "Contoso-Main" ` -ReplicationSourceDC "CON-DC-01.ad.contoso.com" ` -InstallDns ` -SafeModeAdministratorPassword $dsrm ` -Force
| Setting | What it does |
|---|---|
| Credential | A Domain Admins account allowed to add a DC. |
| SiteName | The site you named in Finish the domain setup. Use Default-First-Site-Name if you kept the default. |
| ReplicationSourceDC | Copies the domain from CON-DC-01 by name. |
| InstallDns | Makes this server a second DNS server for the domain. |
The server joins the domain, copies the directory and restarts. New DCs are Global Catalog servers by default, which is what you want.
Prefer the graphical tools?
WhereServer Manager›yellow flag›Promote this server to a domain controller›Add a domain controller to an existing domain
Done when
Check
You can sign in to CON-DC-02 as CONTOSO\Administrator, and Get-ADDomainController -Filter * lists both servers.


