Deletes Auto-Add devices from the Windows Deployment Services server.

Syntax

WDSUTIL /Delete-AutoAddDevices [/Server:<Server name>] /DeviceType:{PendingDevices | RejectedDevices |ApprovedDevices}

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.

/DeviceType:{PendingDevices | RejectedDevices |ApprovedDevices}

Specifies the type of device to be purged from the auto-add device database (Binlsvcdb.mdb). This can be any of the following three types:

  • PendingDevices returns all devices in the database that have a status of pending.

  • RejectedDevices returns all devices in the database that have a status of rejected.

  • ApprovedDevices returns all devices that have a status of approved.

Examples

To delete all rejected devices, type:

WDSUTIL /Delete-AutoAddDevices /DeviceType:RejectedDevices

To delete all approved devices, type:

WDSUTIL /Verbose /Delete-AutoAddDevices /Server:MyWDSServer /DeviceType:ApprovedDevices