I have an office of PCs which don't have any naming conventions, I have labelled them all and would like to use these identifiers as their PC names. If I try to do this manually I have to leave the domain, rename and join the domain again - ballache and risks something going wrong.

I have been reading up about NETDOM and some other methods where I can write a batch file and run from the DC to automate the renaming. I just wanted to see which method people here would use? Most of the clients are Win 7 but some may be on an older OS. I like the look of this as it is a batch where you are prompted for existing and new computer name, thoughts?
http://community.spiceworks.com/how_...t-of-your-desk

Cheers