Deletes computers that are pending, rejected, or approved from the auto-add database. This database stores information about these computers on the server.
Syntax
wdsutil /delete-AutoaddDevices [/Server:<Servername>] /Devicetype:{PendingDevices | RejectedDevices |ApprovedDevices}
Parameters
| Parameter | Description |
|---|---|
[/Server:<Servername>] |
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. |
| /Devicetype:`{PendingDevices | RejectedDevices |
Examples
To delete all rejected computers, type:
wdsutil /delete-AutoaddDevices /Devicetype:RejectedDevices
To delete all approved computers, type:
wdsutil /verbose /delete-AutoaddDevices /Server:MyWDSServer /Devicetype:ApprovedDevices
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.
