将 Windows 2016 添加到 WDS

将 Windows 2016 添加到 WDS
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 文件中?

答案1

我如何做到的:

我猜我可以通过主图像来完成此操作,而不必单独导出每个图像然后导入它们。

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

相关内容