text
stringlengths
0
4.23k
wdsutil remove-driverpackages command
removes driver packages from a server.
wdsutil remove-drivergroup command
removes a driver group from a server.
wdsutil remove-drivergroupfilter command
removes a filter rule from a driver group on a server.
wdsutil replace-image
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
Replaces an existing image with a new version of that image.
Syntax
for boot images:
wdsutil [Options] /replace-Imagmedia:<Image name> [/Server:<Server name>]
mediatype:Boot
/Architecture:{x86 | ia64 | x64}
[/Filename:<File name>]
/replacementImage
mediaFile:<wim file path>
[/Name:<Image name>]
[/Description:<Image description>]
for install images:
wdsutil [Options] /replace-Imagmedia:<Image name> [/Server:<Server name>]
mediatype:Install
mediaGroup:<Image group name>]
[/Filename:<File name>]
/replacementImage
mediaFile:<wim file path>
[/SourceImage:<Source image name>]
[/Name:<Image name>]
[/Description:<Image description>]
Parameters
Parameter
Description
media:<Image name>
Specifies the name of the image to be replaced.
[/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.
mediatype:{Boot | Install}
Specifies the type of image to be replaced.
/Architecture:{x86 | ia64 | x64}
Specifies the architecture of the image to be replaced. Because it is possible to have the same image name for different boot images in different architectures, specifying the architecture ensures that the correct image is replaced.
[/Filename:<File name>]
if the image cannot be uniquely identified by name, you must use this option to specify the file name.
/replacementImage
Specifies the settings for the replacement image. You set these settings using the following options:- mediaFile: <file path> - Specifies the name and location (full path) of the new .wim file.- [/SourceImage: <image name>] - Specifies the image to be used if the .wim file contains multiple images. This option applies only to install images.- [/Name:<Image name>] Sets the display name of the image.- [/Description:<Image description>] - Sets the description of the image.
- mediaFile: <file path> - Specifies the name and location (full path) of the new .wim file.- [/SourceImage: <image name>] - Specifies the image to be used if the .wim file contains multiple images. This option applies only to install images.- [/Name:<Image name>] Sets the display name of the image.- [/Description:<Image description>] - Sets the description of the image.
Examples
To replace a boot image, type one of the following:
wdsutil /replace-Imagmedia:WinPE Boot Imagemediatype:Boot /Architecture:x86 /replacementImagmediaFile:C:\MyFolder\Boot.wim
wdsutil /verbose /Progress /replace-Imagmedia:WinPE Boot Image /Server:MyWDSServemediatype:Boot /Architecture:x64 /Filename:boot.wim
/replacementImagmediaFile:\\MyServer\Share\Boot.wim /Name:My WinPE Image /Description:WinPE Image with drivers
To replace an install image, type one of the following:
wdsutil /replace-Imagmedia:Windows Vista Homemediatype:Install /replacementImagmediaFile:C:\MyFolder\Install.wim
wdsutil /verbose /Progress /replace-Imagmedia:Windows Vista Pro /Server:MyWDSServemediatype:InstalmediaGroup:ImageGroup1
/Filename:Install.wim /replacementImagmediaFile:\\MyServer\Share \Install.wim /SourceImage:Windows Vista Ultimate /Name:Windows Vista Desktop /Description:Windows Vista Ultimate with standard business applications.
wdsutil set-device
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
Changes the attributes of a prestaged computer. A prestaged computer is a computer that has been linked to a computer account object in active directory Domain Servers (AD DS). Prestaged clients are also called known computers. You can configure properties on the computer account to control the installation for the client. For example, you can configure the network boot program and the unattend file that the client should receive, as well as the server from which the client should download the network boot program.
Syntax
wdsutil [Options] /Set-Device /Device:<Device name> [/ID:<UUID | MAC address>] [/ReferralServer:<Server name>] [/BootProgram:<Relative path>]
[/WdsClientUnattend:<Relative path>] [/User:<Domain\User | User@Domain>] [/JoinRights:{JoinOnly | Full}] [/JoinDomain:{Yes | No}] [/BootImagepath:<Relative path>] [/Domain:<Domain>] [/resetAccount]
Parameters
Parameter
Description
/Device:<computer name>
Specifies the name of the computer (SAM-Account-Name).