Saturday, February 07, 2009

WIM2VHD – Convert Windows Installation WIM’s into Bootable/Sysprepped VHD’s

MSDN Code Gallery - Windows(R) Image to Virtual Hard Disk (WIM2VHD) Converter

“The Windows(R) Image to Virtual Hard Disk (WIM2VHD) command-line tool allows you to create sysprepped VHD images from any Windows 7 installation source. VHDs created by WIM2VHD will boot directly to the Out Of Box Experience, ready for your first-use customizations. You can also automate the OOBE by supplying your own unattend.xml file, making the possibilities limitless.

Fresh squeezed, organically grown, free-range VHDs - just like Mom used to make - that work with Virtual PC, Virtual Server, Microsoft Hyper-V, and Windows 7's new Native VHD-Boot functionality!

Requirements

  • A computer running one of the following Windows operating systems:
    • Windows 7
    • Windows Server 2008 R2
    • Windows Server 2008 with Hyper-V RTM enabled (x64 only)
  • The Windows 7 Beta Automated Installation Kit (AIK) or Windows OEM Pre-Installation Kit (OPK) installed.
  • A Windows 7 or Windows Server 2008 R2 installation source, or another Windows image captured to a .WIM file.

Examples
Create a Windows Server 2008 R2 Server Standard Core VHD, named foo.vhd
CSCRIPT WIM2VHD.WSF /WIM:X:\sources\install.wim /SKU:SERVERSTANDARDCORE /VHD:C:\foo.vhd

Create a Windows Server 2008 R2 Server Standard VHD with an automatically generated name
CSCRIPT WIM2VHD.WSF /WIM:X:\sources\install.wim /SKU:SERVERSTANDARD

Create a Windows 7 Home Premium VHD with an automated setup answer file
CSCRIPT WIM2VHD.WSF /WIM:X:\sources\install.wim /SKU:HOMEPREMIUM /UNATTEND:C:\stuff\unattend.xml

…”

Windows(R) Image to Virtual Hard Disk (WIM2VHD) Converter - WIM2VHD 6.1.7033.0 Beta

“…

Files

WIM2VHD.WSF
source code, 77K, uploaded Wed …

Documentation (Word .DOCX)
documentation, 48K, uploaded Wed …

Documentation (PDF)
documentation, 535K, uploaded Wed …

…”

Okay, that’s pretty cool. I can see how this could come in real handy as we, my practice (division/business unit/etc), begins to move toward virtualization (cough… finally… cough… ;) and Win7/Win2k8R2 nears.

(via The Road to Know Where - Microsoft Blogger Releases "Windows Image to Virtual Hard Disk Converter" (WIM2VHD) for Windows 7)

No comments: