sodcalculator

10 Tech How-To

How to Change Windows PC Name in Settings

Guide 10-34084 · Updated · Step by step

To change your Windows PC name, open Settings, go to System > About, click “Rename this PC,” enter the new name, and restart when prompted. This guide walks through the exact steps for Windows 10 and Windows 11, explains why the name matters, and answers common questions.

Why Change Your PC Name?

Every Windows computer has a name that identifies it on a network. This name appears in File Explorer under “Network,” on routers, in remote desktop connections, and when you share files or printers. The default name is usually something like “DESKTOP-ABC123” or “LAPTOP-XYZ789,” which is random and hard to remember. Changing it to something recognizable, like “LivingRoomPC” or “Work-Laptop,” makes it easier to find your device among several on a home or office network.

Beyond convenience, a clear name helps with troubleshooting. If you ask a friend or IT person to help with a network issue, telling them “my PC is named Home-Office” is much clearer than reading off a random alphanumeric string. It also avoids confusion when multiple family members have similar laptops.

How to Change the PC Name in Windows 11

Windows 11 changed the Settings layout slightly, but the process is straightforward. Here are the exact steps:

  1. Click the Start button (Windows icon) and select Settings (the gear icon).
  2. In the left sidebar, click System.
  3. Scroll down and click About.
  4. Under “Device specifications,” click the Rename this PC button.
  5. Type the new name (use only letters, numbers, and hyphens; no spaces or special characters).
  6. Click Next, then choose to restart now or later.

After restart, the change takes effect. If you don’t restart, the old name may still appear in some network views until you do.

How to Change the PC Name in Windows 10

Windows 10 has a similar path, but the wording is slightly different:

  1. Open Settings (press Windows + I).
  2. Click System, then About in the left menu.
  3. Under “Device specifications,” click Rename this PC.
  4. Enter the new name, click Next, and restart.

That’s it. The same rules apply: no spaces, and keep it under 15 characters if you want it to work with older Windows networking (more on that below).

What Makes a Good PC Name?

Choosing a name is more than just picking something fun. Here are practical guidelines:

  • Use letters, numbers, and hyphens only – Windows allows these and they work reliably across all network protocols. Spaces and symbols like ! or @ can cause issues with some older software and network shares.
  • Keep it under 15 characters – The NetBIOS name limit is 15 characters. If you go longer, the name gets truncated, which can cause confusion. Windows may warn you if you exceed this.
  • Make it descriptive – Include the location or purpose, like “KitchenPC” or “Kids-Laptop.” This is especially helpful if you have multiple PCs.
  • Avoid personal info – If you ever connect to public Wi-Fi or share your screen, a name like “JohnDoe-Laptop” reveals your name. A neutral name like “Laptop-Office” is safer.
  • Don’t use the same name as another device – Duplicate names cause network conflicts. Check your router’s device list if unsure.

What Happens When You Rename a PC?

Renaming changes the computer’s identity on the network. It does not affect your files, installed programs, or user accounts. However, a few things may be impacted:

  • Network shares and shortcuts – If other devices connect to this PC using the old name (e.g., \\OldName\SharedFolder), those connections will break. You’ll need to update the address to the new name.
  • Remote Desktop – If you use Remote Desktop to connect to this PC, you’ll need to use the new name.
  • Router device lists – The router may show both old and new names for a while until it refreshes.
  • Some apps that reference the machine name – Certain software licenses or configurations may need to be updated.

Common Problems and How to Fix Them

Sometimes the rename doesn’t go as smoothly as expected. Here are common issues and solutions:

  • You get an error saying the name is already in use – Try a different name. Even if the other device is offline, the name may be reserved.
  • The “Rename this PC” button is grayed out – This can happen if you’re not logged in as an administrator. Sign in with an admin account or contact the system administrator.
  • The name doesn’t update on the network after restart – Wait a few minutes. Network discovery can take time. If it persists, restart the router or run ipconfig /flushdns in Command Prompt.
  • You can’t use a name with a space – That’s by design. Use a hyphen instead (e.g., “Home-Office” instead of “Home Office”).
  • You want to change the name without restarting – Not possible. A restart is required for the change to fully apply.

Alternative Ways to Rename a PC

While Settings is the easiest method, there are other ways if you prefer command-line or advanced tools:

  • System Properties (classic dialog) – Press Windows + R, type sysdm.cpl, and press Enter. Under the “Computer Name” tab, click “Change.” This opens the same rename dialog and works on both Windows 10 and 11.
  • PowerShell – Run as administrator and use the command: Rename-Computer -NewName "NewName" -Restart. This is useful for scripting or remote management.
  • Command Prompt – Open as administrator and run: wmic computersystem where name="%computername%" call rename name="NewName". Then restart.

These methods achieve the same result, so choose whichever fits your workflow.

Frequently Asked Questions

Does changing my PC name affect my files or apps?

No. Your files, folders, installed programs, and personal settings remain untouched. The name is just a label for network identification. Only network paths that explicitly use the old name will need updating.

Can I use spaces in my PC name?

No, spaces are not allowed. Windows will reject them. Use hyphens or underscores instead (though underscores are technically allowed, hyphens are more standard).

How long can a PC name be?

Windows allows up to 63 characters, but the older NetBIOS limit is 15 characters. For maximum compatibility with network browsing and older devices, keep it under 15 characters. Windows will warn you if you exceed that.

Will renaming my PC affect my Wi-Fi or internet connection?

No. Your internet connection and Wi-Fi settings are tied to your network adapter, not the PC name. You’ll stay connected, but the name shown on the router’s device list will change.

Can I change the PC name from a command line?

Yes. Open PowerShell or Command Prompt as administrator and use the Rename-Computer cmdlet (PowerShell) or the wmic command (CMD). Both require a restart to complete.

Why does my PC name matter for remote desktop?

When you connect via Remote Desktop, you enter the computer’s name to find it. If the name is random, you have to look it up. A custom name makes it easy to remember and type.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →