MDT ISO镜像更新补丁(wim)

在D盘新建3个文件夹:win7(install.wim)、updates(补丁)、win7ultra

1.先打开ISO文件,然后加载映像到D:\win7ultra文件夹
dism /mount-wim /wimfile:d:\win7\install.wim /index:5 /mountdir:d:\win7ultra


2.集成补丁到 install.wim中,把D:\updates里的补丁整合到install.wim里
dism /add-package /image:d:\win7ultra /packagepath:d:\updates


3.保存和卸载映像
dism /unmount-wim /mountdir:d:\win7ultra /commit


4.优化映像并放回安装文件夹里 (缩小install.wim体积)

imagex /export \install.wim 5 \win7\sources\install.wim

 

可以用UltraISO软件加载光盘,替换掉里面的install.wim为刚才制作的那个文件再另存为新ISO镜像

 

================================================================

Windows Server 2012/2016 ISO更新补丁

在D盘新建2个文件夹:

D:\Operations\TEMP\win2016:用于将映像加载到此文件夹

D:\KB\WindowsServer2016\20191107:存放需要更新的补丁(.msu格式)

 

1.先打开ISO文件,然后加载映像到D:\Operations\TEMP\win2016文件夹
dism /mount-wim /wimfile:D:\ISO\cn_windows_server_2016_x64_dvd_9327743\sources\install.wim /index:4 /mountdir:D:\Operations\TEMP\win2016
dism /mount-wim /wimfile:D:\ISO\cn_windows_server_2012_r2_vl_with_update_x64_dvd_6052729\sources\install.wim /index:4 /mountdir:D:\Operations\TEMP\win2012

2.集成补丁到 install.wim中,把D:\KB\WindowsServer2016\20191107里的补丁整合到install.wim里
dism /add-package /image:D:\Operations\TEMP\win2016 /packagepath:D:\KB\WindowsServer2016\20191107
dism /add-package /image:D:\Operations\TEMP\win2012 /packagepath:D:\KB\WindowsServer2012R2\20191113

3.保存和卸载映像
dism /unmount-wim /mountdir:D:\Operations\TEMP\win2016 /commit
dism /unmount-wim /mountdir:D:\Operations\TEMP\win2012 /commit

4.优化映像并放回安装文件夹里 (缩小install.wim体积)

imagex /export \install.wim 5 \win7\sources\install.wim

 

posted on 2013-12-04 21:26  momingliu11  阅读(2694)  评论(0编辑  收藏  举报