Share via


/reject-AutoAddDevices

Applies To: Windows Server 2008, Windows Server 2008 R2

Rejects computers that are pending administrative approval. When the Auto-Add policy is enabled, administrative approval is required before unknown computers (those that are not prestaged) can install an image. You can enable this policy using the PXE Response tab of the server’s properties page.

Syntax

WDSUTIL [Options] /Reject-AutoAddDevices [/Server:<Server name>] /RequestId:<Request ID or ALL>

Parameters

Parameter Description

[/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.

/RequestId:<Request ID | ALL>

Specifies the request ID assigned to the pending computer. To reject all pending computers, specify ALL.

Examples

To reject a single computer, type:

WDSUTIL /Reject-AutoAddDevices /RequestId:12

To reject all computers, type:

WDSUTIL /Verbose /Reject-AutoAddDevices /Server:MyWDSServer /RequestId:ALL

Additional references

Command-Line Syntax Key

/approve-AutoAddDevices

/delete-AutoAddDevices

/get-AutoAddDevices