Windows Server 2012 - Active Directory

In this chapter, we will see how to Install Active Directory in Windows Server 2012 R2. Many of us who have worked with the previous version run DCPROMO.EXE to install it, but in the 2012 version, it is recommended by Microsoft not to use it anymore.

To continue with Installation follow the steps given below.

Step 1 − Go to “Server Manager” → Manage → Add Roles and Feature.

Add Roles

Step 2 − Click the Next button.

Next Button

Step 3 − As we are installing AAD on this machine, we will select “Role-based or featurebased Installation” → Next.

Feature Based

Step 4 − Click on “Select a server from the server pool”, this is the case when it will be installed locally.

Installed Locally

Step 5 − Check mark in the box next to Active Directory Domain Services. A box will be explaining additional roles services or features which are also required to install domain services.

Add Directory

Step 6 − Click Add Features.

Add Features

Step 7 − Check “Group Policy Management” → Next.

Group Policy Management

Step 8 − Click the “Next” button.


Step 9 − Click “Install”.


Installation Screen will come up now and you have to wait until installation bar completes.

Installation Screen

Now that the installation of DC role is finished, you have to configure it for you server.

Step 10 − Click “Server Manager” → Open the Notifications Pane by selecting the Notifications icon from the top of the Server Manager. From the notification regarding configuring AD DS (Active Directory Domain Services), click Promote this server to a domain controller.

Notification Icon

Step 11 − Click “Add a new forest” → Insert your root domain name into the Root domain name field. In my case, I have put “”.

Add New Forest

Step 12Select a Domain and Forest functional level. Once selected fill in a DSRM password in the provided password fields. The DSRM password is used when booting the Domain Controller into recovery mode.

Select Domain

Step 13 − In the next screen which shows up, there is a warning on the DNS Options tab, click OK and then select Next.

DNS Options Tab

Step 14 − Enter NETBIOS name and click “Next”.


Step 15 − Select location of the SYSVOL, Log files and Database folders and then click Next.


Step 16 − Click “Install” and wait until it is finished. The server will restart several times.


The installation is now complete.

Kickstart Your Career

Get certified by completing the course

Get Started