Posted on Leave a comment

Installing a domain controller in Windows Server 2012

Hi Friends, Today we will see how to install and promote a domain controller in Windows server 2012. It has seen a change while installing a domain controller. The “dcpromo.exe” present in previous versions has been deprecated. We need to install domain controller from Server Manager only. Before we start installing the domain controller let’s change our server’s name to ‘Server‘ and IP address to “10.10.10.1″.

Now let’s go to Server Manager and start adding Active Directory Domain Services” role from Add Roles and Features. Click on “Add Roles and Features”.

Before we begin, we are presented with basic information on IP addresses, Windows updates and configuring strong passwords. Click “Next”.

Then we are prompted for the type of installation. Select Role Based or Feature based installation” and click Next”.

Then we are prompted to select the destination server. Select the server we just named and click “Next”.

Then we are asked to select the roles we want to install. Select Active Directory Domain Services and click “Next”.

Then we get a pop-up to add features that are required for Active Directory domain services. These features are automatically selected. Click on Add Features”.

We can see that Group Policy Management which is required for Active Directory Domain services has been automatically selected.

Then we are given a brief description about Active Directory domain services and some basic things to note. Click Next”.

Then we are shown the roles that will be installed on the server as a confirmation. Click on Install”.

Then the installation starts.

As the installation is finished, we get a message ‘Configuration required. Installation succeeded on server’. Click on Close”.

We have successfully installed Active Directory Domain Services on our server. Now we need to promote the domain controller. In the previous versions of Windows server, it is here we used dcpromo.exe. In our Server Manager, we have a notification flag with a yellow triangle with an exclamation mark inside it. Click on it.

Click on ‘Promote this server as domain controller’.

We are prompted to choose the configuration of our domain controller. Choose Add a new forest and specify the root domain name as shunya.com. Click on Next”.

We are asked to choose the domain controller options. Set the forest functional level and domain functional level as Windows Server 2012. Select DNS server. Since this is the root domain in the forest it is automatically Read only domain controller. Enter the DSRM password and click on Next”.

Then DNS options screen appears. Click on Next”.

Look at the NETBIOS name which is automatically assigned. It is shunya.

The location where the AD DS database, log files and SYSVOL are shown. We can specify different locations if we choose to be. Click on Next”.

Then we see a review of our selections. Click on Next”.

Then we see a Windows PowerShell script for AD DS deployment.

Then we get a prerequisites check window. Click on Install”.

After all the prerequisites are validated successfully, the server is successfully configured as a domain controller and the system is restarted.

After the system restarts, we are asked to login into the shunya domain.

  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.