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