Using NETDOM to rename a computer
When building a new Windows server, particularly a server core Windows server, you’ll need to rename the computer, after the OS is installed.
If you choose to use the command line, which you have to, with Server Core, type in the following to rename the computer. This is the simplest way to do it.
Code:
netdom renamecomputer %computernam% /newname:<em>newservernamehere</em>
e.g netdom renamecomputer %computernam% /newname:MAIL-SERVER-1
This uses the NETDOM utility.
The Computer will now want a restart for the changes to take effect!
To restart the computer via command line please read the following post:
http://binaryroyale.com/how-to-restart-a-windows-server-via-command-line/
Recent Posts