WIM2VHD, un convertitore utilissimo
Stavo cercando sulla rete un possibile tool che riuscisse a convertire un’ immagine .WIM in un disco virtuale utilizzabile su Virtual PC o VirtualBox. L’immagine WIM dovva essere quella presente in un DVD di Windows Server 2008/R2 o Windows 7 così da ottenere un sistema operativo “pulito” che venisse installato direttamente nel disco VHD. Con WIM2VHD è stato possibile, senza quindi dover creare una nuova macchina virtuale, darle in pasto un DVD e procedere all’installazione: il file .wim,estratto come sistema operativo, è stato “iniettato” direttamente nel disco virtuale. Io l’ho provato per un Windows Server 2008 R2 che poi ho fatto partire su VirtualBox…
E’ possibile scricare lo script WIM2VHD da qui e dallo stesso sito una lista di esempi di utilizzo (in inglese):
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
Apply the first image in a custom WIM to a VHD named custom.vhd
CSCRIPT WIM2VHD.WSF /WIM:C:\stuff\custom.wim /SKU:1 /VHD:C:\custom.vhd
Create a Windows 7 Ultimate VHD, and copy a folder structure to the root of the drive
CSCRIPT WIM2VHD.WSF /WIM:X:\sources\install.wim /SKU:ULTIMATE /MERGEFOLDER:C:\Deploy\VHDROOT
Create a Windows 7 Ultimate VHD without leaving a signature file on the disk
CSCRIPT WIM2VHD.WSF /WIM:X:\sources\install.wim /SKU:ULTIMATE /SIGNDISK:FALSE
Create a Windows 7 Ultimate VHD and display the output in verbose/trace mode
CSCRIPT WIM2VHD.WSF /WIM:X:\sources\install.wim /SKU:ULTIMATE /TRACE:TRUE
Copy all of the binaries that WIM2VHD.WSF requires to C:\WIM2VHD, so that it can be easily moved from one machine to another
CSCRIPT WIM2VHD.WSF /WIM:X:\sources\install.wim /COPYLOCAL:C:\WIM2VHD

The WIM2VHD, un convertitore utilissimo by My Beautiful Place, unless otherwise expressly stated, is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 2.5 Italy License.




