Building Your SharePoint 2013 development machine on Windows Server 2012 – Part 4 – Installing Active Directory

I am doing a collection of blog posts, you can access the other parts of this post below.

Installing Active Directory

In this post I will show you the steps to make your Virtual Machine a Domain Controller.

Giving the Virtual Machine a Static IP Address.

First thing you will need to do is Set the IP of the machine to Static address.

  1. Log on to the Virtual Machine, as administrator | Pa55w0rd.
  2. From Start Menu type CMD and open the command prompt.
  3. Type ipconfig /all
  4. Here you should see what the current dynamic IP address is for your virtual machine.
  5. Back in the start menu, type View Network Connections and under Settings you should see a link.
  6. Right click your network adapter and click Properties.
  7. In the properties windows, select Internet Protocol Version 4 (TCP/IPv4) and then click the Properties button.
  8. Update the properties form to match your current machine configuration.
  9. Click OK. Click Close. After a moment your adapter will reset itself and you should have internet access again.

Change the name of the Machine.

  1. From the Server Manager screen. Click on Local Server.
  2. Where it says Computer Name, click the link.
  3. This will open the System Properties dialog box.
  4. Click on the Change button.
  5. Enter the name of the server. I have called mine CannonFodderServer
  6. Click OK.
  7. Click OK and reboot when asked.

Setting up the Domain Controller.

  • Login to the CannonFodderServer virtual machine using administrator | Pa55w0rd
  • On the Server Manager > Dashboard, click (2) Add roles and features
    • On the Add Roles and Feature Wizard you will be present with Before you begin. Click Next
    • On Installation Type select Role-Based or Feature-based installation
    • On Select destination server accept the default of Select a Server from the server pool with CannonFodderServer selected. Click Next
    • On the Server Roles, select “Active Directory Domain Services
    • Accept the Additional features required, by clicking Add Features.
    • Keep press Next until you reach the Confirmation screen. Then click Install.
      Once it is installed click Close on the Wizard page.
  • Back on the Server Manager Dashboard you will see the item AD DS added to the Roles and Server Groups. Click on the title of AD DS. Note it will say at the top of the screen Configuration required for Active Directory Domain Services at CANNONFODDERSER. At the far right of this message click More…
  • The more link will bring up the All Servers Task Detail dialog. It will show an action of Promote this server to a domain. Click on that link.
  • On the Deployment Configuration screen select Add a New Forest.
    • I named my root domain cannonfodder.local click next. (For some reason if I typed when I went onto the next page, the wizard froze, and I could only cancel).
    • Give a password of Pa55w0rd to the Directory Services Restore Mode (DSRM) password. Click Next
    • Ignore the DNS Options warning. Click Next.
    • It then check the NetBIOS domain name. (I had to click inside the textbox for CANNONFODDER to appear) Click Next.
    • Next it will specify the Path locations of the AD DS database, log files, and SYSVOL. Accept the defaults and click Next.
    • The next page allows you to review your selection, and export to a Windows PowerShell script if you wish to automate additional installations. Click Next.
    • Before the actual install of AD, all prerequisites are checked. If all prerequisite checks are passed then click install. You can ignore warnings.
    • The machine will restart automatically after the promotion of the server to a DC has finished.
    • Once the server has rebooted and you logon to it, if you click on Server Manager | Tools, you will notice that the following items have been installed:
      • Active Directory Administrative Center
      • Active Directory Domains and Trust
      • Active Directory Module for Windows PowerShell
      • Active Directory Sites and Services
      • Active Directory Users and Computers
      • ADSI Edit
      • DNS
      • Group Policy Management