This article is for those looking for a detailed and straightforward guide on installing Active Directory Domain Services on Windows Server 2012 R2.

In this guide, we will consider the case when you already have a server with the Windows Server 2012 R2 operating system installed on it.

You can read more about how to install Windows Server 2012 R2 in my guide “Install Windows Server 2012 R2”. You can learn how to install Active Directory Domain Services on Windows Server 2019 by reading “Install Active Directory Domain Services on Windows Server 2019”.

I recommend that you always use the English-language editions of Windows Server. As practice shows, original (English) versions of Windows work more stable, besides, it will be easier for you to communicate in the same language with professionals in case of problems or if you want to exchange experience.

Before installing the Active Directory Domain Services role, you must give the server the correct name according to your organization’s standards, and then specify a static IP address, subnet mask, gateway, and DNS server address.

We go into the system under an account with administrator rights and on the keyboard press the combination of keys “Win” and “x”, then select “System” in the menu that opens.

Install Active Directory Domain Services on Windows Server 2012 R2

Next, in the “System” window in the “Computer name, domain, and workgroup settings” section, click on the “Change settings” button.

Install Active Directory Domain Services on Windows Server 2012 R2

In the “System Properties” window on the “Computer Name” tab, click on the “Change” button.

Install Active Directory Domain Services on Windows Server 2012 R2

I highly recommend that you think ahead about the name of the servers in your organization.

Next, specify the new server name in the “Computer Name” field and click on the “OK” button.

Install Active Directory Domain Services on Windows Server 2012 R2

The system will warn you that you need to restart the server to apply the new settings.

Click on the “OK” button.

Install Active Directory Domain Services on Windows Server 2012 R2

In the “System Properties” window, click on the “Close” button.

Install Active Directory Domain Services on Windows Server 2012 R2

Now the system will offer to restart the server for the new settings to take effect.

Click on the “Restart Now” button.

Install Active Directory Domain Services on Windows Server 2012 R2

Next, the server will start to reboot.

Install Active Directory Domain Services on Windows Server 2012 R2

Now you need to register a static IP address in the network connection settings.

We go into the system under an account with administrator rights and press the “Win” and “x” keys on the keyboard, then select “Network Connections” in the menu that opens.

Install Active Directory Domain Services on Windows Server 2012 R2

Now right-click on the “Ethernet” network connection and select “Properties”.

Install Active Directory Domain Services on Windows Server 2012 R2

Select “Internet Protocol Version 4” and click on the “Properties” button.

Install Active Directory Domain Services on Windows Server 2012 R2

Next, select the item “Use the following IP address” and specify a free IP address, subnet mask, and gateway. Please note that you must understand in advance how your network works and know which IP addresses are available.

In the “Preferred DNS server” field, specify the IP address of this server, since your server will have the “DNS Server” role, which is installed together with the “Active Directory Domain Services” role.

Click on the “OK” button.

Install Active Directory Domain Services on Windows Server 2012 R2

In the “Ethernet Properties” window, click on the “Close” button.

Install Active Directory Domain Services on Windows Server 2012 R2

You are now ready to install the Active Directory Domain Services role.

Open the “Server Manager”, click on the “Manage” button in the upper right corner of the screen and select “Add Roles and Features”.

Install Active Directory Domain Services on Windows Server 2012 R2

Click on the “Next” button.

Install Active Directory Domain Services on Windows Server 2012 R2

Select the installation type “Role-based or feature-based installation” and click on the “Next” button.

Install Active Directory Domain Services on Windows Server 2012 R2

Next, select the server on which the role will be installed.

Click on the “Next” button.

Install Active Directory Domain Services on Windows Server 2012 R2

Select the “Active Directory Domain Services” role.

Install Active Directory Domain Services on Windows Server 2012 R2

In the next step, the Role Installation Wizard will warn you that several components need to be installed to install the Active Directory Domain Services role.

Click on the “Add Features” button.

Install Active Directory Domain Services on Windows Server 2012 R2

It is not necessary to select the DNS Server role at this point. It will be installed later.

Click on the “Next” button.

Install Active Directory Domain Services on Windows Server 2012 R2

At the stage of adding components, we leave all the default values.

Click on the “Next” button.

Install Active Directory Domain Services on Windows Server 2012 R2

Next, the “Role Installation Wizard” invites you to familiarize yourself with additional information regarding the “Active Directory Domain Services” role.

Click on the “Next” button.

Install Active Directory Domain Services on Windows Server 2012 R2

In order to start the installation of the selected role, click on the “Install” button.

Install Active Directory Domain Services on Windows Server 2012 R2

The installation of the selected role and the components required for it has begun.

Install Active Directory Domain Services on Windows Server 2012 R2

Installation of the Active Directory Domain Services role is now complete.

Now click on the “Promote this server to a domain controller” button in order to promote your server to the domain controller level.

Install Active Directory Domain Services on Windows Server 2012 R2

I highly recommend that you think ahead about which domain name you will use when adding a new forest.

In this tutorial, we will add a new forest, so in the “Active Directory Domain Services Configuration Wizard” window, select the “Add a new forest” item and in the “Root domain name” field, specify the desired name for the root domain.

Click on the “Next” button.

Install Active Directory Domain Services on Windows Server 2012 R2

The next step is to select the functional level of the new forest and root domain. If you are adding a new forest and plan to use servers based on the Windows Server 2012 R2 operating system in the future, you do not have to change the functional level of the forest and the root domain.

Specify the password for DSRM (Directory Service Restore Mode) and click on the “Next” button.

Install Active Directory Domain Services on Windows Server 2012 R2

At this point, the AD DS Configuration Wizard will warn you that a delegation for this DNS server cannot be created.

Click on the “Next” button.

Install Active Directory Domain Services on Windows Server 2012 R2

Next, you can change the NetBIOS name that was assigned to your domain. I recommend leaving the default NetBIOS value.

Click on the “Next” button.

Install Active Directory Domain Services on Windows Server 2012 R2

You can now change the paths for the AD DS database directories, log files and the SYSVOL folder. I recommend leaving these default values.

Click on the “Next” button.

Install Active Directory Domain Services on Windows Server 2012 R2

The next step displays a summary of the server configuration.

Click on the “Next” button.

Install Active Directory Domain Services on Windows Server 2012 R2

Next, the “AD DS Configuration Wizard” will check if all prerequisites are met and display a report.

All prerequisite checks are passed successfully means all prerequisite checks are passed.

Click on the “Install” button.

Install Active Directory Domain Services on Windows Server 2012 R2

The process of promoting the server to the domain controller has begun.

Install Active Directory Domain Services on Windows Server 2012 R2

After your server is promoted to a domain controller, the server will automatically reboot.

Before the server starts to reboot, you will see a warning.

Install Active Directory Domain Services on Windows Server 2012 R2

Server promotion to a domain controller is complete.

You can use the Active Directory Administrative Center or the Active Directory Users and Computers snap-in to manage users, groups, and other Active Directory objects.

We go into the system under an account with domain administrator rights.

Install Active Directory Domain Services on Windows Server 2012 R2

Open Server Manager, click on the “Tools” button in the upper right corner of the screen, and select “Active Directory Administrative Center”.

Install Active Directory Domain Services on Windows Server 2012 R2

The Active Directory Administrative Center will open.

Install Active Directory Domain Services on Windows Server 2012 R2

You can also use the Active Directory Users and Computers snap-in to manage users, groups, and other objects in the Active Directory.

In Server Manager, click on the “Tools” button in the upper right corner of the screen and select “Active Directory Users and Computers”.

Install Active Directory Domain Services on Windows Server 2012 R2

The Active Directory Users and Computers snap-in opens.

Install Active Directory Domain Services on Windows Server 2012 R2


My Courses

🎓 Dive into my comprehensive IT courses designed for enthusiasts and professionals alike. Whether you’re looking to master Docker, conquer Kubernetes, or advance your DevOps skills, my courses provide a structured pathway to enhancing your technical prowess.

My Services

💼 Take a look at my service catalog and find out how we can make your technological life better. Whether it’s increasing the efficiency of your IT infrastructure, advancing your career, or expanding your technological horizons — I’m here to help you achieve your goals. From DevOps transformations to building gaming computers — let’s make your technology unparalleled!

Refill My Coffee Supplies

💖 PayPal
🏆 Patreon
💎 GitHub
🥤 BuyMeaCoffee
🍪 Ko-fi

Follow Me

🎬 YouTube
🐦 Twitter
🎨 Instagram
🐘 Mastodon
🧵 Threads
🎸 Facebook
🧊 Bluesky
🎥 TikTok
💻 LinkedIn
📣 daily.dev Squad
🧩 LeetCode
🐈 GitHub

Is this content AI-generated?

Nope! Each article is crafted by me, fueled by a deep passion for Docker and decades of IT expertise. While I employ AI to refine the grammar—ensuring the technical details are conveyed clearly—the insights, strategies, and guidance are purely my own. This approach may occasionally activate AI detectors, but you can be certain that the underlying knowledge and experiences are authentically mine.

Vladimir Mikhalev
I’m Vladimir Mikhalev, the Docker Captain, but my friends can call me Valdemar.

DevOps Community

hey 👋 If you have questions about installation or configuration, then ask me and members of our community: