Select the product you need help with
- Internet Explorer
- Windows Phone
- More products
How To Use the Netdom.exe Utility to Rename a Computer in Windows XP
Article ID: 298593 - View products that this article applies to.
This article was previously published under Q298593
This article describes how to use the Netdom.exe utility (included in Windows XP Support Tools) to rename a computer that is a member of a Windows 2000 domain. This procedure can be performed either locally or remotely on the computer, which is being renamed. Also, the procedure does not require you to reset or manually re-create the computer account in the domain. The Netdom.exe utility has the ability to rename a computer that is a member of a domain. However, to rename the computer, you must be able to specify the user accounts that have local administrative permissions and the object of the computer account in Active Directory.
NOTE: The following command-line syntax has been wrapped to multiple lines to make it easier to read. You must enter the commands as a single line.
netdom renamecomputer mycomputer /newname:yourcomputerThe following warning message may be displayed and you may be prompted as to whether or not you want to proceed:
/usero:administrator /passwordo:* /reboot:60
If you do not want to be prompted to proceed, include the /force switch when you enter the netdom command in addition to the other parameters.
This operation will rename the computer "Mycomputer" to "Yourcomputer". Certain services, such as certification authority, rely on a fixed computer name. If any services of this type are running on "Mycomputer", a computer name change would have an adverse impact.