Share via


Windows Server 2012: Set Up your first Domain Controller (step-by-step)

In Windows Server 2012, dcpromo has been deprecated.

http://myousufali.files.wordpress.com/2012/07/dcpromo-deprecated-ws2012-1.png?w=540&h=228

 

Using Server Manager (UI):

In order to make the windows server 2012 domain controller we will install ADDS (Active Directory Domain Services) role from the server manager on Windows Server 2012.

All the Latest security updates must applied before installing the Role.

First we will change the server name let say DC01 and the IP address 10.10.21.1 (try to avoid using default 192.168.0.1)

http://myousufali.files.wordpress.com/2012/07/renamecomp.png?w=540&h=405

  

Installing the AD DS role

http://myousufali.files.wordpress.com/2012/07/adds.png?w=540&h=405 

“Before You Begin” screen provides you basic information such as configuring strong passwords, IP addresses and Windows updates.

http://myousufali.files.wordpress.com/2012/07/adds-011.png?w=540&h=382

 

On Installation Type page, select the first option “Role-based or Feature-based Installation“.

Scenario-based Installation option applied only to Remote Desktop services.

http://myousufali.files.wordpress.com/2012/07/adds-021.png?w=540&h=383

 

On the “Server Selection” Page, select a server from the server pool and click next.

http://myousufali.files.wordpress.com/2012/07/adds-031.png?w=540&h=381

 

To install AD DS, select Active Directory Domain Services in turn it will pop-up to add other AD DS related tools. Click on Add Features.

http://myousufali.files.wordpress.com/2012/07/adds-041.png?w=540&h=364

 

After clicking “Add Features” above, you will be able to click “Next >” as shown in the screen below.

http://myousufali.files.wordpress.com/2012/07/adds-051.png?w=540&h=382

 

On the “Select Features” Page, Group Policy Management feature automatically installed during the promotion. Click next.

http://myousufali.files.wordpress.com/2012/07/adds-061.png?w=540&h=382

 

On the “Active Directory Domain Services” page, it gives basic information about AD DS. Click Next.

http://myousufali.files.wordpress.com/2012/07/adds-071.png?w=540&h=381

 

On the “Confirmation” Page, You need to confirm this to continue with this configuration. It will provide you an option to export the configuration settings and also if you want the server to be restarted automatically as required.

http://myousufali.files.wordpress.com/2012/07/adds-081.png?w=540&h=384

 After clicking “Install” the selected role binaries will be installed on the server.

http://myousufali.files.wordpress.com/2012/07/adds-091.png?w=540&h=355

 After “Active Directory Domain Services” role binaries have been installed and now it is time to promote the server to a Domain Controller.

http://myousufali.files.wordpress.com/2012/07/adds-0101.png?w=540&h=383

  

TechNet Article:

Promoting Windows 2012 Server to Domain Controller

To create a new AD forest called “ArabITPro.local”, select add a new forest.

http://myousufali.files.wordpress.com/2012/07/adds-0112.png?w=540&h=395

Type the name ArabITPro.local

http://myousufali.files.wordpress.com/2012/07/adds-0122.png?w=540&h=395

Specify the FFL, DFL, whether or not it should be a DNS Server and also the DSRM administrator password.

As you can see, it has selected the GC option by default and you cannot deselect it.

The reason for this is that is the very first DC of the AD forest and at least one needs to be a GC.

http://myousufali.files.wordpress.com/2012/07/adds-0132.png?w=540&h=395

DNS delegation warning.

http://myousufali.files.wordpress.com/2012/07/adds-0142.png?w=540&h=395

Checks the NetBIOS name already assigned.

http://myousufali.files.wordpress.com/2012/07/adds-015.png?w=540&h=395

Specify the location of the AD related folders and then click next.

http://myousufali.files.wordpress.com/2012/07/adds-016.png?w=540&h=395

Summary Of All Installation Options/Selections.

http://myousufali.files.wordpress.com/2012/07/adds-017.png?w=540&h=395

 

Click View script for single command line PowerShell script for dcpromo.

http://myousufali.files.wordpress.com/2012/07/adds-018.png?w=540&h=367

 

Before the actual install of AD, all prerequisites are checked. If All prerequisite checks are passed successfully then click Install.

http://myousufali.files.wordpress.com/2012/07/adds-019.png?w=540&h=395

When you click Install, DNS and the GPMC are installed automatically.

http://myousufali.files.wordpress.com/2012/07/adds-020.png?w=540&h=395

 

After the promotion of the server to a DC finished server restart automatically.

Once the server is booted and you logon to it, click on Server Manager | Tools , will notice that following have been installed:

  • Active Directory Administrative Center
  • Active Directory Domains and Trusts
  • Active Directory Module for Windows PowerShell
  • Active Directory Sites and Services
  • Active Directory Users and Computers
  • ADSI Edit
  • DNS
  • Group Policy Management

http://myousufali.files.wordpress.com/2012/07/adds-022.png?w=540&h=383

TODO: Next step is to install the replica domain controller for high availability.

 

Using PowerShell

TODO

 

Other Languages