This article is for those looking for a detailed and clear guide on how to join Windows Server 2019 Server Core to a Domain.

We will consider the case when you already have two servers with the Windows Server 2019 operating system installed on them. In addition, one of the servers must have the Active Directory Domain Services role installed.

You can read more about how to install Windows Server 2019 in my guide “Install Windows Server 2019 Server Core”.

To learn how to install Active Directory Domain Services on Windows Server 2019 with a GUI, you can read “Install Active Directory Domain Services on Windows Server 2019”.

Also in my guide “Install Active Directory Domain Services on Windows Server 2019 Server Core”, you can learn how to install Active Directory Domain Services on Windows Server 2019 Server Core without a GUI.

Before joining a server to a domain, you must give the server a correct name according to your organization’s standards, and then assign a static IP address, subnet mask, gateway, and the IP address of the domain controller as a DNS server in the network interface settings.

We go into the system under an account with administrator rights and start Windows PowerShell using the command:

powershell

Join Windows Server 2019 Server Core to a Domain

In this guide, the server joins the heyvaldemar.net domain using an Administrator account that has domain administrator rights.

Join the server to the domain using the command:

Add-Computer DomainName heyvaldemar.net -Credential heyvaldemar\Administrator -Restart Force

Join Windows Server 2019 Server Core to a Domain

Specify the password for an account with domain administrator rights and click on the “OK” button.

Join Windows Server 2019 Server Core to a Domain

After a reboot, the server will apply the security policies used in your domain.

Join Windows Server 2019 Server Core to a Domain

After applying the security policies, the server will be ready to work.

Join Windows Server 2019 Server Core to a Domain

Refill the Author’s Coffee Supplies

💖 PayPal
🏆 Patreon
💎 GitHub
🥤 BuyMeaCoffee
🍪 Ko-fi

Vladimir Mikhalev
I’m Vladimir Mikhalev, the Docker Captain, but my friends can call me Valdemar.

DevOps Community

hey 👋 If you have questions about installation or configuration, then ask me and members of our community: