This Hyper-V lab should be suitable for the MCSA: Windows Server 2012 courses, M20410, M20411 and M20412, as well as for learning/testing multiple technologies in Windows Server 2012 R2.
Disclaimer: While all the steps here have been tested to work, some additional troubleshooting and tweaking may be necessary. The information here is given in good faith.
Hardware:The following physical hardware is recommended as a minimum. Any less than this will require you to adjust the virtual machine specifications down:
o This can be enabled in the computer’s BIOS settings by enabling Intel Virtualization Technology (also known as Intel VT) or AMD-V, depending on the brand of the processor.
o SLAT is also called “Rapid Virtualization Indexing (RVI)”, and has been known as Extended Page Tables (EPT) by Intel and Nested Page Tables (NPT) by AMD.
o To test your machine for SLAT support, download coreinfo.exe from Microsoft Sysinternals and use the coreinfo -v switch to list the features.
An asterisk next to a feature indicates that it is supported whereas a minus sign indicates that the feature is not supported.
o To do so, click on Start and type Turn Windows Features on or off.
o Enable Hyper-V and restart.
Download Windows Server 2012 R2 Datacenter Evaluation
Download Windows 10 Enterprise Evaluation
Create some Layer 2 switches for the Virtual Machines to connect to using the Hyper-V Virtual Switch Manager.
Now let’s create some Virtual Machines (VMs). The following virtual machines will need to be created;
You may need to adjust the specifications to meet your own individual resources and requirements.
Copy the contents of LON-DC1-2.zip to the LON-DC1 second hard disk, LON-SVR1-2.zip to the LON-SVR1 second hard disk and LON-SVR2-2.zip to the LON-SVR2 second hard disk.
Now we can start installing OSes and configuring the Virtual Machines.
If you wish, you may now start installing the other VMs, but note that multiple, simultaneous installations will undoubtedly, negatively impact host computer resources, especially where they are limited.
First things, first. We’ll perform post-installation configuration and the install some key roles.
The 1.Internal NICs on LON-DC1, LON-SVR1 and LON-SVR2 will have the following IP settings:
HINT! To identify which NIC is connected to the (Internal) “Private Network”, in Hyper-V Manager, select the LON-DC1 VM, click on Settings and click on one of Network Adapter and under Virtual switch choose Not connected. The corresponding NIC in the VM should respond with Network cable unplugged.
Now we'll go ahead and complete the promotion of LON-DC1 to a domain controller.
Address Pool: Start IP: 172.16.0.160
End IP: 172.16.0.190
Scope Options: 003 Router 172.16.0.1
006 DNS Server 172.16.0.10
015 Domain Name Adatum.com
Next, let’s see how to do all that using Windows PowerShell… In half the time! Power’s Hell! AmIright, amIright!?
Note: Most issues will arise from either:
(a) not running PowerShell as Administrator (Right-click on PowerShell and Run as Administrator) or,
(b) if your ExecutionPolicy is set to Restricted (Run the cmdlet Set-ExecutionPolicy RemoteSigned).
If you are using a Windows Server 2012 R2 host, run the following cmdlet first;
STEP 1: Grab some ISOs.
Make sure you have performed Step 1 and grabbed some ISOs and placed them in the $Path location. In our case, $Path = C:\ISO.
STEP 2: Configure Networking
Create Virtual Switches;
STEP 3: Create Virtual Machines
Create second hard drives for LON-DC1, LON-SVR1 and LON-SVR2 and attach them;
Configure Virtual Machines to start from DVD (.iso);
STEP 4: Now start the Virtual Machines and install Windows. You don't need PowerShell for that!
STEP 5: Configure Windows IP and Networking settings. Again, PowerShell, no!
STEP 6: Install AD Domain Services, Promote DC, Configure DNS and DHCP.
Install the Forest and Promote server to a domain controller.
NOTE:You will be prompted for the DSRM password and confirmation of the same, which will not echo on the screen, so type Pa$$w0rd carefully!
Once completed, and NOT BEFORE, install AD Certificate Services on LON-DC1;
Create the Resource Records;
Authorize the Server, create the Scope and set Scope Options;
Configure Active Directory Certificate Services
Once the server completes the installation and reboots automatically, you may now start the configuration of the other VMs. Do not forget to add the hosts to the Adatum.com domain.
NOTE! All hosts are members of the Adatum.com domain, EXCEPT LON-CA1, which is a Standalone Root CA and SHOULD NEVER be connected to the domain!
IP Configuration: (Subnet Mask: 255.255.0.0; DNS: 172.16.0.10)
LON-DC1: IP Address: 172.16.0.10; (Note! DNS is ITSELF.) This is a Domain Controller, Enterprise Root CA and hosts the Adatum.com domain. LON-CA1: IP Address: 172.16.0.25; This is a Member Server and Standalone Root CA in a Workgroup. LON-SVR1: IP Address: 172.16.0.21; This is a Member Server in the Adatum.com domain. LON-SVR2: IP Address: 172.16.0.22; This is a Member Server in the Adatum.com domain. LON-SVR3: IP Address: 172.16.0.23; This is a Member Server in the Adatum.com domain. LON-SVR4: IP Address: 172.16.0.24; This is a Member Server in the Adatum.com domain. LON-CL1: IP Address: 172.16.0.50; This is a Member Client in the Adatum.com domain.
Enjoy your newly minted lab!
To the Surface...