Windows

將 Windows 2016 添加到 WDS

  • July 4, 2017
PS C:\Users\administrator.INTERNAL> dism /export-image /sourceimagefile:F:\sources\install.swm /swmfile:F:\sources\install*.swm /sourceindex:1 /destinationimagefile:C:\Users\administrator.INTERNAL\Desktop\install.wim

我可以成功地將圖像拉出,使其為 .wim 格式,但是如何將所有其他源索引添加到同一個 .wim 文件中?

我是如何做到的:

我猜我可以在主圖像上完成它,而不必單獨導出每個然後導入它們。

imagex.exe /export C:\Users\administrator.INTERNAL\Desktop\install1.wim 1 C:\Users\administrator.INTERNAL\Desktop\install2016.wim "Windows Server 2016 Standard Core" /compress maximum
imagex.exe /export C:\Users\administrator.INTERNAL\Desktop\install2.wim 1 C:\Users\administrator.INTERNAL\Desktop\install2016.wim "Windows Server 2016 Standard" /compress maximum
imagex.exe /export C:\Users\administrator.INTERNAL\Desktop\install3.wim 1 C:\Users\administrator.INTERNAL\Desktop\install2016.wim "Windows Server 2016 Standard 2" /compress maximum
imagex.exe /export C:\Users\administrator.INTERNAL\Desktop\install4.wim 1 C:\Users\administrator.INTERNAL\Desktop\install2016.wim "Windows Server 2016 Datacenter Core" /compress maximum
imagex.exe /export C:\Users\administrator.INTERNAL\Desktop\install5.wim 1 C:\Users\administrator.INTERNAL\Desktop\install2016.wim "Windows Server 2016 Datacenter" /compress maximum
imagex.exe /export C:\Users\administrator.INTERNAL\Desktop\install6.wim 1 C:\Users\administrator.INTERNAL\Desktop\install2016.wim "Windows Server 2016 Datacenter 2" /compress maximum

引用自:https://serverfault.com/questions/859093