attachments/drowe/media/windowslivewriter/installingwindows2012r2domaincontroller_702c/image_thumb.png

Installing Windows 2012 R2 Domain Controller

Well, I’ve been pretty lazy in my lab environment for the last couple of months.  I’ve finally decided it is time to migrate to a Windows 2012 R2 domain.  Currently, I am running a Windows 2008 R2 domain with Exchange 2010 and Lync 2010.  This article is the first in a couple of articles that are loosely related.  This article will focus on:

  • Creating a new VM in Windows 2008 R2 Hyper-V (I know, I know, I need to update that too)
  • Installing a new Windows 2012 R2 server
  • Preparing the server to be a Domain Controller
  • Installing the Active Directory Domain Services role
  • Promoting the server to a Domain Controller.

 

Creating a new VM in Windows 2008 R2 Hyper-V

  1. In Windows Server Manager Hyper-V console, select New – Virtual Machine.
    image
  2. Click Next.
    image
  3. Select a name for your virtual machine and a location to store the VHD.
    image
  4. Allocate some RAM.
    image
  5. Select your network
    image
  6. Select a location for your VHD and the size.
    image
  7. Install and Operating System from a boot CD/DVD-ROM
    image
  8. Review and click Finish.
    image
  9. The Virtual Machine will be created.
    image 

 

Installing Windows 2012 R2 Server

It is always a good idea to review the requirements for installing a new server operating system, especially if you are installing into a lab or production environment.  The following article outlines those requirements. The minimum basic requirements are below:

 

  1. In Server Manager, select the new VM and connect.
    image
  2. In the VM Console, select to start the VM.  It should boot from your Windows 2012 R2 ISO.
    image
  3. Windows will begin to load.
    image
  4. Select your Language, Time format and Keyboard. Click Next.
    image
  5. Click Install Now.
    image
  6. Enter your Product Key and click Next.
    image
  7. Select Windows (Server with a GUI).
    image
  8. Check the box to accept the license terms and click Next.
    image
  9. Select Custom: Install Windows only (Advanced).
    image
  10. Select your hard drive and click Next.
    image
  11. Installing Windows.
    image
  12. Once complete it will ask to Restart.  Restart Now.
    image
  13. Windows will restart.
    image
  14. Once setup resumes, it will ask you for an Administrator password for the computer.  Click Finish.
    image
  15. Windows will then Finalize your Settings.
     image

Windows is now installed.

 

Preparing the server to be promoted to a Domain Controller

There are a couple of things that need to be configured once the server is installed and before you can promote it to be a Domain Controller.

  • Change name and add to the domain
  • Setup network settings
  • Enable Remote Desktop Connections
  • Run Windows Update

Change Name and add to the domain:

  1. Click the Ctrl+Alt+Del button
    image
  2. The server will recognize that it is connected to a network and ask to scan for other devices.  Click Yes.
    image
  3. Click Configure this local server.
    image
  4. Click the Computer Name.
    image
  5. The old, familiar System Properties window appears.  Click Change…
    image
  6. Change the Computer name and select Member of Domain and enter your domain name.
    image
  7. Enter the credentials for a Domain Admin
    image
  8. Welcome to the domain.
    image
  9. You must restart your computer to apply these changes.
    image
  10. Restart.

Configure Network Settings

  1. On Server Manager summary click on IPv4 settings
     image
  2. The Network Settings window will appear.  Right-click on the network adapter and select Properties.
    image
  3. Select Properties of Internet Protocol Version 4 (TCP/IPv4).
    image
  4. Enter the IP, Subnet Mask, Default Gateway and DNS servers.
    image
  5. Complete
    image

 

Enable Remote Desktop Connection

  1. Click Disabled next to Remote Desktop
    image
  2. Click Allow remote connections to this computer.  A pop-up will appear. Click OK.
    image
  3. Click OK.

Check for Updates

33 Updates installed

image

The server will need to reboot once this is complete.

 

Install the Active Directory Domain Services

  1. In Server Manager, click Add roles and features
    image
  2. On the Add Roles and Features Wizard, click Next.
    image
  3. Select Role-base
    image
  4. Select the server and click Next.
    image
  5. Check the box for Active Directory Domain Services.
    image
  6. Review the Features to be added and click Add Features
    image
  7. Click Next.
    image
  8. Click Next.
    image
  9. Click Next.
    image
  10. We’re now ready to install the features.  Click Install.
    image
  11. It will take a few minutes to install the features and then the server will need to be rebooted.
    image 

 

Promote the Server to a Domain Controller

Now you are ready to promote this Windows 2012 R2 server to a Domain Controller.  Kick off the Active Directory Domain Service Configuration Wizard.

  1. When you open Server Manager after installing the Active Directory Domain Services role, there will be a warning message in the Notifications area at the top right.  Then click Promote this server to a domain controller.
    image
  2. The Active Directory Domain Services Configuration Wizard will appear.  Make the appropriate deployment operation selection, select the domain where you are installing the new Domain Controller and click Next.
    image
  3. Select the appropriate capabilities and site information, select the AD site, enter your Directory Services Restore Mode (DSRM) password and click Next.
    image
  4. On the DNS Options page, you might see a warning message “A delegation for this DNS server cannot be created because the authoritative parent zone cannot be found…
    image
  5. This was a know issue with Windows 2008 R2 Domain Controllers and you can read about it here, but I haven’t found a similar article for Windows 2012 R2 yet.  In any case, I believe the advice from 2008 is still application and we can move forward.
    image
  6. On the Additional Options page, you’re given the option to Install from Media (IFM).  We don’t need this, since this Domain Controller is on the network and can talk to other DCs.  Select from Any Domain Controller and click Next.
    image
  7. Select the appropriate locations based on your companies design decisions and click Next.
    image
  8. Click Next.
    image
  9. On the Review Options page, verify that the settings are correct and click Next.
    image
  10. On the Prerequisite Checks page, verify that there are no errors and review the warnings, then click Install.
    image
  11. Once the DCpromo is complete, the server will reboot automatically.

You now have a Windows 2012 R2 server in your Windows 2008 R2 environment.

Leave a Reply