In this article, we are going to take a look at Domain controller installation and configuration of Active Directory domain services Role on Windows Server 2022 and promote Windows Server 2022 as Domain Controller.
The first step will be to install the ADDS binaries and then promote Windows Server 2022 to a Domain Controller.
In the first place install the Active Directory Domain Services role to the Windows server 2022.Log on to the server as Local Administrator and launch server manager and in the top menu select Add Roles and Features.

This will start the Add Roles and Features wizard and it will show the before you begin the instructions window. You can select Next and go to the next prompt.
Click Next

In the Select Installation Type, select Role-based feature-based installation
Click Next

Continue with the default selection on Select Destination Server as we are going to install it on the local server.
Click Next

On the Server Roles list click Active Directory Domain Services role.

When you select Active Directory Domain Services Role it will prompt for required Features to add and click Add Features.

As the Active Directory Domain Services and DNS Server roles are selected in the Add roles wizard.
Click Next

On the Features selection leave the default, click Next.

The next screen will outline the things to note about Active Directory Domain Services, you may go through this for your understanding.
Click Next.

The installation of Active Directory Domain Services and DNS role will be installed and you can view the installation progress.



The Active Directory Domain Services and Domain Services and DNS Server Roles are Installed, now you can close the AD Roles and Features Wizard this will return back to Server Manager
On the Server Manager select the notification icon and continue with post-installation configuration which is promoting the server as Domain Controller.
Select Notifications and click “Promote This server to a Domain Controller”

This will start “Active Directory Domain Services Configuration Wizard”
Select Add a New Forest in the Select Deployment Operation options.
Type the domain name as you want.
Click Next.

In the next screen leave the settings default and type password for “Directory Services Restore Mode”. This password is different from the Administrator login password. So you can type the password and keep it somewhere in the secured place.

In the DNS options leave the default
Click Next

By default, the NetBios name will be shown prefix of the Domain name and leave the default.
Click Next

You may change the path of the Database, log and Sysvol folder, but you can leave it to default and Continue
Click Next.

Go through the review Options
Click Next.

The prerequisite check will verify the Domain Controller Operation, once completed you would get an All Prerequisite check passed green tick.
Click Next.

The installation will complete the configuration and restart the server automatically.

Once the server restarted, on the login screen type the administrator password which was used before and log in.

Launch Server Manager and select Tools –> Active Directory users and computers, which will open Active Directory Users and Computers management console.

You can add users, groups and other objects and start to using Active Directory Domain Services.
