In this post, we will learn the different ways to rename a Windows Server 2019.

In a manual operating system installation, the Windows Setup program assigns a unique name beginning with WIN-<Something> to the windows server.

Logon to Windows Server 2019 with an administrator account.

Method:1 Rename Windows Server 2019 using the System Properties:

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

1. open system settings console

2. In the settings window, click Rename this PC.

2. Click on rename this PC button

3. Type the new computer name you want for your server and click Next.

3. specify the new name of server 2019

4. To complete the renaming of the server 2019, we will need to restart it. Click on Restart Now.

4. Click on restart now

5. Select Operating System: Reconfiguration (Planned) as a reason to restart the server. Click on Continue.

5. select the reason to restart the server 2019

We can also restart the server later on.

Method:2 Rename Windows Server 2019 using the Server Manager Console:

1. Click on the Start button and then click on the Server Manager.

6. open server manager console

2. On the Server Manager console, click on Local Server. Under Properties and click the computer name link. That will open the system properties window.

7. click on computer name link

3. Click Change.

8. Click on change

4. Enter the new computer name in the Computer name field.

9. type a new server name and click ok

5. A new dialog box will appear, prompting you that the server will need to be restarted for the changes to take effect. Click OK.

10. click ok

6. Click Close.

11. click on close

7. Click Restart Now.

12. click on restart now

Method:3 Rename Windows Server 2019 using the PowerShell:

1. Right-click on the Start icon, click on Windows PowerShell (Admin).

13. open windows powershell with admin

Here, we will use the Rename-Computer cmdlet to rename the server 2019.

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

2. In our case, the cmdlet will be,

Rename-Computer -NewName WS2K19-SRV02 -Restart

14. type rename-computer cmdlet

Verify the new name of Windows Server 2019 using Windows PowerShell using cmdlet $env:COMPUTERNAME.

15. verify the new name

We can also use netdom command to rename Windows Server 2019 as well, but we are not covering it since it is a very old method to rename the server.

In this post, we have learned the different methods to rename Windows Server 2019.

Thank You for reading this post.

Related Articles: