Any suggestions? Export (0) Print
Expand All

/delete-AutoAddDevices

 

Updated: February 10, 2014

Applies To: Windows Server 2008, Windows Server 2008 R2, Windows Server 2012 R2, Windows Server 2012, Windows 8

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
Show:
© 2016 Microsoft