Personalization

How to change PC name on Windows 11

Windows 11 lets you change the computer name via Settings, Control Panel, PowerShell, and Command Prompt, and here's how.

Windows 11 rename PC

On Windows 11, the ability to change the PC name is not only about personalization. If you have multiple devices (such as desktops and laptops) and you do not keep them organized, it will not only be difficult to find them in the network but also to inventory them and take advantage of additional features.

For example, most people now use a Microsoft account to sign in to Windows 11. This is the type of account that allows you to sign in to all your devices with the same credentials. Plus, it helps to keep an organized inventory (in your Microsoft account) and use features like the one to find your device and re-activate a copy of Windows after a hardware change. If you do not name a computer accordingly, Windows 11 will assign a random name, which will make 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.)

Change PC name via Settings on Windows 11

To rename a Windows 11 PC using the Settings app, use these steps:

  1. Open Settings on Windows 11.

  2. Click on System.

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

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

    Rename This PC option
    Rename This PC option
  5. Specify a new name for your computer.

    Windows 11 change PC name
    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, and it will apply the new name.

Change PC name via Control Panel on Windows 11

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
    System options
  4. Click the Computer Name tab.

  5. Click the Change button.

    System properties change option
    System properties change option
  6. Specify a new name for your computer.

    Rename computer on WIndows 11
    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.

Change PC name via Command Prompt on Windows 11

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
    Command Prompt rename PC

    In the command, make sure to update your information, and you should use single quotation marks when specifying the current and new name.[/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.

Change PC name via PowerShell on Windows 11

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
    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 changes.