Active Directory - How to install Server 2012 AD services

This article will explain how to enable and install the Active Directory Domain Services role on Windows Server 2012 to setup a Domain Controller. You can click on the pictures for a larger version of the picture.

You need to install Windows 2012 before you can start with deploying Active Directory Services (the core edition of Server 2012 AD services is not covered in this wiki).
 

To start with adding the Active Directory Domain Services role click on ‘Add roles and features’ in the Server Manager.

 

http://www.citrix-guru.com/wp-content/uploads/2012/06/AD-1-1024x576.png

 

Click on ‘Next’ on the ‘before you begin’ information page.

 

http://www.citrix-guru.com/wp-content/uploads/2012/06/AD-2-1024x576.png

 

On the next screen you have to choose if you want to do a role-based and feature-based installation or a Remote Desktop services installation. Select the role-based and feature based installation.

 

http://www.citrix-guru.com/wp-content/uploads/2012/06/AD-3-1024x576.png

 

Select a server from the server pool or select a virtual hard disk. For this wiki I selected the local server.

 

http://www.citrix-guru.com/wp-content/uploads/2012/06/AD-4-1024x576.png

 

The list of select-able roles will appear. Select the ‘Active Directory Domain Services’ role and click ‘Next’.

 

http://www.citrix-guru.com/wp-content/uploads/2012/06/AD-5-1024x576.png

 

The list of features will be displayed that need to be included for installing the Active Directory Domain services role, click ‘Add features’ to continue.

 

http://www.citrix-guru.com/wp-content/uploads/2012/06/AD-6-1024x576.png

 

Click ‘Next’ to continue with installing the AD Domain Services.

 

http://www.citrix-guru.com/wp-content/uploads/2012/06/AD-7-1024x576.png

 

Click next on the ‘Select Features’ screen.

 

http://www.citrix-guru.com/wp-content/uploads/2012/06/AD-8-1024x576.png

 

Click ‘next’on the Active Directory Domain Services info screen.

 

http://www.citrix-guru.com/wp-content/uploads/2012/06/AD-9-1024x576.png

 

Click ‘Install’ to start the actual installation. Optionally you can select to automatically reboot the server if required.

 

http://www.citrix-guru.com/wp-content/uploads/2012/06/AD-10-1024x576.png

 

The installation process will start.

 

http://www.citrix-guru.com/wp-content/uploads/2012/06/AD-11-1024x576.png

 

Click on ‘Close’ when the installation has finished.

 

http://www.citrix-guru.com/wp-content/uploads/2012/06/AD-12-1024x576.png

 

There will be a notification in the Server Manager that ‘Configuration is required for Active Directory Domain Services’.

 

http://www.citrix-guru.com/wp-content/uploads/2012/06/AD-13-1024x576.png

 

Select the AD DS role on the left part of the screen to view the status of the Active Directory Domain Services. In the action list click on ‘Promote this server to a domain controller’.

 

http://www.citrix-guru.com/wp-content/uploads/2012/06/AD-14-1024x576.png

 

The Active Directory Domain Services configuration wizard will appear.

 

http://www.citrix-guru.com/wp-content/uploads/2012/06/AD-15-1024x576.png

 

To setup a new Forest select ‘Add a new forest’ and enter a root domain name for my forest (test.local for my test lab).

 

http://www.citrix-guru.com/wp-content/uploads/2012/06/AD-16-1024x576.png

 

Next you can select the functional level for the new forest and root domain. 
 

http://www.citrix-guru.com/wp-content/uploads/2012/06/AD-17-1024x576.png

 

Enter a password for the Directory Services restore mode and click ‘next’ to continue.

 

http://www.citrix-guru.com/wp-content/uploads/2012/06/AD-18-1024x576.png

 

Ignore the DNS warning if you do not have an authoritative parent zone and click ‘Next’.

 

http://www.citrix-guru.com/wp-content/uploads/2012/06/AD-19-1024x576.png

 

Enter the NetBIOS domain name and click ‘Next’.

 

http://www.citrix-guru.com/wp-content/uploads/2012/06/AD-20-1024x576.png

 

Provide the path for the database, logging and SYSVOL folder and click on ‘Next’.

 

http://www.citrix-guru.com/wp-content/uploads/2012/06/AD-21-1024x576.png

 

Overview of all the selected options will be displayed and the option to export all the selected configuration options to PowerShell with the ‘View script’ button. Click ‘Next’to continue.

 

http://www.citrix-guru.com/wp-content/uploads/2012/06/AD-22-1024x576.png

 

The Prerequisites Check screen appear and some warning might be displayed there. Finally the install button is no longer greyed-out to you can select ‘Install’.

 

http://www.citrix-guru.com/wp-content/uploads/2012/06/AD-23-1024x576.png

 

The Active Directory Domain Services will now be configured and the management tools will be installed.