Friday, November 28, 2008

Rename a PC using netdom

You will need to install the XP Support Tools located in the Tools folder on the XP disk. Full instructions can be found here:

http://support.microsoft.com/kb/298593

Here is a real-world example of renaming a computer MLNMOW-NXP1002 to MLNMOM-NXP1002

netdom renamecomputer MLNMOW-DXP9001 /newname:MLNMOM-NXP1002 /userd:[domain]\[admin account] /passwordd:* /usero:administrator /passwordo:* /reboot:15 /force

This will rename the computer, prompt you for your domain admin and local machine admin passwords and force a reboot after 15 seconds. You have to be using a domain account with full admin rights to the computer you are renaming.

You can enter the real passwords instead of the "*" to speed up the process.

No comments: