Notatka
Dostęp do tej strony wymaga autoryzacji. Może spróbować zalogować się lub zmienić katalogi.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Zastępuje istniejący obraz nową wersją tego obrazu.
Syntax
dla obrazów rozruchowych:
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.
w przypadku instalowania obrazów:
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:<Nazwa obrazu> | Określa nazwę obrazu, który ma zostać zastąpiony. |
| [/Server:<Nazwa serwera>] | Określa nazwę serwera. Może to być nazwa NetBIOS lub w pełni kwalifikowana nazwa domeny (FQDN). Jeśli nie określono nazwy serwera, używany jest serwer lokalny. |
| mediatype:{Boot | Zainstaluj} | Określa typ obrazu do zastąpienia. |
| /Architecture:{x86 | ia64 | x64} | Określa architekturę obrazu do zastąpienia. Ponieważ istnieje możliwość posiadania tej samej nazwy obrazu dla różnych obrazów rozruchowych w różnych architekturach, określenie architektury gwarantuje, że poprawny obraz zostanie zastąpiony. |
| [/Nazwa pliku:<nazwa pliku>] | Jeśli nie można jednoznacznie zidentyfikować obrazu według nazwy, należy użyć tej opcji, aby określić nazwę pliku. |
| /replacementImage | Określa ustawienia obrazu zastępczego. Te ustawienia są ustawiane przy użyciu następujących opcji: - mediaFile: <ścieżka> pliku — określa nazwę i lokalizację (pełną ścieżkę) nowego pliku wim. |
Examples
Aby zastąpić obraz rozruchowy, wpisz jeden z następujących:
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"
Aby zastąpić obraz instalacji, wpisz jeden z następujących:
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."