Copies images that are within the same image group. To copy images between image groups, use the /export-Image command and then the /add-Image command.
For examples of how you can use this command, see Examples.
Syntax
WDSUTIL [Options] /Copy-Image /Image:<Image name> [/Server:<Server name>] /ImageType:Install [/ImageGroup:<Image group name>] [/Filename:<File name>] /DestinationImage /Name:<Name> /Filename:<File name> [/Description:<Description>]
Parameters
Parameter | Description |
---|---|
/Image:<Image name> |
Specifies the name of the image to be copied. |
[/Server:<Server name>] |
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:Install |
Specifies the type of image to be copied. This option must be set to install. |
[/ImageGroup:<Image group name>] |
Specifies the image group that contains the image to be copied. If no image group is specified and only one group exists on the server, that image group will be used by default. If more than one image group exists on the server, you must specify the image group. |
[/Filename:<Filename>] |
Specifies the file name of the image to be copied. If the source image cannot be uniquely identified by name, you must specify the file name. |
/DestinationImage |
Specifies the settings for the destination image, as described in the following table.
|
Examples
To create a copy of the specified image and name it WindowsVista.wim, type:
WDSUTIL /Copy-Image /Image:"Windows Vista with Office" /ImageType:Install /DestinationImage /Name:"Copy of Windows Vista with Office" /Filename:"WindowsVista.wim"
To create a copy of the specified image, apply the specified settings, and name the copy WindowsVista.wim, type:
WDSUTIL /Verbose /Progress /Copy-Image /Image:"Windows Vista with Office" /Server:MyWDSServer /ImageType:Install /ImageGroup:ImageGroup1 /Filename:install.wim /DestinationImage /Name:"Copy of Windows Vista with Office" /Filename:"WindowsVista.wim" /Description:"This is a copy of the original Windows image with Office installed"