Partager via


/convert-RiprepImage

Applies To: Windows Server 2008, Windows Server 2008 R2

Converts an existing Remote Installation Preparation (RIPrep) image to Windows Image (.wim) format.

Syntax

WDSUTIL [Options] /Convert-RIPrepImage /FilePath:<File path and name>
     /DestinationImage
         /FilePath:<File path and name>
         [/Name:<Name>]
         [/Description:<Description>]
         [/InPlace]
         [/Overwrite:{Yes | No | Append}]

Parameters

Parameter Description

/FilePath:<File path and name>

Specifies the full path and file name of the .sif file that corresponds to the RIPrep image. This file is typically called Riprep.sif and is found in the \Templates subfolder of the folder that contains the RIPrep image.

/DestinationImage

Specifies the settings for the destination image, using the following options.

  • /FilePath:<File path and name> - Sets the full file path for the new file. For example: C:\Temp\convert.wim

  • [/Name:<Name>] - Sets the display name of the image. If no display name is specified, the display name of the source image will be used.

  • [/Description: <Description>] - Sets the description of the image.

  • [/InPlace] - Specifies that the conversion should take place on the original RIPrep image and not on a copy of the original image, which is the default behavior.

  • [/Overwrite:{Yes | No | Append}] - Determines whether the file specified in the /DestinationImage option should be overwritten if an existing file with that name already exists at /FilePath. Yes overwrites the existing file. No (default) causes an error to occur if another file with the same name already exists. Append attaches the generated image as a new image within the pre-existing .wim file.

Examples

To convert the specified RIPrep.sif image to RIPREP.wim, type:

WDSUTIL /Convert-RiPrepImage /FilePath:"R:\RemoteInstall\Setup\English
\Images\Win2k3.SP1\i386\Templates\riprep.sif" /DestinationImage
/FilePath:"C:\Temp\RIPREP.wim"

To convert the specified RIPrep.sif image to RIPREP.wim with the specified name and description, and overwrite it with the new file if a file already exists, type:

WDSUTIL /Verbose /Progress /Convert-RiPrepImage /FilePath:"\\Server
\RemInst\Setup\English\Images\WinXP.SP2\i386\Templates\riprep.sif"
/DestinationImage /FilePath:"\\Server\Share\RIPREP.wim"
/Name:"WindowsXP image" /Description:"Converted RIPREP image of WindowsXP"
/Overwrite:Append

Additional references

Command-Line Syntax Key