In this guide we will setup the basis of all Enterprise Infrastructure – Active Directory.
Active Directory allows us to control and manage our Users and Environment, setup corporate policies and enforce them. And many many other things 🙂
Step 1: Installing Active Directory Services.
- So lets begin by opening Server Manager on our freshly installed Windows Server 2012 R2 Server
- Now select Internet Protocol Version 4 and click Properties. (Personally i like to uncheck IPv6, but its up to you if you have the infrastructure to use it)
- Input your IP information. If this is a totally new network you are creating you can choose your IP & Subnet at this step.
- If you don’t enter DNS information here, you will get an error at prerequisites step of promoting server to Domain Controller.
- Then we have to change the name of your server to something that looks like a Domain Controller, i’m going to name mine “dc01“. Click “Change” on System Properties.
- Click Next on Welcome Screen, then select “Role-based or feature-based installation“. Click Next, our server should be pre-selected on next screen so click Next again.
- Press Next on Features screen, as we aren’t adding any now, then Next on AD DS screen, and finally click “Install” on confirmation page.
Step 2: Promote server to Domain Controller.
- Once the Installation has finished, you can click the link that says “Promote this server to a domain controller“
- Since we are creating a fresh environment, we don’t have any existing domain to join to, so we are going to select “Add a new forest“. Microsoft suggests, and i also encourage, to have internal DNS domain name differ from external domain that you are going to use. For example let’s say our domain name is “my-it-world.com“, if we create the same domain on our internal network, it would make conflicts with public DNS. What we can do is use a subdomain for internal domain name, or a different root domain, for example “.local“(my-it-world.local). In my example I’m going to be using a subdomain “corp.my-it-world.com“, since i think its the best choice.
- Leave Forest & Domain functional level at Windows Server 2012 R2 and Input your password for Directory Services Restore Mode. Save this password as you might need it to restore Active Directory from a backup.
- Next, we are going to select our Short Domain Name, or NetBIOS domain name. It is the domain name you enter before the username in form of “Domain\Username“. I’m going to use “MYIT” for my configuration, so the users will have to input “MYIT\User” for their login.
- On next screen Prerequisites will be checked before final installation. Since this is a fresh install, everything should be fine here.