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

Recent Posts

Leave a Comment

Contact Us

We're not around right now. But you can send us an email and we'll get back to you, asap.

Not readable? Change text. captcha txt

Start typing and press Enter to search