Skip to content
Follow
Windows

How to Rename Your Windows 11 Computer

Richard
Written by
Richard
Jan 27, 2026 Updated Oct 4, 2026 6 min read
How to Rename Your Windows 11 Computer
How to Rename Your Windows 11 Computer

Renaming your Windows 11 computer changes the network name that identifies your PC on a shared home network or router. The change takes less than two minutes. It makes your device easy to spot when you share files or connect printers, and it doesn’t touch your installed apps, files or user accounts.

Advertisement

You need an administrator account on your PC to make this change. If you are signed in with a standard account, Windows will ask for an administrator password. On a work or school PC, your organization may block renaming, so check with your IT team first.

⚡ Quick Answer

Open Settings , press Win+I, click the Rename this PC button at the top of the Home page, type your new name using letters, numbers and hyphens only (no spaces, 15 characters maximum), click Next, and restart your computer. The new name appears after the restart.

Advertisement

Why Rename Your Computer?

Changing your computer’s name helps you:

  • Make your device feel more personal, instead of keeping a default name like DESKTOP-ABC123
  • Find your PC easily on a home or work network, in your router’s device list and in file-sharing and printer dialogs
  • Stay organized if you have multiple computers, for example by naming them Office-PC, Kitchen-Laptop and so on

Method 1Rename Your Computer Using Settings

The Settings app is the easiest method and the one most people should use. Press the Win plus I to open Settings . Your current device name is shown at the top of the Home page, with a rename link underneath it. Click it, type your new name, click Next, and restart your PC to finish the change.

  1. Click the Start menu (Windows icon on the taskbar ) and select Settings. Or press Win+I to open Settings right away. The Settings window opens on the Home page.
  2. Look at the top of the Home section. You will see your PC’s picture and its current computer name.
  3. Click the Rename this PC button or link below the name. On some builds the link on the Home page is labeled Rename. You can also find the same button in Settings System About If the button is greyed out or missing, you are probably not signed in as an administrator.
  4. Type your new computer name in the small window that pops up. Use letters, numbers and hyphens only, with no spaces or special characters. Keep it to 15 characters or fewer, and don’t use only numbers, because Windows can reject those.
  5. Click Next. Windows then asks whether to restart now or later. Choose Restart now after saving any open work. The new name only applies after the restart. If you pick Restart later, the old name stays until you restart.

After the restart, go back to Settings and check that the new name appears at the top of the Home page. To undo the change, repeat these steps and enter the old name. Your router may keep showing the old name for a few minutes until it refreshes its device list.

Rename Windows 11 computer
Rename Windows 11 computer

Advertisement
Type computer new name
Type computer new name

Method 2Rename Using System Properties

System Properties is the classic control panel dialog, and it works the same on Windows 11 Home and Pro. Press the Windows key plus R to open the Run dialog box, type the command shown in the steps below, and press Enter. Open the Computer Name tab, click Change, type your new name and click OK.

  1. Press Windows key + R on your keyboard. The Run box appears in the bottom-left corner of the screen.
  2. Type sysdm.cpl in the Open field and press Enter. This opens the System Properties window.
  3. Click the Computer Name tab if it's not already selected. You will see your current name next to "Full computer name".
  4. Click the Change... button. If a User Account Control prompt appears, click Yes. The button needs administrator rights.
  5. Enter your desired computer name in the Computer name box of the new window. Use letters, numbers and hyphens only, and avoid spaces.
  6. Click OK. Windows tells you that you must restart to apply the change. Click OK on that message, then close all the open windows.
  7. Restart your computer to save the changes. Windows may offer a restart prompt when you close System Properties. If it does, save your work first and choose to restart.

To undo the change, reopen the same window, click Change again, enter the old name and restart.

System Properties Window
change windows computer

Advertisement
Change computer name button
change windows 11 computer name

Type new computer name
windows 11 computer name change

Method 3Rename Using Command Prompt

📝Good to KnowCommand Prompt is useful if you want a quick rename without clicking through dialogs.

You need administrator rights. Open Command Prompt as administrator, type the rename command with your old and new names, and press Enter to update your system hostname. Then restart the PC.

  1. Click the Start button and type Command Prompt. The app appears at the top of the search results.
  2. Admin privileges are required. Right-click Command Prompt in the search results and choose Run as administrator. Click Yes if User Account Control asks for permission. The window title should now start with "Administrator".
  3. Type the following command. Replace Old_Name with your current PC name and New_Name with the new name you want:

    Rename-Computer -NewName "New_Name"

    Advertisement
  4. For example, if your old name is DESKTOP-ABC123 and you want to rename it to MyPC, type:

    Rename-Computer -NewName "MyPC"

  5. Press Enter. If it works, you'll see a message saying the rename was successful. If you get an error or the command isn't recognized, check the spelling of the old name, or use the PowerShell method below instead.
  6. Restart your computer to apply the new name. The old name stays in use until you do.

If you are not sure of your current PC name, check it in Settings System About before you type the command. To undo the change, run the command again with the names swapped.

Command Prompt as Administrator
windows 11 command prompt administrator

Method 4Rename Using PowerShell

PowerShell has a built-in rename command that is shorter than the Command Prompt version, because you don't need to type the old name. Open PowerShell as administrator, run the command with your preferred computer name and press Enter. You must restart your PC afterward for the new name to take effect.

Advertisement
  1. Click the Start button and type PowerShell. Windows PowerShell appears in the search results.
  2. Admin privileges are required. Right-click Windows PowerShell and select Run as administrator. Click Yes if User Account Control asks for permission. A blue window opens, and its title bar should show "Administrator".
  3. Type this command. Replace NewName with the name you want:

    Rename-Computer -NewName "NewName"

  4. Here is an example of the command with a real name filled in:

    Rename-Computer -NewName "MyNewPC"

  5. Press Enter. PowerShell may print a warning that the change takes effect after a restart. That is normal. Then restart your computer for the change to take effect.

To undo the change, run the same command with your old name and restart again.

PowerShell as Administrator
windows 11 powershell run as administrator

Advertisement

Summary

Renaming your Windows 11 computer makes the device much easier to spot on a home network and gives your hardware an identity you choose. Pick the method that fits your comfort level: the modern Settings app, the classic System Properties dialog, or the command-line tools. All of them give the same result.

Why this matters: Renaming your computer makes it recognizable on a local network, in your router's device list and in file-sharing and printer dialogs, and it gives the hardware a personalized identity.

⚠️WarningWhat you need to do: Pick the renaming approach that fits your workflow, and sign in with an administrator account.

Every method requires a system restart before the new hostname takes effect, so save your work first.

Enjoy your newly named computer!

Was this guide helpful?

Tags: #Windows 11
Was this helpful?
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard is a writer at Geek Rewind who turns complex IT tasks into clear, step-by-step guides. He draws on years of hands-on experience in system administration and enterprise IT operations, focusing on Windows, Linux and WordPress: the problems people actually run into, and the fixes that work. His server and WordPress guides come from systems he runs himself. Richard builds and maintains the platform behind Geek Rewind, from its Ubuntu servers and Nginx configuration to its custom WordPress plugins. Many new tutorials start with readers' questions, and he's always glad to answer them in the comments.

Advertisement

📚 Related Tutorials

How to Rename Bluetooth Devices in Windows 11
Windows How to Rename Bluetooth Devices in Windows 11
How to Find Your Lost Windows 11 Device
Windows How to Find Your Lost Windows 11 Device
How to Lock Your Windows 11 Device Remotely
Windows How to Lock Your Windows 11 Device Remotely
How to Find Your Computer Name in Windows 11
Windows How to Find Your Computer Name in Windows 11

No comments yet — be the first to share your thoughts!

Leave a Comment

Your email address will not be published. Required fields are marked *