Sharing of thoughts and information is what blogging is all about. This way we can learn from each other. Post A Comment!These postings are provided "AS IS" with no warranties, and confers no rights. You assume all risk for your use.
Resident Bloggers
Damir BersinicSenior Technology Advisor E-mail | Facebook | LinkedIn Chris Di LulloSr. IT Pro Marketing Manager Ruth MortonIT Pro Advisor E-mail | Twitter | LinkedIn
I had posted this entry on Thelazyadmin.com but after reading a comment asking about a previous post I thought I’d throw it up here as well!
A few weeks back we posted an entry on how to boot from a Windows 7 or Server 2008 R2 VHD. Booting from VHD is new to Windows 7 and Server 2008 R2 but one of the caveats was you needed a “clean” VHD to boot from. There is a very simple way to create this VHD using an open source tool available on the MSDN Code Gallery called WIM2VHD.
WIM2VHD is a command line tool that converts the WIM image into a VHD you can use to boot off. It does have a few requirements…
There are a number of switches you will need to know as well in order to create the VHD file…
There are some additional switches which you can find on the WIM2VHD documentation that allow you to further customize the VHD to be created.
So let’s say we wanted to create a Windows 7 Ultimate VHD on a 40GB fixed disk; we’d use the following command:
cscript wim2vhd.wsf /wim:X:\sources\install.wim /sku:ULTIMATE /vhd:C:\Win7Ultimate.vhd /size:40960 /disktype:Fixed
Or if we wanted to create a Windows Server 2008 R2 Standard VHD on a 40GB dynamically expanding disk we’d use the following command:
cscript wim2vhd.wsf /wim:X:\sources\install.wim /sku:SERVERSTANDARD /vhd:C:\ServerStandardR2.vhd /size:40960 /disktype:Dynamic
You can download WIM2VHD and the release documents here.
There are also a few third party tools emerging that can help:
www.smartdeploy.com