小工具,如附件。
 
p_w_picpathx /capture F: c:\data.wim "Drive F 123"
p_w_picpathx /info c:\data.wim
p_w_picpathx /apply c:\data.wim 1 F: /verify
p_w_picpathx /dir c:\data.wim 1
p_w_picpathx /append F: c:\data.wim "Drive E 456"
p_w_picpathx /mount c:\data.wim 1 c:\X
p_w_picpathx /apply d:\install.wim 1 F:\2008
p_w_picpathx /compress maxium /capture E:\2008 c:\2008.wim "Windows 2008"
wim2vhd
http://blogs.itecn.net/blogs/ahpeng/archive/2009/04/01/NoneOsInstallVhdNativeBoot.aspx
cscript wim2vhd.wsf /wim:h:\sources\install.wim
cscript wim2vhd.wsf /wim:h:\sources\install.wim /sku:ultimate /vhd:c:\win7.vhd
p_w_picpathx /apply d:\sources\install.wim 1 M:\
C:\>bcdedit /copy {current} /d "Windows 7 Enterprise"
C:\>bcdedit /set device vhd=[C:]\win7.vhd
C:\>bcdedit /set osdevice vhd=[C:]\win7.vhd
C:\>bcdedit /set detecthal on