How to Change your Computer (PC) Name in Windows 11 (2024)

Want to change the default computer name? It’s been simple pretty simple in Windows but the latest iteration, Windows 11, made it even simpler. The option to rename the computer has now been added to the main screen of the computer ‘Settings’ in the ‘System’ tab.

Apart from the ‘Settings’, you can also change the computer name through the ‘System Properties’, ‘PowerShell’ or the ‘Command Prompt’.

If you have bought a new computer and want to change its name, or for any other reason, here’s how you do it on Windows 11.

Change Computer Name from Windows Settings

To change the computer name, press the WINDOWS key to launch the ‘Start Menu’, search for ‘Settings’, and then click on the relevant search result to launch the app.

How to Change your Computer (PC) Name in Windows 11 (1)

The ‘System’ settings will launch by default and you would find your computer name mentioned at the top on the right. Click on the ‘Rename’ option under the computer name.

How to Change your Computer (PC) Name in Windows 11 (2)

Now, enter the new computer name in the text box and click on ‘Next’.

How to Change your Computer (PC) Name in Windows 11 (3)

You will now be asked to rename your computer for the new computer name to come into effect. Restart the computer and you will find the new computer name mentioned in the Settings.

Note: If you see ‘One or more of the characters you typed won’t work. Try something different’, it’s because you have entered a character that’s not allowed for a computer name. Check if you have added space, apostrophe (‘), colon (:), underscore (_), period (.) or other similar characters, and remove them. For the computer name, you can use alphabetical characters, numerical characters, and a hyphen (-).

Change Computer Name from System Properties

You also have the option to change the computer name from the properties. One of the advantages of using this method is that when you enter a character that’s now allowed, a dialog box with the list of permitted characters and the ones that are not allowed is displayed. This makes it easy to delete the characters and come with a name that conforms to the standard.

To change the computer name, press the WINDOWS key to launch the ‘Start Menu’, type ‘sysdm.cpl’ and click on the relevant search result.

How to Change your Computer (PC) Name in Windows 11 (4)

The ‘Computer Name’ tab of ‘System Properties’ will open by default. Click on the ‘Change’ option.

How to Change your Computer (PC) Name in Windows 11 (5)

Now, enter the new computer name based on the guidelines we discussed above, and click on ‘OK’ at the bottom.

How to Change your Computer (PC) Name in Windows 11 (6)

You will now be asked to restart the computer, click on ‘Restart now’ to restart it right away. Do make sure that you have saved all files before restart to avoid data loss.

Change Computer Name via Command Prompt

To change the computer name, search for ‘Windows Terminal’ in the start menu, right-click on the relevant search result and then click on ‘Run as administrator’. Click ‘Yes’ on the confirmation box that pops up.

How to Change your Computer (PC) Name in Windows 11 (7)

Check if it’s the Command Prompt, PowerShell, or Cloud Shell tab that opens. If it’s not ‘Command Prompt’, click on the downward-facing arrow at the top where the tabs are listed and select ‘Command Prompt’ from the drop-down menu.

Note: You can modify the settings to launch whichever tab you want from the three, when opening Windows Terminal.

How to Change your Computer (PC) Name in Windows 11 (8)

An elevated ‘Command Prompt’ will open in a new tab, since we selected ‘Run as administrator’ earlier. Now, enter the following command in Command Prompt.

wmic computersystem where name="Present Name" call rename name="New Name"

In the above command, replace the ‘Present Name’ with the current computer name and ‘New Name’ with the one you want to name it, and then press ENTER to execute it.

How to Change your Computer (PC) Name in Windows 11 (9)

The command will now be executed, look for ‘0’ next to ‘ReturnValue’. In case it shows ‘5’, you haven’t launched the Command Prompt with administrator privileges. Once you have ‘ReturnValue’ as ‘0’, close the ‘Terminal’ window and restart the computer for the changes to reflect.

How to Change your Computer (PC) Name in Windows 11 (10)

After you restart the computer, the new name will reflect throughout.

Change Computer Name via PowerShell

You can also change the computer name with the shell command in Windows PowerShell. Launch the Windows Terminal with administrator privileges as discussed above and open Powershell.

Next, enter the following command in the PowerShell window.

Rename-Computer -NewName "New Name"

In the above command, replace ‘New Name’ with the new name for your computer, and press ENTER to execute the command.

How to Change your Computer (PC) Name in Windows 11 (11)

Once the command is executed, you will be asked to restart the computer for the changes to come into effect. Close the Terminal window and restart the computer.

How to Change your Computer (PC) Name in Windows 11 (12)

That’s all there’s to changing the computer name on Windows 11.

You can go with any of the four methods to change the computer name, since the end result remains the same. However, we recommend using the first two, in case you are not acquainted with ‘Command Prompt’ or ‘PowerShell’.

How to Change your Computer (PC) Name in Windows 11 (2024)
Top Articles
Latest Posts
Article information

Author: Van Hayes

Last Updated:

Views: 6377

Rating: 4.6 / 5 (46 voted)

Reviews: 93% of readers found this page helpful

Author information

Name: Van Hayes

Birthday: 1994-06-07

Address: 2004 Kling Rapid, New Destiny, MT 64658-2367

Phone: +512425013758

Job: National Farming Director

Hobby: Reading, Polo, Genealogy, amateur radio, Scouting, Stand-up comedy, Cryptography

Introduction: My name is Van Hayes, I am a thankful, friendly, smiling, calm, powerful, fine, enthusiastic person who loves writing and wants to share my knowledge and understanding with you.