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
Related links
- Command-Line Syntax Key
- wdsutil approve-autoadddevices command
- wdsutil delete-autoadddevices command
- wdsutil get-autoadddevices command
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.
