Hyper-V, Hyper-V v2, Resources, Scripting, Server 2008 R2, Virtualization, Windows
Leave a comment

Windows Image to Virtual Hard Disk (WIM2VHD) Converter

I had earlier blogged about a script I wrote to capture OS VHDs from WIM files directly. This one got lot of attention as expected. Now, Mike Kolitz released a better version of what I did. He calls it WIM2VHD. Of course, you still need to have Windows 7 and Windows 7 WAIK tools installed on the system you are running this script. Both the scripts use diskpart commands to do the job.

To some extent, I knew that some one from MS would do this because they have left traces of running this tool within the public beta builds. On a few installs, you can find WIM2VHD.log on the boot partition. I don’t remember the exact path though.

You can download Mike’s script here. Thanks Mike..!

Filed under: Hyper-V, Hyper-V v2, Resources, Scripting, Server 2008 R2, Virtualization, Windows

by

Ravikanth is a principal engineer and the lead architect for Microsoft and VMware virtualized and hybrid cloud solutions within the Infrastructure Solutions Group at Dell EMC. He is a multi-year recipient of Microsoft Most Valuable Professional (MVP) award in Windows PowerShell (CDM) and Microsoft Azure. Ravikanth is the author of Windows PowerShell Desired State Configuration Revealed (Apress) and leads Bangalore PowerShell and Bangalore IT Pro user groups. He can be seen speaking regularly at local user group events and conferences in India and abroad.