Lab Build Guide: Hyper-V VMs, Cloning, File Sharing… For a Friend.

Lab Build Guide: Hyper-V VMs, Cloning, File Sharing… For a Friend.

1. Setup


Name the Host Appropriately

This is an important step. For this build, I looked at the server specs and it was clear what its name would be.

  • Processor: 2x E5345 @ 2.33GHz (8 Cores)
  • Memory: 16GB
  • Storage: 2x 73GB 15K SAS, 2x 300GB 15K SAS


Create Virtual Hard Disk

I like to start by creating a fixed-sized virtual disk. 30GB is a decent size to start with for a Windows installation. The disk can always be expanded later or a secondary virtual disk can be attached if needed. Open Administrative Tools -> Hyper-V Manager.  On the right side panel click New -> Hard Disk.

Choose a name and location for your virtual hard disk template.


Create Virtual Machine

Next, we’ll create the virtual machine and attach the virtual hard disk created in the previous step. On the right side panel of Hyper-V Manager click New -> Virtual Machine. I’ve found 4GB of RAM to be sufficient for my needs. Your mileage may vary.

Skip the Networking for now. We will cover that in a later step.

Use the existing virtual hard disk that was created in the previous step.

In Hyper-V Manager you will now see the new virtual machine.


Virtual Machine Settings

Right-click the virtual machine and select Settings.

Two logical processors for science. And parallelism.

Lastly, let’s add an image file for the version of Windows Server of your choosing. I’m going with 2012R2.

Click Apply on the bottom right of the Settings page and let’s move on to Networking.