Active Directory enhances an organization’s security and simplifies administrator’s and end user’s tasks. If you want to install it on your server correctly, follow me with the below paragraphs.
Active Directory is a hierarchical structure that stores objects’ information on the network. To illustrate it further, the Active Directory is a database that contains information about users, computers, organizational units, groups and connects users to network resources.
The Active Directory, or short AD, consists of different directory services. Including Domain Services (AD DS), Certificate Services (AD CS), Federation Services (AD FS), Rights Management Services (AD RMS), and Lightweight Directory Services (AD LDS).
With the above short review of Active Directory services, in this session, first, I will install Active Directory Domain Services using Server Manager on Windows server 2022. Since the process is the same, you can also apply the following steps on Windows server 2019. In addition to installation, I will promote the server to a domain controller in the second step. So tune with me till the end.
First step: Install the Active Directory Domain Services (AD DS)
The AD DS, which is used to manage users and resources, is available as a role; you can install this role on your Windows server.
Note: Before installing the AD DS, define a static IP address, set the desired computer name, and define a DNS server address on your system.
- Open the Server Manager from the start menu.
- Click on Manage in the server manager dashboard and Add roles and features.
- Before you begin wizard gives you the basic information regarding the installation of new roles and features. Click next.
- Select the installation types; you can install the roles and features on a running physical computer or virtual machine. In my case, ensure the Role-based or feature-based installation is selected and click next.
- Select the server on which you want to install the roles and features, and click next.
- Now select the server roles you want to install: tick the Active Directory Domain Services role.
- A tiny window pops up, listing several features with the AD DS; first click Add Features, and click next.
- Since we don’t want to add new features, click Next without selecting anything.
- Gives you basic information about the Active Directory Domain Services, click next.
- Confirm the installation selections and click the Install button.
- The role installation takes a few seconds. After the installation completes, close the wizard.
Second Step: Promote Windows Server 2022 to Domain Controller (DC)
After the installation of Domain Services, you can promote your server to a domain controller. The Domain controller is, in fact, the server that contains the Active Directory database. To upgrade your server to a domain controller, follow the below steps one by one:
- In the Server Manager dashboard, click on the notification flag beside the Manage.
- Now click on the Promote this server to a domain controller option.
- Three options appear in the deployment configuration window. Neither do I have an existing domain nor an existing forest. That’s why I select the third option and add a new forest. Now I have to specify the root domain name. The root domain name cannot be single-labeled: it must be Techdars.com instead of only Techdars. Click next.
- Select the function level of the new forest and domain. If you select Windows Server 2012, you can run Windows server 2012 and newer versions in your forest or domain. Additionally, the DC capabilities are automatically selected; I just provide the DSRM password, confirm the password, and click next.
- Click on the next to pass without specifying the DNS delegation.
- Verify the NetBIOS name and click next.
- You can specify the AD DS path. I leave it to its default and click next.
- The review window shows up; you can review your selection; if it is OK, click next.
- The next window validates the prerequisites. If you got an error, check the pre-steps and fix the issue. And if the prerequisites checked passed successfully, click on the Install button.
- Finally, after the installation, your computer will restart automatically; if it does not, restart it manually.
Conclusions
You installed the Active Directory Domain Services on your system in the above easy steps and promoted your server to a domain controller. You can share your questions and thoughts in the comment section of the page.