One of the best features that make Windows Server shine in the enterprise arena is the Active Directory. This single sign-on tool seamlessly and easily integrates with most Microsoft products making user management (among many other tasks) quite easy and fun. This tutorial will show you how to install Active Directory Domain Services on Windows Server 2019.
How to install Active Directory on Windows Server 2019
To install Active Directory Domain Service (AD DS), do the following:
On the CUI installation, execute the commands as follows:
1. Run PowerShell with admin rights and install AD DS.
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
# install AD DS with admin tools
PS C:UsersAdministrator> Install-WindowsFeature -name AD-Domain-Services -IncludeManagementTools
Success Restart Needed Exit Code Feature Result
------- -------------- --------- --------------
True Yes SuccessRest... {Active Directory ,...
WARNING: You must restart this server to finish the installation process.
# restart computer to apply changes
PS C:UsersAdministrator> Restart-Computer -Force
On the GUI settings, configure the following:
2. Run Server Manager and click Add roles and features.

3. Click the Next button.

4. Select Role-based or feature-based installation.

5. Select the host you want to add the services to.

6. Check the box Active Directory Domain Services.

7. Additional features required to add AD DS. Click the Add Features button.

8. Click the Next button.

9. Click the Next button.

10. Click the Install button.

11. After the installation is finished, click the Close button.
