Install Active Directory Domain Services on Windows Server 2019 Server Core
This article is for those looking for a detailed and straightforward guide on installing Active Directory Domain Services on Windows Server 2019 Server Core.
In this guide, we will consider the case when you already have a server with the Windows Server 2019 Server Core operating system installed on it.
You can read more about how to install Windows Server 2019 in my guide “Install Windows Server 2019”. You can learn how to install Active Directory Domain Services on Windows Server 2019 Server Core without a GUI by reading “Install Active Directory Domain Services on Windows Server 2019”.
I recommend that you always use the English-language editions of Windows Server. As practice shows, original (English) versions of Windows work more stable, besides, it will be easier for you to communicate in the same language with professionals in case of problems or if you want to exchange experience.
Before installing the Active Directory Domain Services role, you must give the server the correct name according to your organization’s standards, and then specify a static IP address, subnet mask, gateway, and DNS server address.
We go into the system under an account with administrator rights and start Windows PowerShell using the command:
I highly recommend that you think ahead about the name of the servers in your organization.
This tutorial will use “heyvaldemar-server-1” as the new server name.
We give the server a new name, and then reboot it for the changes to take effect using the command:
Since the selected server name contains more than 15 characters, the system notifies that the NetBIOS name for the server will be truncated to 15 characters.
Press the “y” button, then “Enter”.
After restarting the server, log in again under an account with administrator rights and start Windows PowerShell using the command:
Now you need to assign a static IP address, subnet mask, gateway, and DNS server address to the server.
To configure a network interface, you need to find out its index using the command:
In this case, the network interface is indexed “4”.
In this guide, the server will be assigned an IP address of 192.168.1.10, a subnet mask of 255.255.255.0 (24), and a gateway of 192.168.1.1.
Please note that you must understand in advance how your network works and know which IP addresses are available.
We assign the server an IP address, mask, and gateway, specifying the previously obtained index of the network interface, using the command:
As the DNS server, you must specify the IP address of the current server, since it will have the DNS Server role, which is installed with the Active Directory Domain Services role.
We register the IP address of the DNS server using the command:
Check that the server is assigned the correct IP address, subnet mask, gateway, and DNS server address using the command:
The server has been assigned the correct IP address, subnet mask, gateway, and DNS server address.
Now let’s connect to the server from a personal computer using Windows PowerShell remote management tools.
In this manual, the operating system Windows 10 is used on a personal computer. For details on how to install Windows 10, you can read my manual “Install Windows 10”.
Note that to enable Windows PowerShell Remote Management, the user must have local administrator rights on their computer.
On the keyboard, press the key combination “Win” and “x”, then select “Windows PowerShell (Admin)” in the menu that opens.
To connect to the server from a personal computer, you need to change the network category from “Public” to “Private”. To do this, you need to find out the index of the network interface using the command:
In this case, the network interface is indexed “6”.
Let’s change the network category from “Public” to “Private” by specifying the previously obtained index of the network interface using the command:
Now let’s enable the tools for remote administration using the command:
To trust any computer on the network to make a remote connection, run the command:
At the next step, the system will notify that the entered command will make changes to the list of trusted hosts.
Press the “y” button, then “Enter”.
In this guide, the server is assigned the IP address 192.168.1.10 and the name heyvaldemar-server-1, and uses the Administrator account to manage the operating system on the server.
We connect to the server using the command:
Specify the password for an account with administrator rights and click on the “OK” button.
The connection to the server has been established.
You are now ready to install the Active Directory Domain Services role.
The installation of the selected role and the components required for it has begun.
In order to increase the role of your server to the level of a domain controller, run the command:
Specify the password for DSRM (Directory Service Restore Mode) and press the “Enter” button.
Specify the previously entered password again and press the “Enter” button.
The process of promoting the server to a domain controller has begun.
Server promotion to a domain controller is complete.
We return to the server and reload it using the command:
Before the server starts to reboot, you will see a warning.
We will now reconnect to the server from our personal computer using the Windows PowerShell remote management tools to confirm the successful installation of the services.
In this manual, the server is assigned the IP address 192.168.1.10, in addition, the server is a domain controller heyvaldemar.net, and the Administrator account is used to manage the operating system on the server.
We connect to the server using the command:
Specify the password for an account with domain administrator rights and click on the “OK” button.
The connection to the server has been established.
Check the status of the services required for the domain controller to work using the command:
The services required for the domain controller are running.
To view detailed information about configuring a domain controller, you can run the command:
To view detailed information about the Active Directory domain, you can run the command:
To view detailed information about the Active Directory forest, you can run the command:
To check the availability of the SYSVOL shared folder, you can run the command:
The shared folder “SYSVOL” is available. It is used to provide clients with Group Policy settings and logon and logon scripts.
We return to the workstation.
Now you can install the remote administration tools on your personal computer to manage the roles available on the server using a graphical interface.
Please note that in Windows 10 (version 1903), the installation of the RSAT (Remote Server Administration Tools) components can be performed through the Windows graphical interface.
If you are using an earlier version of Windows 10, then you need to download the RSAT installer from the link.
On the keyboard, press the key combination “Win” and “x”, then select “Apps and Features” in the menu that opens.
Next, select “Optional Features”.
Now choose “Add a feature”.
To install Active Directory remote administration tools, select “RSAT: Active Directory Domain Services and Lightweight Directory Services Tools” and click on the “Install” button.
To install the remote DNS administration tools, select “RSAT: DNS Server Tools” and click on the “Install” button.
To install the Group Policy remote administration tools, select “RSAT: Group Policy Management Tools” and click on the “Install” button.
Now you will be able to manage the roles available on the server using a graphical interface.
Installed remote administration tools can be found in the Start menu under Windows Administrative Tools.
My Courses
🎓 Dive into my comprehensive IT courses designed for enthusiasts and professionals alike. Whether you’re looking to master Docker, conquer Kubernetes, or advance your DevOps skills, my courses provide a structured pathway to enhancing your technical prowess.
My Services
💼 Take a look at my service catalog and find out how we can make your technological life better. Whether it’s increasing the efficiency of your IT infrastructure, advancing your career, or expanding your technological horizons — I’m here to help you achieve your goals. From DevOps transformations to building gaming computers — let’s make your technology unparalleled!
Refill My Coffee Supplies
💖 PayPal
🏆 Patreon
💎 GitHub
🥤 BuyMeaCoffee
🍪 Ko-fi
Follow Me
🎬 YouTube
🐦 Twitter
🎨 Instagram
🐘 Mastodon
🧵 Threads
🎸 Facebook
🧊 Bluesky
🎥 TikTok
💻 LinkedIn
📣 daily.dev Squad
🧩 LeetCode
🐈 GitHub
Is this content AI-generated?
Nope! Each article is crafted by me, fueled by a deep passion for Docker and decades of IT expertise. While I employ AI to refine the grammar—ensuring the technical details are conveyed clearly—the insights, strategies, and guidance are purely my own. This approach may occasionally activate AI detectors, but you can be certain that the underlying knowledge and experiences are authentically mine.