大网数据广告活动
Windows排障命令

Subcommand set-DriverPackage

· 52CE 我爱测

Reference article for Subcommand set-DriverPackage, which renames and/or enables or disables a driver package on a server.

Renames and/or enables or disables a driver package on a server.

Syntax

wdsutil /Set-DriverPackage [/Server:<Server name>] {/DriverPackage:<Name> | /PackageId:<ID>} [/Name:<New Name>] [/Enabled:{Yes | No}

Parameters

Parameter Description
[/Server:<Server name>] Specifies the name of the server. This can be the NetBIOS name or the FQDN. If a server name is not specified, the local server is used.
[/DriverPackage:<Name>] Specifies the current name of the driver package to modify.
[/PackageId:<ID>] Specifies the Windows Deployment Services ID of the driver package. You must specify this option if the driver package cannot be uniquely identified by name. To find this ID for a package, click the driver group that the package is in (or the All Packages node), right-click the package, and then click Properties. The Package ID is listed on the General tab. For example: {DD098D20-1850-4FC8-8E35-EA24A1BEFF5E}.
[/Name:<New Name>] Specifies the new name for the driver package.
[/Enabled:{Yes No}

Examples

To change settings about a package, type one of the following:

wdsutil /Set-DriverPackage /PackageId:{4D36E972-E325-11CE-BFC1-08002BE10318} /Name:MyDriverPackage
wdsutil /Set-DriverPackage /DriverPackage:MyDriverPackage /Name:NewName /Enabled:Yes

Related links

Source: Microsoft Learn / Windows Server documentation by Microsoft and contributors (upstream author metadata: robinharwood). Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Server documentation
适用范围
Windows Server · Source date 10/16/2017
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。