What changing your PC's name actually does

Your PC's name is the label Windows or Mac uses to identify your computer on a network. When you change it, you're changing what appears in File Explorer (Windows) or Finder (Mac) when you browse shared folders, and what shows up when other people on your network look for devices to connect to. The name does not affect how your computer runs or what programs you can use — it's purely a label for identification.

You might want to change your PC's name if it came with a generic default like "DESKTOP-ABC123", if you're setting up a new computer and want something meaningful, or if you're troubleshooting network connection issues. The process is straightforward and takes about five minutes, though your computer will need to restart afterward.

Key Takeaways

  • On Windows 11, go to Settings > System > About, click "Rename this PC", type your new name, and restart your computer.
  • On Windows 10, the same path works, or you can right-click "This PC" in File Explorer and select "Rename".
  • On Mac, go to System Settings > General > About and click "Edit" next to the computer name field.
  • PC names can include letters, numbers, and hyphens, but not spaces or special characters like @ or #.
  • Changing your PC's name does not affect your user account, files, or installed programs — only how the computer identifies itself on a network.

Changing your PC name in Windows 11

Open Settings by pressing the Windows key and typing "Settings", then click the Settings app. Navigate to System, then scroll down and click About. You'll see a section labeled "Device name" with your current PC name displayed. Click the "Rename this PC" button.

A dialog box will appear with a text field containing your current name. Delete the existing text and type your new name. PC names can include letters (A–Z), numbers (0–9), and hyphens (-), but not spaces, periods, or special characters. Keep the name under 15 characters for best compatibility with older systems. Click Next, then Restart now to apply the change immediately, or Restart later if you want to finish what you're doing first.

Your computer will restart and the new name will take effect. If you're on a work network, check with your IT department before changing your PC name, as some organizations track devices by their names.

Changing your PC name in Windows 10

Windows 10 offers two methods. The first is through Settings: press the Windows key, type "Settings", open the app, then go to System > About. Scroll down to find "Device name" and click "Rename this PC". Type your new name following the same rules (letters, numbers, hyphens only; no spaces or special characters), then click Next and Restart.

The second method uses File Explorer. Open File Explorer, right-click "This PC" in the left sidebar, and select "Rename". Type your new name directly into the field that appears. Press Enter, then restart your computer when prompted. Both methods work equally well — use whichever feels more natural to you.

Changing your PC name on Mac

Click the Apple menu in the top-left corner and select System Settings (or System Preferences on older macOS versions). Click General in the sidebar, then look for the "About" section. You'll see your computer name displayed near the top. Click the "Edit" button next to it.

A text field will appear with your current computer name highlighted. Type your new name and click "Done". Mac names can include letters, numbers, spaces, and most special characters, giving you more flexibility than Windows. The change takes effect immediately — you do not need to restart your Mac, though you may need to reconnect to shared networks for the new name to appear everywhere.

What to do if you cannot change your PC name

If you see a message saying you don't have permission to change the name, you're likely using a standard user account rather than an administrator account. On Windows, right-click Settings and select "Run as administrator", then follow the renaming steps. On Mac, you may need to unlock System Settings by clicking the lock icon and entering your password.

If you're on a work computer, your organization may have locked down the ability to change the PC name through group policy (Windows) or Mobile Device Management (Mac). Contact your IT department — they can either change it for you or grant you temporary permission to do it yourself.

Naming conventions that work best

Choose a name that tells you something useful about the computer. "Laptop-Home", "Office-Desktop", or "Bedroom-Mac" are clear and easy to spot on a network. Avoid names that are too long (keep them under 15 characters on Windows for compatibility), names with only numbers (which can confuse network systems), or names identical to other devices on your network.

If you use multiple computers, a consistent naming scheme makes life easier. For example, you might name them "Laptop-2024", "Desktop-2024", and "Tablet-2024", or use your name followed by the device type: "Sarah-Laptop", "Sarah-Desktop". This way, when you're browsing shared folders or connecting devices, you'll instantly know which machine is which.

What happens after you change your PC name

Your computer will appear with its new name in File Explorer (Windows) or Finder (Mac) when you browse network locations. Other people on your network will see the new name when they look for shared devices. If you have printers, external drives, or other devices connected to your PC, they will continue to work normally — changing the PC name does not affect connections to those devices.

If you were previously accessing your computer by its old name over a network (for example, typing "\\OLDNAME" into File Explorer), those paths will no longer work. You'll need to use the new name instead. Any shortcuts or mapped network drives pointing to the old name may break and need to be recreated.

Frequently Asked Questions

Will changing my PC name affect my files or programs?

No. Your files, programs, user account, and all settings remain exactly the same. Only the label your computer uses to identify itself on a network changes. You can change your PC name as many times as you want without any risk to your data.

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

On Windows, no — stick to letters, numbers, and hyphens. On Mac, you can use spaces and most special characters, but it's still a good idea to keep names simple for compatibility with older systems and network devices. Avoid @ # $ % and other symbols that have special meaning in network protocols.

Do I need to restart my computer after changing its name?

Windows requires a restart for the change to take effect. Mac does not require a restart, though you may need to reconnect to shared networks for the new name to appear everywhere. It's a good idea to restart anyway to make sure the change propagates through all your network connections.

What if my PC name is already taken by another device on my network?

Windows will warn you if you try to use a name that already exists on your network. Choose a different name — duplicate names can cause connection problems. If you're on a work network, your IT department can help you find an available name that follows your organization's naming standards.

Can I change my PC name remotely or from another computer?

On Windows, an administrator can change another computer's name through Remote Desktop or network administration tools, but this requires special setup. For most home users, you'll need to sit at the computer itself to change its name. On Mac, you cannot change another Mac's name remotely without special tools.