Personalization

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
  • To change the PC name on Windows 11, open Settings > System > About.
  • Then click the “Rename this PC” button, rename the computer and restart.
  • Alternatively, you can use Control Panel, Command Prompt, and PowerShell to rename your PC.

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 do not keep them organized, it will be challenging to find them in the network, inventory them, and use certain features.

For example, 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 find your device and re-activate a copy of Windows 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 from Settings, 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 top-left side.
  3. Click on About on the right side.

    About page

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

    Rename This PC option

  5. Enter a new name for the computer.

    Windows 11 change PC name

    Quick tip: Try to 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. Specify 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 using 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, make sure to update your information, and you should 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 to apply the new name.