How to rename Windows Server 2012 R2 (GUI & Command Prompt)

How to rename Windows Server 2012 R2

In this post, we’ll learn the steps to rename Windows Server 2012 R2. When we install Windows Server 2012, it assigns alpha-numeric name. To ensure proper name is assign,  we need to rename computer. In this post, we’ll learn the steps to rename computer from GUI (Graphical User Interface) and from Command Prompt. We’ll rename a Windows Server 2012 R2 to DC01. Normally in Organizations we follow proper naming conventions.

Rename Windows Server 2012 R2 from GUI

1. To rename computer, right click on Start button and then click on System.

RenameComputer01
RenameComputer01

2. This would open System window. Under Computer name, domain and workgroup settings, we’ll see default Name. To change the computer name, click on Change Settings.

RenameComputer

3. In System Properties window, click on Change.

RenameComputer

4. Under Computer Name, type the new Computer name. Click on Ok.

 

RenameComputer

5. Restart is required to apply the changes. Click on Ok to restart the computer.

RenameComputer

6. Click on Close again to close the System Properties window.

RenameComputer

7. To restart the box click on “Restart Now” or click on “Restart Later” to restart your computer later.

RenameComputer

Rename Windows Server 2012 R2 from Command Prompt

1. To rename computer from command prompt, right-click on Start button and click on Command Prompt.
RenameComputer

2. This would open User Account Control and click on “Yes”.

RenameComputer

3. It opens a Command Prompt.

RenameComputer

4. Write a command to change Computer name : “netdom renamecomputer WIN-D107HBP2691 /newname:DC03“.Here WIN-D107HBP2691 is default computer name and DC03 is new computer name.

RenameComputer

5. Restart is required to apply the changes. If you want to restart then type “Y” else type “N”.

RenameComputer

6. In this example we’ll type “Y” to restart the box and hit enter.

RenameComputer

7. We’ll get the message, “The computer needs to be restarted in order to complete the operation”.

RenameComputer

8. To restart from command prompt type “shutdown /r /t 0”.

RenameComputer

9. To verify if the Server name is changed or not we’ll either go to command prompt and type “hostname” or right click start button and click on System. This would show the updated name of your Server.

RenameComputer09

Hop you understood the steps to rename Windows Server 2012 R2. In the future articles, we’ll learn the steps to promote Domain Controller.

active-directory-group-policy-2012-lab
Share this post:

Leave a Reply

Your email address will not be published. Required fields are marked *