In a company, a domain controller allows you to manage all your ressources (users, computers) on a repository, the Active Directory.
In this article, we will install a Domain controller under windows server 2012 and attach one computer to the new domain created step by step.
Launch Server Manager dashboard and click on add Role and Features
Let the default option of installation type to make the install on a single server
select the current server (or the server you want)
select Active Directory Domain Service role, it will popup features attached to ADDS role (GUI…)
Group policy feature is selected
and active directory tools too 😉
a screen ADDS explains what is ADDS.
Confirm the installation the selection and click install
installation is in progress
Now, after installing ADDS, you have to promote your server as a domain controller, so a notification on the server manager appears on the top right side.
ADDS configuration wizard appears when clicking on the url “Promote this server to a domain controller ”
Select add a new forest because we install the primary domain controller for the new domain and enter the domain name (here boutougha.company.com)
select the compatibility level you want around OS, here we select a windows server 2012 compatibility
below, OS you can select if you want to manage older OS
a warning appears for delegation
the wizard check the NetBIOS name
the location of repository and log for Active Directory is specified here.
It’s a good practice to use different drive for repository and log as on Database server world 😉
for the demo, I use C: for both.
here you can review all options configured :
you are able to get the powershell script if you want to batch it on your IT.
Oops, our controller domain name is too long, we have to rename it (max 15 caracters 😉
Return on the NetBIOS name and change it
Now, you see ADDS on the left side and on the main screen
you can launch the Active Directory Manager through Tools
Open the Network configuration, to configure a static IP for your domain controller
access to Ethernet properties :
and IPv4 properties to change IP address
I set for my intranet an IP 192.168.3.1 with a mask to manage 254 computers
as you can see the actual domain is boutougha.company.com waw 😉
We will attach some client computer to our new domain, so go to another computer. (here the client is under windows server 2012 too)
In this client computer, Open Network and Shared Center to modify the IP of a client computer in order to put it on the same subnet
as your Domain Controller (192.168.3.0/8 which means with a 255.255.255.0 Mask).We set ip value to 192.168.3.16. We have also configured our DNS (domain Name Sserver with
the IP address of our Domain controller, that is 192.168.3.1)
click in the Server manager on Local Server (left side) and on Workgroup to change the domain of your client computer
Click on change button
click on domain and set the domain value (here boutougha.company.com) and a popup will appear to put your administrator credentials
it’s good, your client has joined your domain