4 Best Ways to Change Com­put­er Name in Win­dows 10

Gaurav Bidasaria

How do you identify your Windows 10 computer for connecting to it over a network? By its name. The device name is how you can identify and connect to via Bluetooth or Wi-Fi. That's why having an easy to identify computer name is very important. But, default names assigned by Windows sound odd and are hard to remember. So let's figure out how to change your computer's name in Windows 10.

Change Computer Name in Windows 10

There are a few ways to change your computer's name and we will discuss all of them below.

For clarity, the computer name is the overall hardware system (desktop or laptop) name and it is not the same as your user account name. Some Windows 10 users get confused between the two.

On your Windows-based laptop, you can then create more than one user account on the same computer (one for each family member) and give it different names. Thus, one computer can have multiple user accounts. However, the name of your Windows computer will appear the same no matter which user account you access it from. That said, if you want to change computer name only, we shall tell you how. Read on.

Choosing Computer Name

There are certain naming convention rules prescribed by Microsoft that you need to keep in mind before giving your computer a new name. You are free to use alphabets (a-z) and numbers (0-9) but no special characters. The hyphen (-) is allowed though. The minimum character length is 1 and the maximum is 15. You should also note that Microsoft has reserved select words and you can't use them.

Note: Changing the name of your computer will not change the pathway of your user profile folder if that's the reason you are doing it. For example, C:\Users\old-name will still remain the same. That's because that is a username and not the device or computer name.

1. Windows Settings

This is where you will find all the settings that you can use to change, configure, and customize for your Windows 10 computer.

Step 1: Press Windows key+I to open Settings and go to System > About. Click on Rename this PC button.

Change Computer Name in Windows 10 1

Step 2: A blue-screen pop-up will reveal itself where you will enter the new computer name. You will be notified of the current name too.

Change Computer Name in Windows 10 2

Step 3: Click on Next and enter the admin account password if asked for. You will have to reboot your computer once for the changes to take effect.

2. Windows System Properties

There's another old-school style of way of changing your computer's name.

Step 1: Search for Control Panel in the Start menu and open it.

Change Computer Name in Windows 10 3

Step 2: Go to System and Security > System > Advanced system settings (left sidebar) and click on Change settings.

Change Computer Name in Windows 10 4

Step 3: Click on the Change button under the Computer Name tab in the pop-up that follows.

Change Computer Name in Windows 10 5

Step 4: You will enter your desired computer name in the provided box.

Change Computer Name in Windows 10 6

Save changes and reboot your computer.

3. Command Prompt (CMD)

This method is purely for the power users who like using the Command Line Interface (CLI). If you aren't comfortable using the command prompt, feel free to skip this trick.

Step 1: Search for CMD in the Start menu and click on Run as administrator to open it with admin rights.

Change Computer Name in Windows 10 7

Step 2: Give the command below and hit Enter to execute it. Don't forget to replace the "Computer-Name" text with the name you want to give your computer.

wmic computersystem where name="%computername%" call rename name="Computer-Name"
Change Computer Name in Windows 10 8

Wait for the command to run its course and then reboot your computer once to implement the changes.

4. PowerShell

PowerShell is the advanced version of the Command Prompt and is set to replace it sometime in the future. Better get used to it now.

Step 1: Search for PowerShell in the Start menu and open with admin rights. You can also use the shortcut Windows key+X to open a hidden menu.

Change Computer Name in Windows 10 9

Step 2: Type the command below and press Enter. Replace the last part "Computer-Name" with the name you want to give your computer.

Rename-Computer -NewName "Computer-Name"
Change Computer Name in Windows 10 10

Restart your computer. That's it.

Say My Name

Now that you know different ways to name your Windows 10 computer, you should assign a name to it. I wouldn't say the same for an enterprise computer because they are connected to a system and have multiple admin-level apps installed that rely on the name of the computer to function correctly. Even more importantly, the IT admin may have restricted you from making such changes. Best if you send him/her an email.

Earlier versions of Windows asked users to choose a name at the time of Windows OS installation, but that is no longer the case with Windows 10. Note that changing the computer name in Windows 10 may require you to reconnect Bluetooth devices like TWS and Wi-Fi, but that's it. Not a big deal and should not take more than a few moments. You can do it as you use them along the way.

You can use any one of the tricks mentioned above, and if it doesn't work for you, then there's always another one on the list.

Next up: Still can't change the computer name? Getting the 'computer name is invalid' error? Click on the link below to learn how to fix it.


The above article may contain affiliate links which help support Guiding Tech. However, it does not affect our editorial integrity. The content remains unbiased and authentic.

Read Next

Join the newsletter

A C.A. by profession and a tech enthusiast by passion, Gaurav loves tinkering with new tech and gadgets. He used to build WordPress websites but gave it all up to develop little iOS games instead. Finally, he dropped out of CA to pursue his love for tech. He has over 5 years of experience as a writer covering Android, iOS, and Windows platforms and writes how-to guides, comparisons, listicles, and explainers for B2B and B2C apps and services. He currently divides his time between Guiding Tech (writer) and Tech Wiser (editor).