wdsutil replace-image

Mengganti gambar yang sudah ada dengan versi baru gambar tersebut.

Syntax

untuk gambar boot:

WDSUTIL [Options]
        /Replace-Image
        /Image:<Image name>
        [/Server:<Server name>]
        /ImageType:Boot
        /Architecture:{x86 | x64 | arm | arm64}
        [/Filename:<File name>]
        /ReplacementImage
          /ImageFile:<WIM file path>
          [/Name:<Image name>]
          [/Description:<Image description>]

/Architecture:{x86 | x64 | arm | arm64}
        The architecture of the image to be replaced. Since it is
        possible to have the same image name for boot images in
        different architectures, specifying the architecture value
        ensures that the correct image is replaced.

[/Filename:<File name>]
        If the image cannot be uniquely identified by name, the file
        name must be specified.

/ReplacementImage
  /ImageFile:<WIM file path>
        Specifies the full path and file name of the new WIM file.

  [/Name:<Name>]
        Sets the display name of the image.

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

untuk menginstal gambar:

WDSUTIL [Options]
        /Replace-Image
        /Image:<Image name>
        [/Server:<Server name>]
        /ImageType:Install
        [/ImageGroup:<Image group name>]
        [/Filename:<File name>]
        /ReplacementImage
          /ImageFile:<WIM file path>
          [/SourceImage:<Source image name>]
          [/Name:<Image name>]
          [/Description:<Image description>]

[/ImageGroup:<Image group name>]
        The image group containing the image to be replaced. If not
        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, then the image group must be
        specified.

[/Filename:<File name>]
        If the image cannot be uniquely identified by name, the file
        name must be specified.

/ReplacementImage
  /ImageFile:<WIM file path>
        Specifies the full path and file name of the new WIM file.

  [/SourceImage:<image name>]
        Specifies the image to use if the new WIM file contains
        multiple images.

  [/Name:<Name>]
        Sets the display name of the image.

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

Parameters

Parameter Description
/Image:<Nama gambar> Menentukan nama gambar yang akan diganti.
[/Server:<Nama server>] Menentukan nama server. Ini dapat berupa nama NetBIOS atau nama domain yang sepenuhnya memenuhi syarat (FQDN). Jika tidak ada nama server yang ditentukan, server lokal akan digunakan.
mediatype:{Boot | Instal} Menentukan jenis gambar yang akan diganti.
/Arsitektur:{x86 | ia64 | x64} Menentukan arsitektur gambar yang akan diganti. Karena dimungkinkan untuk memiliki nama gambar yang sama untuk gambar boot yang berbeda dalam arsitektur yang berbeda, menentukan arsitektur memastikan bahwa gambar yang benar diganti.
[/Nama file:<Nama file>] jika gambar tidak dapat diidentifikasi secara unik berdasarkan nama, Anda harus menggunakan opsi ini untuk menentukan nama file.
/replacementImage Menentukan pengaturan untuk gambar pengganti. Anda mengatur pengaturan ini menggunakan opsi berikut:

- mediaFile: <jalur> file - Menentukan nama dan lokasi (jalur lengkap) dari file .wim baru.
- [/SourceImage: <nama> gambar] - Menentukan gambar yang akan digunakan jika file .wim berisi beberapa gambar. Opsi ini hanya berlaku untuk menginstal gambar.
- [/Name:<Image name>] Mengatur nama tampilan gambar.
- [/Description:<Image description>] - Mengatur deskripsi gambar.

Examples

Untuk mengganti gambar boot, ketik salah satu hal berikut:

WDSUTIL /Replace-Image /Image:"WinPE Boot Image" /ImageType:Boot /Architecture:x86 /ReplacementImage /ImageFile:"C:\MyFolder\Boot.wim"

WDSUTIL /Verbose /Progress /Replace-Image /Image:"WinPE Boot Image" /Server:MyWDSServer /ImageType:Boot /Architecture:x64 /Filename:boot.wim /ReplacementImage /ImageFile:\\MyServer\Share\Boot.wim /Name:"My WinPE Image" /Description:"WinPE Image with drivers"

Untuk mengganti gambar penginstalan, ketik salah satu hal berikut ini:

WDSUTIL /Replace-Image /Image:"Windows 10 Home"
/ImageType:Install /ReplacementImage /ImageFile:"C:\MyFolder\Install.wim"

WDSUTIL /Verbose /Progress /Replace-Image /Image:"Windows 10 Pro" /Server:MyWDSServer /ImageType:Install /ImageGroup:ImageGroup1 /Filename:Install.wim /ReplacementImage /ImageFile:\\MyServer\Share \Install.wim /SourceImage:"Windows 10 Pro" /Name:"Windows Vista Desktop" /Description:"Windows 10 Pro with standard business applications."