• Contact
  • Homelab
Dimitris Tonias
  • Management
  • Monitoring
  • Cloud
  • Virtualization
  • Networking
  • Productivity
No Result
View All Result
  • Management
  • Monitoring
  • Cloud
  • Virtualization
  • Networking
  • Productivity
No Result
View All Result
Dimitris Tonias
No Result
View All Result

How to rename Windows Server 2016

Dimitris Tonias by Dimitris Tonias
October 18, 2017 - Updated on April 21, 2024
in Management
Reading Time: 3 mins read
A A
1
Share on FacebookShare on Twitter

Changing a computer name to either a Windows Server or a Windows client is one of the first steps you will need after the installation of the operating system. Microsoft has chosen to automatically give a computer name consisting of a sequence of letters and numbers that for most people makes no sense to the role of the server or client.

In today’s article, you will see how to change the computer name in Windows Server 2016 by using the classic method through the GUI as well as the most ‘fast’ methods through the command line and of course Powershell.

Rename Windows Server 2016 from the GUI

Right-click the Start icon, and then click System.

How to rename Windows Server 2016

In the new window, click Change settings, next to the computer name, as shown in the figure below.

How to rename Windows Server 2016

Then click the Change button.

How to rename Windows Server 2016

In the Computer name field, type the new computer name you want your server to have and click OK.

How to rename Windows Server 2016

To complete the renaming of the server, you will need to restart it. When you close the System properties window, a new window will appear to give you this option.

How to rename Windows Server 2016

Rename Windows Server 2016 from command prompt

First, you will need to know the name of the computer you are about to rename. Open the command line with Administrator rights and type the following command to see the current computer name.

hostname

hostname

How to rename Windows Server 2016

Next, we will use the netdom command to change the name. The command will look like this.

netdom renamecomputer <current computer name> /newname:<new computer name> /reboot <seconds>

netdom renamecomputer <current computer name> /newname:<new computer name> /reboot <seconds>

That is, to change the name from WIN-IMLI1SK9BV9 to SRV01 we will use the following command.

netdom renamecomputer WIN-IMLI1SK9BV9 /newname:SRV01 /reboot 0

netdom renamecomputer WIN-IMLI1SK9BV9 /newname:SRV01 /reboot 0

How to rename Windows Server 2016

Confirm your action by pressing Y (for Yes) and Enter.

Rename Windows Server 2016 from Powershell

Open Powershell with Administrator privileges. Here, we will use the Rename-Computer cmdlet that will have the following format.

Rename-Computer -NewName <new computer name> -Restart

Rename-Computer -NewName <new computer name> -Restart

That is, in our case, it will be something like that.

Rename-Computer -NewName SRV01 -Restart

Rename-Computer -NewName SRV01 -Restart

How to rename Windows Server 2016

Rename Windows Server 2016 from SConfig tool

Open Powershell with Administrator privileges and type the sconfig command to enter the system configuration environment through Powershell.

sconfig

sconfig

How to rename Windows Server 2016

Here, press 2 to change the computer name.

After you type the new computer name you will be prompted to restart it to complete the process.

How to rename Windows Server 2016

Tags: Windows Server 2016
ShareTweetPin
Previous Post

Configure Date, Time and Time Zone settings in Windows Server 2016

Next Post

Access is denied when you delete or move an OU to Active Directory

Related Posts

Approve updates in WSUS 2016
Management

Approve updates in WSUS 2016

Configure Group Policy to deploy updates using WSUS 2016
Management

Configure Group Policy to deploy updates using WSUS 2016

Configure computer groups in WSUS 2016
Management

Configure computer groups in WSUS 2016

The initial configuration of WSUS 2016
Management

The initial configuration of WSUS 2016

Install WSUS in Windows Server 2016
Management

Install WSUS in Windows Server 2016

Error opening Report Viewer on WSUS 2016
Management

Error opening Report Viewer on WSUS 2016

Comments 1

  1. Abdikani says:
    7 years ago

    Thanks great and simple article

    Reply

Leave a Reply Cancel reply

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

No Result
View All Result
Zabbix server: More than 75% used in the trends cache
Monitoring

Zabbix server: More than 75% used in the trends cache

In Zabbix, "trends" are a type of data storage representing aggregated historical data. Zabbix monitors and collects a vast amount...

Read moreDetails
Check word count on Google Docs

Check word count on Google Docs

Zabbix server: More than 75% used in the configuration cache

Zabbix server: More than 75% used in the configuration cache

Approve updates in WSUS 2016

Approve updates in WSUS 2016

Configure Group Policy to deploy updates using WSUS 2016

Configure Group Policy to deploy updates using WSUS 2016

Configure computer groups in WSUS 2016

Configure computer groups in WSUS 2016

The initial configuration of WSUS 2016

The initial configuration of WSUS 2016

Get more stuff

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

we respect your privacy and take protecting it seriously

  • Contact
  • Homelab

© 2024 Dimitris Tonias

No Result
View All Result
  • About
  • Contact
  • Free Tools
  • Home
  • Homelab

© 2024 Dimitris Tonias

This website uses cookies. By continuing to use this website you are giving consent to cookies being used.