In xp, sysprep was a great tool for deploying new images to machines in an AD environment. Unlike Windows 7 sysprep, it could be configured to prompt for a computer name before joining it to the domain. If if the name was identical to an existing computer account, it would automatically reset the account and assign it to that machine.
I need the same functionality for deploying Windows 7. I currently have a .vbs script that is part of my builds that utilizes netdom to prompt for a computer name, and then rename the machine from the random one that the unattend creates.
In addition to renaming, I'm looking for help getting my script to also be able to reuse any existing computer accounts in the OU they exist in, to save me the trouble of having to deal with it manually.