NETDOM.exe (Windows XP Support Tools)

Domain Manager - Rename computer, Join computer to a domain,Reset Machine Account Passwords.

Syntax
  Rename a computer:
      netdom renamecomputer machine /newname:new_computername
                /userd:domainname\admin_id /passwordd:*
                   /usero:local_admin /passwordo:*
                      /reboot:seconds_before_automatic_reboot

  Join a domain:
      netdom join ComputerName /domain:DomainName /userd:User /passwordd:UserPassword

Key:
   Machine     - The current name of the computer.
 	/Newname    - The name that the computer is going to have.
   /userd      - A domain user account that has admin permissions
                 to the computer object in the domain.
   /passwordd  - The password for userd
 	/usero      - A user that has local administrative permissions,
                 which can be the same account as specified for /userd:
   /passwordo  - The password for usero
 	/reboot     - The time in seconds before an automatic reboot.
                 If this is not specified, the computer must be restarted manually.

If the password is supplied as * then you will be prompted to type the password.

Note: you should only use the version of netdom supplied for your operating system, the NETDOM utility is included with the Windows XP CD in the \Support\Tools\Support.cab file.

Run NETDOM /? for help.

"Between knowledge of what really exists and ignorance of what does not exist lies the domain of opinion. It is more obscure than knowledge, but clearer than ignorance" - Plato

Related:

Q298593 - Use Netdom to rename a computer in Windows XP
Q216393 - Resetting computer accounts in Windows



Back to the Top

Simon Sheppard
SS64.com