Exports an existing image from the image store to another Windows Image (.wim) file.
Syntax
For boot images:
wdsutil [options] /Export-Image image:<Image name> [/Server:<Servername>]
imagetype:Boot /Architecture:{x86 | ia64 | x64} [/Filename:<Filename>]
/DestinationImage
/Filepath:<Filepath and name>
[/Name:<Name>]
[/Description:<Description>]
[/Overwrite:{Yes | No}]
For install images:
wdsutil [options] /Export-Image image:<Image name> [/Server:<Servername>]
imagetype:Install imageGroup:<Image group name>]
[/Filename:<Filename>]
/DestinationImage
/Filepath:<Filepath and name>
[/Name:<Name>]
[/Description:<Description>]
[/Overwrite:{Yes | No | append}]
Parameters
| Parameter | Description |
|---|---|
image:<Imagename> |
Specifies the name of the image to be exported. |
[/Server:<Servername>] |
Specifies the name of the server. This can be either the NetBIOS name or the fully qualified domain name (FQDN). If no server name is specified, the local server will be used. |
| imagetype:`{Boot | Install}` |
\imageGroup:<Image group name>] |
Specifies the image group containing the image to be exported. If no image group name is specified and only one image group exists on the server, that image group will be used by default. If more than one image group exists on the server, the image group must be specified. |
| /Architecture:`{x86 | ia64 |
[/Filename:<Filename>] |
if the image cannot be uniquely identified by name, the file name must be specified. |
| /DestinationImage | Specifies the settings for the destination image. You can specify these settings using the following options:<ul><li>/Filepath:<Filepath and name> - Specifies the full file path for the new image.</li><li>[/Name:<Name>] - Sets the display name of the image. If no name is specified, the display name of the source image will be used.</li><li>[/Description: <Description>] - Sets the description of the image.</li></ul> |
| [/Overwrite:`{Yes | No |
Examples
To export a boot image, type either:
wdsutil /Export-Image image:WinPE boot image imagetype:Boot /Architecture:x86 /DestinationImage /Filepath:C:\temp\boot.wim
wdsutil /verbose /Progress /Export-Image image:WinPE boot image /Server:MyWDSServer imagetype:Boot /Architecture:x64 /Filename:boot.wim /DestinationImage /Filepath:\\Server\Share\ExportImage.wim /Name:Exported WinPE image /Description:WinPE Image from WDS server /Overwrite:Yes
To export an install image, type either:
wdsutil /Export-Image image:Windows Vista with Office imagetype:Install /DestinationImage /Filepath:C:\Temp\Install.wim
wdsutil /verbose /Progress /Export-Image image:Windows Vista with Office /Server:MyWDSServer imagetype:Instal imageGroup:ImageGroup1 /Filename:install.wim /DestinationImage /Filepath:\\server\share\export.wim /Name:Exported Windows image /Description:Windows Vista image from WDS server /Overwrite:append
Related links
Source: Microsoft Learn / Windows Server documentation by Microsoft and contributors (upstream author metadata: robinharwood). Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
