What changing your PC name means and why you might do it

Your PC name is the identifier Windows uses to label your computer on a network and in system settings. It appears in File Explorer, in network folders, and when you connect to shared printers or other devices. By default, Windows assigns a generic name like "DESKTOP-ABC1234", but you can change it to something meaningful like "Home-Office" or "Bedroom-Laptop".

You might change your PC name to make it easier to identify on a home network, to match a naming scheme at work, or straightforward because you want something more personal. The change takes effect after you restart your computer, and it does not affect your files, programs, or user account — only how the machine identifies itself to other devices.

Key Takeaways

  • Your PC name is found in Settings under System > About, and you can change it by clicking "Rename this PC" on that same page.
  • The new name can be up to 63 characters long and cannot contain spaces or most special characters — letters, numbers, and hyphens work best.
  • Windows will ask you to restart your computer before the name change takes effect.
  • If you are on a work network, your IT department may have locked the PC name, and you will need to contact them to change it.

Finding your current PC name in Windows Settings

Open Settings by pressing the Windows key and typing "Settings", then click the Settings app. Navigate to System in the left sidebar, then scroll down and click About. Near the top of the page, you will see a section labeled "Device name" — this is your current PC name.

If you are using Windows 10, the layout is slightly different: go to Settings > System > About and look for "PC name" or "Device name" in the middle of the screen. Either way, this is where you will make the change.

Renaming your PC through Settings

In the About section, look for a button labeled Rename this PC (Windows 11) or Rename your PC (Windows 10). Click it, and a dialog box will appear with a text field containing your current PC name. Delete the old name and type the new one.

Keep these rules in mind: the name can be up to 63 characters long, but shorter names are easier to type and remember. You can use letters (A–Z, a–z), numbers (0–9), and hyphens (-), but avoid spaces and special characters like periods, commas, or symbols. Windows will reject names that break these rules and show an error message.

Once you have entered the new name, click Next, and Windows will show you a confirmation screen. Click Rename to confirm, and the system will prompt you to restart your computer. You can restart right away or delay it until later, but the new name will not take effect until you do.

What happens after you restart

When your PC restarts, it will use the new name when ready. You will see the new name in Settings > System > About, and it will appear in File Explorer at the top of the window. If your computer is connected to a network, other devices on that network will see the new name within a few minutes — sometimes longer if the network is large or uses a domain.

Your files, programs, user account, and passwords are not affected by the name change. You will not need to sign in again or reconfigure anything. If you have mapped network drives or shared folders, those connections may briefly disconnect and reconnect as Windows updates its network identity, but they will work normally once the restart is complete.

Renaming a PC on a work or domain network

If your computer is connected to a work network or domain (you can check this in Settings > System > About by looking for "Domain" or "Workgroup"), the rename button may be grayed out or unavailable. This happens because your IT department has locked the PC name to maintain network organization and security.

If you need to change the name, contact your IT support team or help desk. They can either unlock the setting temporarily so you can change it yourself, or they can change it remotely from their end. Do not try to work around this restriction — it can cause network connectivity problems and may violate your organization's policies.

Renaming your PC from the command line (alternative method)

If Settings is not working or you prefer the command line, you can rename your PC using the Command Prompt. Press the Windows key, type "Command Prompt", right-click it, and select Run as administrator. Type the following command and press Enter:

wmic computersystem where name="%computername%" call rename name="NewPCName"

Replace "NewPCName" with your desired name, following the same character rules as before. The command will run silently, and Windows will prompt you to restart. This method works the same way as the Settings method — the new name takes effect only after restart.

Troubleshooting common rename problems

If you see an error message saying the name is invalid, check that you have not used spaces or special characters. Windows rejects names with periods, commas, asterisks, question marks, and most symbols. Try a simpler name with only letters, numbers, and hyphens.

If the Rename button is missing or grayed out, your computer is likely on a domain network. Contact your IT department — they control the setting. If you are on a home network and the button is still missing, restart your computer and try again, or use the Command Prompt method instead.

If the new name does not appear after restart, wait a few minutes and check Settings > System > About again. Sometimes Windows takes a moment to update the display. If it still shows the old name, restart once more.

Frequently Asked Questions

Can I use spaces or special characters in my PC name?

No. Windows only allows letters, numbers, and hyphens. Spaces and special characters like periods, commas, and symbols will cause an error. Keep the name straightforward — "Home-Office" works, but "Home Office" or "Home.Office" will not.

Do I lose my files or programs when I rename my PC?

No. Renaming your PC changes only how the computer identifies itself on a network. Your files, programs, user account, and all settings remain exactly as they were. You do not need to reinstall anything or sign in again.

How long does it take for the new name to show up on my network?

The new name appears in Settings when ready after restart. On a home network, other devices usually see it within a few minutes. On larger or corporate networks, it may take longer depending on how the network is configured.

What if I change my mind and want to change the name again?

You can change your PC name as many times as you want using the same method. Go back to Settings > System > About, click Rename this PC, enter a new name, and restart. There is no limit to how many times you can do this.

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

No. Your internet and Wi-Fi connections are not tied to your PC name. You will stay connected during and after the rename. Network drives or shared folders may briefly disconnect and reconnect as the system updates, but they will work normally once the restart is complete.