Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We run WDS on Server 2008 R2. We have a large stock of Loan Laptops that we reimage when they come back from loan. these machines all used to have a generic name (LoanLT) which was specified in the answer file.

We have since decided to barcode all the machines for ease of stock checking and would like the machines to pick up the %MachineName% that corresponds to the barcode. For the new machines this is easy as when they are first connected to the WDS Server they show up in the Pending Devices section and we can Name and Approve them.

The problem lies in that for about 50 of our old laptops these were just Approved on the WDS system so no record of them exists in AD which is where the %MachineName% attribute is pulled from.
This leads to a "Windows could not parse or process the unattend answer file for pass [specialize]. The settings specified in the answer file cannot be applied."

Is there a way to remove all computers that have been added to the WDS database withut a name? Therefore any that do not exist in AD will have to be re-approved and can be named at that point

share|improve this question
up vote 2 down vote accepted

According to this article you can clear all approved devices from the database with this command: WDSUTIL /Verbose /Delete-AutoAddDevices /Server:MyWDSServer /DeviceType:ApprovedDevices.

Hope this helps.

share|improve this answer
I ran the command without the verbose. What is the verbose added for? – Joe Taylor Aug 11 '12 at 10:34
It is just to give more feedback about what is happening while the process is running. It is not needed. – WinOutreach4 Aug 13 '12 at 17:08

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.