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 Unit34.co.
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;
- Specify Hydrogen as the name of the virtual machine.
- Specify Generation 2 as the virtual machine type.
- Give the virtual machine 1024 MB of startup memory and check Use Dynamic Memory for this virtual machine.
- Connect the virtual machine to the virtual switch we created earlier, Unit34.co.
- Create a new virtual hard disk with 40 GB of space.
- Selected your Windows Server 2012 R2 installation media.
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.