Installing Hyper-V Windows Server 2008 R2 VM on Windows 7

If you’re running Windows 7, you can simply install Windows Server 2008 R2 into a .VHD file and make it bootable. After that’s accomplished you can choose the OS you want when you power up your machine. Follow the steps below:Click Disk ManagementClick Action menu and select Create VHDCreate a 30GB dynamic .VHD on drive C:. Note: When using BitLocker, .VHD must […]

If you’re running Windows 7, you can simply install Windows Server 2008 R2 into a .VHD file and make it bootable. After that’s accomplished you can choose the OS you want when you power up your machine. Follow the steps below:

  1. Click Disk Management
  2. Click Action menu and select Create VHD
  3. Create a 30GB dynamic .VHD on drive C:. Note: When using BitLocker, .VHD must reside on unencrypted partition or drive.
  4. When you click OK, Microsoft VHD HBA driver’s installed and about 62KB .VHD is created.
  5. Right click on newly created disk in the disk management console and select Initialize as shown below.
  6. After you init disk, right mouse click unallocated space and create a simple volume. Quick format entire 30GB as NTFS.
  7. Place Windows Server 2008 R2 installations DVD in your CD/DVD drive and reboot your machine.
  8. When prompted, hit enter to boot from the install DVD.
  9. Click Install Now button to proceed.
  10. Select Enterprise (Full Installation) from the SKU selector.
  11. Accept EULA.
  12. Click Custom Installation button.
  13. Proceed in R2 setup program until you get to dialog box where you select target disk and partition. You’ll notice we do not see .VHD file we created. Shell out to command line via SHIFT+F10 shortcut key sequence.
  14. Enter DISKPART to launch the disk and partitioning utility.
  15. Enter SELECT VDISK FILE=C:\R2\WS2008R2.vhd.
  16. Enter ATTACH VDISK
  17. At this point you can click refresh on drive listings and VHD will be available as the target of the install.  Select VHD and click next to proceed with install. You can ignore warning about installing Windows to VHD target. That’s it.

    After Windows Server 2008 R2 installs, you’ll have a dual boot system.