Monday, December 28, 2015

Deploying the first virtual server:

Now that our Hyper-V host has been setup up, we are now going to look at deploying our first domain controller. Our domain controller will be called Hydrogen and it will be deployed as a Hyper-V virtual machine on CARBON.

Start by logging into CARBON and starting the Hyper-V management console.

Setup the Virtual Switch

The first thing we are going to do is setup an external virtual switch so that our domain controller can communicate with devices on our physical network. In the Hyper-V management console, make sure CARBON is selected in the left pane. Then in the right pane, select Virtual Switch Manager. Create a new external virtual switch called

Create a new Virtual Machine

While still in the Hyper-V management console, make sure CARBON is still selected in the left pane and then in the right pane, select New and then Virtual Machine. The New Virtual Machine Wizard will then open up. Follow the wizard and;
  1. Specify Hydrogen as the name of the virtual machine.
  2. Specify Generation 2 as the virtual machine type.
  3. Give the virtual machine 1024 MB of startup memory and check Use Dynamic Memory for this virtual machine.
  4. Connect the virtual machine to the virtual switch we created earlier,
  5. Create a new virtual hard disk with 40 GB of space.
  6. Selected your Windows Server 2012 R2 installation media.

Once your virtual machine Hydrogen has been created, it should show up in the Hyper-V management console in the top-middle pane. Right-click on it and click Settings. Match the settings with the ones in the following screen shot.

Note that in the screenshot, we've removed the DVD drive. Don't do this until you have installed Windows Server 2012 R2.

Perform a clean install of Windows Server 2012 R2

Boot the virtual machine and perform a clean install of Windows Server 2012 R2 Standard (Server with GUI).

Since our virtual machine is running on a Windows Server 2012 R2 Datacenter host, we can use Automatic Virtual Machine Activation (AVMA). When prompted for a product key during Windows Setup, enter in the following AVMA key for Windows Server 2012 R2 Standard.


You can find other AVMA keys in the following TechNet article.

Once Windows Server 2012 R2 is installed, choose a password for the local Administrator account. We will use this account until domain accounts have been setup. As always run Windows Update after a clean install to make sure your system is fully patched.

In our next articles, we are going to look at installing Active Directory Domain Services, DHCP and DNS.

No comments:

Post a Comment