The command line to create a VHD file is quite simple:Ĭscript f /wim:g:\sources\install.wim /sku:1 This tools i really nice actually, but it only supports Windows 7 and Windows Server 2008 R2. The OS (You only need the Install.wim, but I’ll guess you already have the DVD somewhere anyway)
WIM2VHD, and that’s just a small download WAIK (Well, you only need Imagex, but if you have WAIK installed you have that) It always seem to be NOW or yesterday that things need to be done, wonder why… You know, suddenly you need to have a VHD file of Windows Server 2008 R2 and a Windows 7 machine, like NOW. Sometimes you need a fast way to create a reference image. the install.wim file in the Vista/Windows7/Server 2008/Server 2008 R2 installation media, and then attach that VHD to a Hyper-V virtual machine. You can use WIM2VHD to quickly create a VHD from a WIM file, e.g.