Renaming workstion accounts

R

Rich

Anyone know of a third party app or script that you can
use to rename multiple workstations within a domain.
 
O

Oli Restorick

Well, I wrote a program called compname.exe that can pull the system's
SMBIOS serial number out of the machine and then renames the machine to
match. It can also support a number of other naming conventions, including
a reverse DNS lookup (undocumented).

The thing is, it doesn't do it remotely (although that could be fixed using
psexec from sysinternals) and it breaks the domain link, so you'd still need
netdom.exe to get it to work. In addition, you'd need a reboot between
renaming and joining.

When I get some time, I want to include code that eliminates the need for a
reboot, but that will take a bit of work (I know it's possible).

What does netdom not do that you need, or are you just researching all
options at the moment?

Regards

Oli
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top