1. Start a command-prompt session.
2. Add the new name to the current server (it will now have two names) by typing
3. netdom computername
For example, when I typed
netdom computername gotham.savilltech.com /add:omega.savilltech.com
my computer displayed the following message:
Successfully added omega.savilltech.com as an alternate
name for the computer.
The command completed successfully.
4. If multiple DNS servers are used, you must wait until the new name replicates to all authoritative DCs. After the new name has replicated, continue to the next step.
5. Make the new name the primary name for the machine by typing
6. netdom computername
For example, when I typed
netdom computername
gotham.savilltech.com /makeprimary:omega.savilltech.com
my computer displayed the following message:
Successfully made omega.savilltech.com the primary
name for the computer. The computer must be rebooted for
this name change to take effect. Until then this computer
may not be able to authenticate users and other computers,
and may not be authenticated by other computers in the
forest. The specified new name was removed from the list
of alternate computer names. The primary computer name will
be set to the specified new name after the reboot.
The command completed successfully.
7. Reboot the computer.
8. After you reboot the machine, wait until all the domain locator records replicate to all authoritative DNS servers. After the replication is complete, check to ensure that the rename worked successfully by checking the name on the Computer Name tab of the Control Panel System applet. You can also view all computer names by typing
netdom computername
For example, when I typed
netdom computername omega.savilltech.com /enum
my computer displayed the following:
All of the names for the computer are:
omega.savilltech.com
gotham.savilltech.com
The command completed successfully.
9. You can now remove the old name by typing
10. netdom computername
For example, when I typed
netdom computername
omega.savilltech.com /remove:gotham.savilltech.com
my computer displayed the following:
Successfully removed gotham.savilltech.com as an alternate
name for the computer.
The command completed successfully.
You can enumerate the names again to show the old name has been removed.
No comments:
Post a Comment