A. Windows 7 and Server 2008 R2 add the ability for an OS to be installed onto a virtual hard disk (VHD) file to boot physical hardware. To do this, perform the following steps:
- Boot from the Windows 7 or Server 2008 R2 media.
- Select language options and click Next.
- At the Install Now screen, press Shift and F10 simultaneously to open a command prompt window. You’ll partition the disks and create your VHD file in this window.
- Select the disk and wipe all of its existing content using the following commands.
Full Article – http://bink.nu/news/how-can-i-install-windows-7-or-windows-server-2008-r2-to-a-virtual-hard-disk-vhd-file.aspx