How to rename PC on Windows 11

Windows 11 lets you change the computer name in multiple ways, and here's how.

Windows 11 rename PC
Windows 11 rename PC
  • To change the PC name on Windows 11, open Settings > System > About, click “Rename this PC,” confirm a new computer name, and restart.
  • Alternatively, you can use Control Panel, Command Prompt, and PowerShell to rename your PC on Windows 11.

On Windows 11, the ability to change the PC name is not only about personalization. When you have multiple devices (such as desktops and laptops), and if you do not keep them organized, it will be challenging to find them in the network, inventory them, and use certain features.

For instance, most people now use a Microsoft account to sign in to Windows 11. This type of account allows you to sign in to your devices with the same credentials. In addition, it helps to keep an organized inventory (in your Microsoft account) and use features, such as finding your device and re-activate it after a hardware change. If you don’t assign a descriptive computer name, Windows 11 will assign a random name, making it more difficult to organize and use the different features.

In this guide, you will learn the steps to change the name of a Windows 11 laptop, desktop, or tablet using the Settings app, Control Panel, Command Prompt, and PowerShell. (See also this YouTube video tutorial to rename your computer.)

Rename PC on Windows 11

To rename PC on Windows 11, use these steps:

  1. Open Settings on Windows 11.

  2. Click on System.

    Quick tip: Windows 11 also includes a quick “Rename” button on the “System” page’s top-left side.
  3. Click the About tab.

    About page

  4. Under the “Device specifications” section, click the “Rename this PC” button.

    Rename This PC option

  5. Confirm a new name for the computer.

    Windows 11 change PC name

    Quick tip: Avoid any special characters, keep it short (less than 15 characters is always recommended), and don’t leave a space when using multiple words.
  6. Click the Next button.

  7. Click the Restart now button.

Once you complete the steps, the computer will restart to apply the new name on Windows 11.

Rename PC from Control Panel

To rename the computer name with Control Panel on Windows 11, use these steps:

  1. Open Control Panel.

  2. Click on System and Security.

  3. Under the “System” section, click the “Allow remote access” option.

    System options

  4. Click the Computer Name tab.

  5. Click the Change button.

    System properties change option

  6. Confirm a new name for your computer.

    Rename computer on WIndows 11

  7. Click the OK button.

  8. Click the OK button again.

  9. Click the Close button.

  10. Click the Restart Now button.

After you complete the steps, the computer will reboot, and upon restart, it will start using the new name.

Rename PC from Command Prompt

To change your PC name on Windows 11 from Command Prompt, use these steps:

  1. Open Start.

  2. Search for Command Prompt, right-click the top result, and select the Run as administrator option.

  3. Type the following command to determine the current device name and press Enter:

    hostname
  4. Type the following command to rename the Windows 11 PC and press Enter:

    WMIC computersystem where caption='CURRENT-PC-NAME' rename 'NEWPCNAME'

    Windows 11 rename PC with command

    In the command, update your information, and use single quotation marks when specifying the current and new names.[/tbx]

  5. Type the following command to restart the device and press Enter:

    shutdown -r -t 00

Once you complete the steps, the changes will apply after restarting the Windows 11 computer.

Rename PC from PowerShell

To change a Windows 11 PC name with PowerShell, use these steps:

  1. Open Start.

  2. Search for PowerShell, right-click the top result, and select the Run as administrator option.

  3. Type the following command to rename the PC name on Windows 11 and press Enter:

    Rename-Computer -NewName "NEW-PC-NAME"

    PowerShell rename computer command

  4. Type the following command to restart the device and press Enter:

    Restart-Computer

After you complete the steps, Windows 11 will restart the system to apply the new name.

About the author

Mauro Huculak is a Windows expert and the Editor-in-Chief who started Pureinfotech in 2010 as an independent online publication. He's also been a Windows Central contributor for nearly a decade. Mauro has over 12 years of experience writing comprehensive guides and creating professional videos about Windows, software, and related technologies, including Android and Linux. Before becoming a technology writer, he was an IT administrator for seven years. In total, Mauro has over 20 years of combined experience in technology. Throughout his career, he achieved different professional certifications from Microsoft (MSCA), Cisco (CCNP), VMware (VCP), and CompTIA (A+ & Network+), and he has been recognized as a Microsoft MVP for many years. You can follow him on X (Twitter), YouTube, and LinkedIn.