In this post we are going to show you how to install Active Directory Server on Windows Server 2019. As we have already covered the installation of Windows Server 2019, This post will cover step by step procedure to install Active Directory Domain Services along with configuring domain controller.
As we have server already installed, we can make it Domain Controller by installing Active Directory Domain Services through Server Manager.
Login to the Server and launch Server Manager from Windows Start Menu.
Click on Manage and select Add Roles and Features.
This will launch Add Roles and Features Wizard, click Next to continue.
Under Select installation type page, continue with default option ie. Role-based or feature-based installation.
Under Select destination server page, continue with Select a server from the server pool, current computer name will be displayed under Server Pool.
Under Select server roles, check the box Active Directory Domain Services, this will auto populate features that are required for Active Directory Domain Services. Click on Add Feature.
Once you see checkbox is selected for Active Directory Domain Services, click next to continue
Under Select features page, we will be going with default selection, click on Next to continue.
Under Active Directory Domain Services (AD DS), click Next to continue.
Under Confirm installation selections, we will see the roles, role services or features which are going to install. Click on Install.
Installation progress window will show you the installation process.
Once done, you will see message Configuration required. Installation succeeded on DC01. We can also see Promote this server to a domain controller which will walk us through steps to install Domain Controller.
If we close above window, we can still get this option through Server Manager. Under Server Manager Dashboard, on the top we can see flag sign with yellow exclamation mark, which will show Post-deployment Configuration window, below that we can see Promote this server to a domain controller option, click on it to initiate the process.
Promote the server to a domain controller
Under Deployment Configuration page, select the option Add a new forest as we are going to install New Forest, New Domain and New Domain Controller. Under Root Domain Name specify domain name of your choice.
Under Domain Controller Options, select Forest function level as Windows Server 2016. We are proceeding with the highest function level which will give us all the features of that specific Server level. Incase we have old Servers prior to Windows Server 2016, we need to select relevant function level to support that server so that it can be participated to Domain Controller services.
Domain function level will only have one option ie Windows Server 2016 as we have selected highest Forest function level. We can also see auto selected values for:
Domain Name System (DNS) Server – As we will be proceeding with installation of DNS Server on the same server, we will keep it selected.
Global Catalog (GC)- This is option is greyed out as Global Catalog is must to be get installed with this Domain Contoller.
Provide Directory Services Restore Mode (DSRM) password. DSRM password is very important in case where we need to restart the Domain Controller in Directory Services Restore Mode.
Under DNS Options, click Next to continue.
Under Additional Options, verify NetBIOS Name which gets auto populated through Root Domain name which we selected previously, under The NetBIOS domain name change the name if you want, we will continue by default one.
Under Paths page, default values will be populated for database, log files and SYSVOL. Default location for Database folder & Log files folder will be C:\Windows\NTDS, while SYSVOL folder will show C:\Windows\SYSVOL.
Under Review Options page, it will show all settings which will be used to install Active Directory Domain Services, we can readily available script by clicking on View Script, which shows following:
Import-Module ADDSDeployment Install-ADDSForest
-DomainMode "WinThreshold"-DomainName "MANBAN.COM"
-DomainNetbiosName "MANBAN"-ForestMode "WinThreshold"
-NoRebootOnCompletion:$false-SysvolPath "C:\Windows\SYSVOL" ` -Force:$true
Prerequisites Check page will begin Verifying prerequisites for domain controller operation.
Once completed, you can see All prerequisite checks passed successfully. Click ‘Install’ to begin installation. Click on Install to continue.
Installation page will proceed with installation such as configuring DNS Server service along with creating database for new Domain.
This process will reboot your system, and will apply new Domain policies for the first time to this Domain Controller.
Once you are on login window, you can see the difference that the server is now part of existing Domain by looking under Sign in to , which will show Domain Name. Login to the server.
You will see new services added under Windows Administrative Tools, such as:
- Active Directory Users and Computers
- Active Directory Sites and Services
- Group Policy Management and others
Server is ready to be used and served as Domain Controller to create domain users/ computers and deploy group policies.