You can install Windows 8 into a .VHD following a similar
process (like this post I wrote) than when you install it on a
raw hard drive, but if you want to have a clean master .vhd
which is not related to any specific installation and machine
name, and you want to re-use this master .vhd in many machines
over time, then the following procedure is much better.   -
Windows AIK for Windows 7 (To get the imagex.exe tool) - AIK
supplement for Windows 7 SP1 - Windows 8 .iso file or DVD  We
need the Windows AIK and complement only to get the imagex.exe.
So, if you don’t have it, just install Windows AIK setup, and
then you must update it with the AIK supplement. In this second
case, you just need to copy all the AIK supplement over the
Windows AIK installation path, like doing it with the following
command (Where we have the AIK supplement in the F:\ drive, like
a DVD):  xcopy E:\ "C:\Program Files\Windows AIK\Tools\PETools"
/ERDY  Creating the .VHD  This is the first step. We will create
a dynamic disk because it t