The quickest way to change your computer name
Open the Settings app by pressing the Windows key and typing "Settings," then select it from the results. Go to System, then About on the left side. Look for the section labeled "Device name" and click the Rename this PC button. Type your new name (up to 63 characters, letters and numbers only), click Next, then Restart now when prompted. Your computer will restart and the change takes effect.
The entire process takes about five minutes, including the restart. You do not need administrator permission if you are the account owner, though Windows will ask you to confirm the change before restarting.
Key Takeaways
- The Settings app is the fastest route: System > About > Rename this PC, then restart your computer.
- Computer names can contain letters, numbers, and hyphens, but not spaces or special characters like @, #, or &.
- The change takes effect only after you restart—the old name will still appear until then.
- If you cannot find the Rename button, check that you are logged in with an administrator account.
What characters are allowed in a computer name
Windows accepts letters (A–Z, a–z), numbers (0–9), and hyphens (-) in computer names. The name must be between 1 and 63 characters long. Spaces, periods, underscores, and special characters like @, #, $, %, and & will cause an error message.
If you try to use a forbidden character, Windows will display a red warning and prevent you from clicking Next. Choose a name that is straightforward to remember and identifies the computer's purpose or location—for example, "Office-Laptop" or "Bedroom-Desktop" work well, but "Office Laptop" or "Office.Laptop" will not.
Using System Properties if Settings does not work
If the Rename button does not appear in Settings, you can change the name through System Properties instead. Right-click This PC on your desktop or in File Explorer, select Properties, then click Advanced system settings on the left side. In the window that opens, click the Change button under "Computer name, domain, and workgroup settings."
Type your new name in the "Computer name" field, click OK, then click OK again. Windows will ask you to restart. This method works the same way as Settings and produces the same result—it is just an older interface that some users find easier to navigate.
Restarting your computer to complete the change
Windows will not explore the new name until you restart. When you click Restart now in Settings or System Properties, save any open work first—the restart happens when ready, not after a delay. If you click Restart later, the change will not take effect until the next time you manually restart your computer.
After the restart, your new computer name appears in File Explorer, in the network list, and in Settings under System > About. Other computers on your network will also see the new name when they browse shared files or printers.
Why you might want to change your computer name
The default Windows name is usually a string of letters and numbers that is hard to remember. Changing it to something meaningful makes it easier to identify your computer on a network, especially if you have multiple devices at home or in an office. A clear name also helps when troubleshooting network problems or sharing files with others.
If you are setting up a new computer or inheriting one from someone else, renaming it to match your workflow or location is one of the first steps many people take. There is no performance penalty for changing the name—it is purely for organization and clarity.
What happens to files and programs after a name change
Changing your computer name does not affect your files, programs, or settings. Everything you have installed and saved remains exactly where it is. Your user account, passwords, and desktop all stay the same. The only thing that changes is the label Windows uses to identify your computer on the network and in system information.
If you use cloud storage like OneDrive or sync files across multiple devices, those services will continue to work normally. Network printers and shared folders may take a few minutes to recognize the new name, but they will reconnect automatically without any action on your part.
Troubleshooting if the rename fails
If you see an error message saying the name is already in use, choose a different name—another computer on your network has that name. If the Rename button is grayed out or missing, make sure you are logged in with an administrator account. Right-click the Settings app and select "Run as administrator" if you are unsure.
If the restart completes but the old name still appears, wait a few minutes and check again. Sometimes Windows takes time to update the display across all system areas. If the old name persists after 10 minutes, restart your computer again. If you still see the old name after a second restart, try the System Properties method instead—it occasionally works when Settings does not.
Frequently Asked Questions
Can I use spaces or special characters in my computer name?
No. Windows only allows letters, numbers, and hyphens. Spaces, periods, underscores, and symbols like @ or # will trigger an error. If you want to separate words, use a hyphen instead—"My-Computer" works, but "My Computer" does not.
Do I have to restart when ready after changing the name?
Yes, the new name does not take effect until you restart. You can click "Restart later" and restart whenever you are ready, but the change will not appear in Settings or on your network until after the restart happens.
Will changing my computer name affect my files or programs?
No. Your files, installed programs, user account, and all settings remain unchanged. Only the label Windows uses to identify your computer on the network changes. Cloud storage and network services will continue to work normally.
What if two computers on my network have the same name?
Windows will show an error message and prevent you from using that name. Choose a different name that is unique on your network. If you do not know what other computers are named, pick something specific to your device, like "Bedroom-Laptop" or "Office-Desktop."
Why does the Rename button not appear in my Settings?
You may not be logged in with an administrator account. Try right-clicking the Settings app and selecting "Run as administrator," then navigate back to System > About. If that does not work, use the System Properties method instead by right-clicking This PC and selecting Properties.