Before we get to the installation, there are a few things to check to make sure the server is ready. Check that DNS is installed and functioning, and that there are no major event log errors. Next, make sure the system is fully updated with the latest Service Packs installed.

Ideally, you will only want 1 NIC in the server to avoid duplicate IP addresses being resolved to the same name in DNS, which can generate several event log errors and warnings relating to AD and DNS services. If 2 NICs are in place on the server, set only 1 of them to be able to register with DNS as shown below.

Change network card to not register with DNS

Now begin the AD installation process to turn a Windows 2012 Server into a Domain Controller (DC) Server by logging onto it as the Local Administrator and using the Server Manager Dashboard.

Note: Unlike its predecessors, Windows 2012 no longer has a DCPROMO command as a means to do an all in one installation of Active Directory Services.

To get started, first open Server Manager and add the AD service and roles.

Ad the active directory service

Ad the active directory service

Note the preinstallation tasks listed on the next screen.

Add roles and features wizard

On the next screen, choose “Role-based or feature-based installation”.

Add roles and features wizard

Select the server to install AD onto (the local server in this scenario).

Add roles and features wizard

Next, select “Active Directory Domain Services”.

Add roles and features wizard

On the next screen, simply click “Next” to install dependent services and roles.

Add roles and features wizard

The next screen explains that a DNS server is required for active directory. If there isn’t one available, that role will be installed on this server. There is also a recommendation of having at least 2 domain controllers on the network. Click “Next”.

Add roles and features wizard

Next is a confirmation of your settings. Click “Install”.

Add roles and features wizard

Active directory has now been installed, but requires configuration.

Add roles and features wizard


The next step in the process is to convert this server into a domain controller. Select the “AD DS” section in Server Manager, and via the “Notifications” or “More” prompt for configuration, click on “Promote this Server to a Domain Controller”

Promote to a domain controller

On the next screen, you will be prompted to add this new DC to an existing domain, add a new domain to an existing forest, or add a new forest. In this example, we’ll add our server to an existing domain.

Promote to a domain controller

If adding an additional DC Server that is a Windows 2012 Server to an existing Domain you must first do the following:

  • Ensure the existing Domain Forest Functional Level is Windows 2003 or higher.
  • You must also prep the existing Windows Forest Schema with the following commands:
    • ADprep /forestprep
    • ADprep /domainprep

The ADprep.exe program is supplied on your Windows 2012 DVD in the \support\adprep folder. The images below show the process of running ADprep /forestprep.

Running the ForestPrep command

Running the ForestPrep command

Running the ForestPrep command

Running the ForestPrep command

Running the ForestPrep command

Next, we must run the ADprep /domainprep command as shown below.

Running the DomainPrep command

Now back to the promotion of our server. Next, we need to set the domain and forest functional levels, set the other roles this DC will have (Global Catalog, DNS), and set a passord for the DS restore administrator account. When setting the domain and forest functional levels, you need to specify what types of DCs you have within those entities. The possibilities are:

  • All DCs Windows 2003
  • All DCs Windows 2008
  • All DCs Windows 2008 R2
  • All DCs Windows 2012
  • Mixture of Windows 2008 and 2003 DCs
  • Mixture of Windows 2008 R2 and 2003 DCs
  • Mixture of Windows 2008 and 2008 R2 DCs
  • Mixture of Windows 2003 and 2012 DCs
  • Mixture of Windows 2008 and 2012 DCs
  • Mixture of Windows 2008 R2 and 2012 DCs

Higher levels enable new unique functionality in Active Directory.

Running the DomainPrep command

During AD configuration, a DNS delegation is attempted to be created to ensure that computers can resolve DNS queries for hosts, including domain controllers and member computers for the Domain being constructed (i.e. Testing.local in this scenario). If you already have installed and configured DNS you do not need to create A DNS delegation, and this can be ignored.

Create a DNS delegation

Enter the NETBIOS version of the Fully Qualified Domain Name (FQDN) chosen for this domain. In this scenario, NETBIOS name = TESTING and FQDN name = TESTING.local.

NETBIOS Domain Name

Next, we specify the locations for the database folder, log files, and SYSVOL folder. The default locations are shown in the image below. SYSVOL is a shared folder that AD creates in %System_Drive%\win_dir\SYSVOL\sysvol. It will hold policies and scripts that can be used within the domain environment.

AD database and Sysvol locations

Next is a summary of the AD configuration settings that have been selected. The “View Script” button allows you to view and save the PowerShell script commands that will be used to carry out the AD configuration for additional installations. This topic will be discussed more later.

AD configuration settings

This is what the PowerShell script looks like:

PowerShell script

The next screen is a pre-requisite check to ensure all conditions are met for this Windows 2012 Server to become a DC Server running the AD services.

Active Directory Installation

Press the “Install” button and the installation will begin. After the AD configuration completes, the system reboots automatically. You now logon as the Domain Administrator who has a password set to that of the Local Administrator for now. After logging in, there will now be AD Tools including the main Admin Console called “Active Directory Administrative Center” and more familiar “AD Users and Computers”, “AD Sites and Services”, etc as shown below.

Active Directory Tools

Additional Installation Methods:

You can install AD onto a Server using the GUI we have just used or a Windows Powershell command prompt using the command:

Installing Active Directory with Powershell

You can also carry out an Advanced Installation using an “Install From Media” (IFM) option) of AD onto a Server using either Powershell commands or the GUI. With an Advanced Mode AD installation\configuration, you can install AD from an existing backed up AD database file (NTDS.DIT) as highlighted on the previous image via the “Install-ADDSDomainController” command with the “–InstallationMediaPath ” option.

Typically, in such a scenario you would be installing AD to create an additional DC for an existing domain, rather than creating a new domain and waiting for AD replication to occur.

This article is a part of 70-410 Installing and Configuring Windows Server 2012 Prep course, more articles in this course are :

Configuring Work Folders

Work Folders is a Windows Server 2012 R2 feature that enables administrators to provide their users with synchronized access to ...
Read More

Deploying print server

Installing, sharing, monitoring, and managing a single network print device is relatively simple, but when you are responsible for dozens ...
Read More

Sharing printer

Using Windows Server 2012 R2 as a print server can be simple or complex, depending on how many clients the ...
Read More

Managing documents in print queue

Managing documents refers to pausing, resuming, restarting, and canceling documents that are currently waiting in a print queue. By default, ...
Read More

Managing printers

Users with the Allow Manage This Printer permission can go beyond manipulating queued documents; they can reconfigure the printer itself ...
Read More

Using Print and Document Services role

All the printer sharing and management capabilities discussed in the previous sections are available on any Windows Server 2012 R2 ...
Read More

Using Server Manager for remote management

Server Manager has been the primary server administration tool for Windows Server ever since Windows Server 2003. The most obvious ...
Read More

Using Remote Server Administration Tools

You can manage remote servers from any computer running Windows Server 2012 R2; all the required tools are installed by ...
Read More

Working with remote servers

Once you have added remote servers to Server Manager, you can access them using a variety of remote administration tools ...
Read More

Virtualization architectures

Virtualization products can use several different architectures to share a computer’s hardware resources among VMs. The earlier type of virtualization ...
Read More

70-410 Installing and Configuring Windows Server 2012 Prep course includes following practice tests:

No posts found.