Server 2012 – Create a new virutal HD/VHD file.

This post consists of two parts:

  1. Create a new Virtual HD in Hyper-V
  2. Start using the new VHD.

Create a new Virtual HD in Hyper-V

  1. In your Hyper-V make sure your Virtual Machine is turned off. Click it and select Settings.
  2. Click on IDE Controller, select Hard Drive and click Add.
    01-new-VHDX
  3. Select New
    02-new-VHDX
  4. Choose Dynamicall expanding. It Means the disk does not take up more space than needed. You can not change this at a later point.
    03-new-VHDX
  5. Select a Name and a Location.
    04-new-VHDX
  6. Select Create a new blank virtual hard disk and specifiy a Size. This can be changed later when the virtual machine is turned off.
    I have specified a rather large size, as I’m going to use it for WSUS.
    05-new-VHDX
  7. Review and you’r done.
    06-new-VHDX07-new-VHDX

Start using the new VHD.

  1. Once your virtual machine is on, click Computer Management in the Tools menu in the main Server Manager window.
    08-new-VHDX
  2. Click on Disk Management.
    You will be met with a pop-up asking to Initialize Disk. Click OK and notice how the Disk 1 change from Unknown to Basic and from Not Initialized to Online.
    09-new-VHDX
  3. Right click in the Unallocated space and select New Simple Volume…
    10-new-VHDX
  4. Other than picking Choose Perform a quick format as you do not want to do a full format on a virtual disk, you just follow the guide through.
    11-new-VHDX
  5. After a brief format we are all done.
    12-new-VHDX

 

Posted in Hyper-V, Server 2012 Tagged with: ,

Leave a Reply