Using NETDOM to rename a computer

 In Server Core

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://www.binaryroyale.com/how-to-restart-a-windows-server-via-command-line/

Leave a Comment

Contact Us

Call us on: 01332 890460 or Send us an email and we'll get back to you, asap.

Not readable? Change text. captcha txt