Installing Active Directory on Windows Server 2012

logo-active-directoryThe first role that a newly installed server can have, is the role of Domain Controller (DC). By installing Active Directory (AD), the server will become a DC. Active Directory provides a central location for network administration and security.

It’s better to visit “What’s New in Active Directory Domain Services (AD DS)” TechNet page to be familiar with the changes of AD in Windows Server 2012.

In previous versions of Windows Server, dcpromo (DC promotion) command was used to promote a server to a DC, but in Windows Server 2012, dcpromo has been deprecated.

Therefore, follow my 2 methods:

  1. Open Server Manager, and click on Add roles and features
  2. Click on Next, and select Role-based or feature-based installation and then click Next
  3. Click Select a server from the server pool, click the name of the server, and then click Next
  4. Select Active Directory Domain Services, in the new window, click Add Features, and then click Next twice
  5. Finally click Install, when the installation is completed, click on Promote this server to a domain controller
  6. Check Add a new forest radio button ( Because this is the first DC in our environment, we should create a new forest first)
  7. In front of Root domain name, write the name of the forest (root domain), that is CyrusBesharat.local. Then click Next
  8. Here we can choose forest and domain functional level, I prefer to keep them both intact, which is Windows Server 2012. The default configuration has selected the role of Domain Name System (DNS) server to be installed which is recommended to install DNS on a DC. And because this is the first DC in our forest, Global Catalog (GC) role is selected, and Read only domain controller (RODC) is not selected, and we cannot change them either. Under Directory Services Restore Mode (DSRM), type a strong password. This password will be used in recovery. Then click Next
  9. On DNS Options page, as this is the root domain, there is no need to delegate DNS. Just click Next
  10. Review The NetBIOS domain name, which is CYRUSBESHARAT, then click Next
  11. On Paths page, I recommend to change the path of Database, Log files and SYSVOL folders, and put them on different physical hard disk with RAID technology. Click on Next
  12. Review your selections and click Next
  13. On Prerequisites Check page, click Install
  14. After some times, the server will restart automatically

Now the second method:

  1. Open PowerShell, and type the below command:

Install-WindowsFeature AD-Domain-Services –IncludeManagementTools

Install-ADDSForest -DomainName CyrusBesharat.local

 

You noticed that using PowerShell is much easier and faster than the GUI one.

Advertisements
%d bloggers like this: