Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

/delete-AutoAddDevices

Updated: April 17, 2012

Applies To: Windows Server 2008, Windows Server 2008 R2

Deletes computers that are pending, rejected, or approved from the Auto-Add database. This database stores information about these computers on the server.

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

 

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 computer to delete from the database. This can be any of the following three types:

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

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

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

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.