Rename a 2000 computer

  • Thread starter Thread starter Charles Blair
  • Start date Start date
C

Charles Blair

I'm looking for a command line utility or a script that will rename a
Windows 2000 workstation.

The Win32_ComputerSystem ObjComputer.Rename only works on Windows XP and the
Windows 2000 Netdom.exe does not have the functionality to rename a
computer.

Any help is greatly appreciated.

TIA

Charles
 
Charles said:
I'm looking for a command line utility or a script that will rename a
Windows 2000 workstation.

The Win32_ComputerSystem ObjComputer.Rename only works on Windows XP and the
Windows 2000 Netdom.exe does not have the functionality to rename a
computer.
Hi

A)
If you have access to a Windows 2003 Server CD, get the netdom.exe
that is in the "Support Tools" install, and take a look at the
RENAMECOMPUTER parameter.

Netdom.exe from this kit can be used for Win2k, WinXP as well as Win2k3.


B)
Changing computer name for WNT/W2k/WXP with vbscript and registry
writes, alternatively with command line utility Compname.exe:

http://groups.google.com/[email protected]

Note that above script as well as Compname.exe will break any
domain membership.
 
Back
Top