This article describes how to install any version of Windows 8 into a virtual hard disk file. This the same process as was introduced with Windows 7. The steps below will show how you can use the Windows 8 setup to create a virtual hard disk file, partition and format it and finally install Windows 8 into it. These steps work any version of Windows 8, including Windows 8 Server.





For more information regarding vhd's and diskpart usage please refer to these articles:
Frequently Asked Questions: Virtual Hard Disks in Windows 7 and Windows Server 2008 R2 
DiskPart Command-Line Options