What changing your computer name does

Your computer has a name — a label that identifies it on your network and in system settings. This name appears when you share files with other computers, when you connect to a printer, and when you set up remote access. Changing it is straightforward and takes about five minutes, though you'll need to restart your computer afterward for the change to take effect.

The name you choose is purely for your own organization. It doesn't affect how your computer runs or what software you can use. People often change it to something more descriptive — like "bedroom-laptop" instead of "DESKTOP-A7K9M2" — so they can identify which device is which when multiple computers are on the same network.

Key Takeaways

  • Your computer name is visible to other devices on your network and in your system settings, and you can change it anytime without affecting your files or programs.
  • On Windows, you access the rename option through Settings > System > About, then click "Rename this PC" and restart.
  • On Mac, you go to System Settings > General > About and change the "Computer Name" field, then restart.
  • Computer names can include letters, numbers, and hyphens, but not spaces or special characters like @ or #.
  • After you rename your computer, any shared folders or printers you've set up will still work, but other people may need to re-enter the new name to access them.

Renaming on Windows 11 and Windows 10

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. You'll see your current computer name listed under "Device name." Click the "Rename this PC" button.

A text box will appear with your current name highlighted. Type your new name — you can use letters, numbers, and hyphens, but not spaces or special characters. Click Next, then Restart now. Your computer will restart and the change will take effect when it boots back up.

If you're on Windows 7 or an older version, right-click "This PC" or "My Computer" on your desktop, select Properties, then click "Change settings" next to the computer name. Click Change, enter your new name in the dialog box, and restart when prompted.

Renaming 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 click About. You'll see "Computer Name" at the top of the window — this is the name other devices see on your network.

Click the Computer Name field and type your new name. Press Enter to save. You don't need to restart your Mac for this change to take effect immediately, though you may need to restart if you're also changing your local hostname (which appears in Terminal and is less commonly changed).

What happens to shared files and printers after you rename

If you've shared folders with other computers on your network, those shares will continue to work after you rename. However, other people may see an error the first time they try to access the shared folder because their computer is still looking for the old name. They'll need to disconnect the old share and reconnect using the new computer name.

Network printers connected to your computer will also continue to work. If other people have added your computer as a print server, they may need to remove the old printer and add it again using your computer's new name. Check with anyone who regularly prints through your computer and give them the new name so they can update their settings.

Choosing a name that works across devices

Keep your computer name short and descriptive — something like "living-room-pc" or "work-laptop" is clearer than "DESKTOP-XYZ123" or a name with special characters. Avoid spaces, which can cause problems on some networks. Hyphens and numbers are fine.

If you have multiple computers, naming them by location or purpose makes it much easier to find the right one when you're setting up file sharing or connecting to a printer. Avoid names that are too similar — "laptop1" and "laptop2" are harder to tell apart than "bedroom-laptop" and "office-laptop."

Troubleshooting if the rename doesn't stick

If you renamed your computer but the old name still appears, make sure you actually restarted after making the change. Windows requires a restart for the new name to take effect. If you clicked Rename but closed the dialog without restarting, open Settings again and complete the restart process.

On rare occasions, antivirus software or network management tools can prevent a rename from taking effect. If you're on a work computer managed by your IT department, you may not have permission to change the name — contact your IT support team. If you're on your own computer and the rename still isn't working after a restart, try restarting again or checking Windows Update to see if a pending update is interfering.

Frequently Asked Questions

Can I change my computer name without restarting?

On Mac, yes — the change takes effect immediately. On Windows, you must restart for the new name to take effect on your network and in system settings. You can delay the restart, but the name won't actually change until you do.

What characters can I use in a computer name?

You can use uppercase and lowercase letters, numbers, and hyphens. Do not use spaces, periods, underscores, or special characters like @, #, or $. Most systems accept names up to 15 characters long, though shorter names are easier to type and remember.

If I rename my computer, will I lose my files or programs?

No. Renaming your computer only changes its label on the network. All your files, programs, and settings stay exactly where they are. The change is purely cosmetic from your computer's perspective.

Do I need to tell other people on my network about the new name?

Only if they regularly access shared folders or printers on your computer. They'll need the new name to reconnect. If you're just renaming for your own organization and nobody else accesses your computer, you don't need to notify anyone.

Can I change my computer name back to the original?

Yes, anytime. Follow the same steps and type your old name, or any new name you prefer. There's no limit to how many times you can rename your computer.