Using The Reject-AutoaddDevices Command

Applies To: Windows Server (Semi-Annual Channel), Windows Server 2016, Windows Server 2012 R2, Windows Server 2012

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.


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


Parameter Description
[/Server:] 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.


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 Using the Approve-AutoaddDevices Command Using the delete-AutoaddDevices Command Using the get-AutoaddDevices Command