从现有启动映像创建新的捕获映像。 捕获映像是启动 Windows 部署服务捕获实用工具而不是启动安装程序的启动映像。 将引用计算机(已使用 Sysprep 准备)启动到捕获映像中时,向导将创建引用计算机的安装映像,并将其保存为 Windows 映像 (.wim) 文件。 还可以将映像添加到媒体(如 CD、DVD 或 USB 驱动器),然后从该媒体启动计算机。 创建安装映像后,可以将映像添加到服务器进行 PXE 启动部署。 有关详细信息,请参阅“创建映像”(https://go.microsoft.com/fwlink/?LinkId=115311)。
语法
wdsutil [Options] /New-CaptureImage [/Server:<Server name>]
/Image:<Image name>
/Architecture:{x86 | ia64 | x64}
[/Filename:<File name>]
/DestinationImage
/FilePath:<File path and name>
[/Name:<Name>]
[/Description:<Description>]
[/Overwrite:{Yes | No | Append}]
[/UnattendFilePath:<File path>]
参数
参数 | DESCRIPTION |
---|---|
[/Server:<服务器名称>] | 指定服务器的名称。 可以是 NetBIOS 名称或完全限定域名 (FQDN)。 如果未指定服务器名称,将使用本地服务器。 |
/Image:<Image name> | 指定源启动映像的名称。 |
/Architecture: {x86 | IA64 |
[/Filename: <文件名>] | 如果无法按名称唯一标识映像,则必须使用此选项指定文件名。 |
/目的地图像 | 指定目标映像的设置。 使用以下选项指定设置: - /FilePath: <文件路径和名称> 设置新捕获映像的完整文件路径。 - [/Name: <Name>] - 设置图像的显示名称。 如果未指定显示名称,将使用源图像的显示名称。 - [/Description: <Description>] - 设置图像的说明。 - [/Overwrite: {是 |
例子
若要创建捕获映像并将其命名为 WinPECapture.wim,请键入:
wdsutil /New-CaptureImage /Image:WinPE boot image /Architecture:x86 /DestinationImage /FilePath:C:\Temp\WinPECapture.wim
若要创建捕获映像并应用指定的设置,请键入:
wdsutil /Verbose /Progress /New-CaptureImage /Server:MyWDSServer /Image:WinPE boot image /Architecture:x64 /Filename:boot.wim
/DestinationImage /FilePath:\\Server\Share\WinPECapture.wim /Name:New WinPE image /Description:WinPE image with capture utility /Overwrite:No /UnattendFilePath:\\Server\Share\WDSCapture.inf