How to Change Your PC Name in Windows 10

Last updated on November 9th, 2026 at 02:13 pm

To change your PC name in Windows 10, select Start > Settings > System > About, then select Rename this PC. Type a new name, select Next, and restart your PC when asked.

The new name shows on your network, in Bluetooth lists, and in Remote Desktop. It doesn’t change your user account name. Other devices may show a full network name; finding a computer or server name explains where to look.

Applies to: Windows 10. You need an administrator account.

Find your PC’s current name

Check the current name before you change it. Any of these shows it:

  • Settings: select Start > Settings > System > About. The name is next to Device name.
  • Keyboard shortcut: press Windows logo key + Pause to jump straight to the About page. On laptops without a Pause key, use the Settings route instead.
  • File Explorer: right-click This PC in the left pane and select Properties.
  • Command Prompt: type hostname and press Enter.
  • System Properties: press Windows logo key + R, type sysdm.cpl, and press Enter. The name is on the Computer Name tab.

Rename your PC in Settings

  1. Select Start > Settings > System.
  2. Scroll down the left side and select About.
  3. Under Device specifications, check the current Device name, then select Rename this PC.
Windows 10 About settings with the device name and the Rename this PC button highlighted
Check the current device name (1), then select Rename this PC (2).
  1. Type the new name and select Next.
Windows 10 Rename your PC dialog with a new name typed and the Next button highlighted
Type the new name (1), then select Next (2).
  1. Select Restart now, or Restart later if you want to save your work first. The name changes after the restart.

Should my PC name include my full name?

It’s better not to. Other people on public Wi-Fi or a shared network may see it. A first name or a description, such as KITCHEN-PC, is enough.

Naming rules

  • Use up to 15 characters.
  • Use letters, numbers, and hyphens. No spaces or symbols such as @, #, or &.
  • Don’t use only numbers.
  • Give every PC on your network a different name, such as ALEX-LAPTOP and ALEX-DESKTOP.

Rename your PC in System Properties

  1. Press Windows + R, type sysdm.cpl, and press Enter.
  2. On the Computer Name tab, select Change.
  3. Type a new Computer name, select OK, and restart.

This window also lets you join a workgroup or domain.

Rename your PC with PowerShell

  1. Right-click Start and select Windows PowerShell (Admin).
  2. Type Rename-Computer -NewName "ALEX-LAPTOP" -Restart and press Enter.

The PC restarts right away with the new name, so save your work first.

Why does my PC name look like DESKTOP-7X2K9QF?

Windows gives new PCs a random name. Rename it to something easy to spot, such as ALEX-LAPTOP.

With the new name in place, you can set up Remote Desktop and connect to this PC by name, or find its IP address to connect by address. Extra PowerShell options are listed under Rename-Computer.

Want the name on the sign-in screen changed instead? Change your account name.

What changes and what doesn’t

  • Changes: the name other PCs, printers, and Bluetooth devices see, and the name in your Microsoft account device list.
  • Doesn’t change: your user account name or your user folder, such as C:\Users\Alex.

Update things that use the old name

  • Mapped network drives and shortcuts: on other PCs, anything that points to \\OLD-NAME needs to be mapped again with the new name.
  • Remote Desktop: saved connections to this PC use the old name. Edit them to use the new one.
  • Printers and apps that share files: some may need to find the PC again on the network.
  • Microsoft account: the new name can take a little while, sometimes a day or so, to appear in your account’s device list at account.microsoft.com and in Find my device.

Check the name from Command Prompt

Type hostname and press Enter to see the PC’s current name. echo %COMPUTERNAME% shows the same thing. Use this after the restart to confirm the change worked. If it still shows the old name, restart once more.

If you can’t rename your PC

  • Rename this PC is grayed out: sign in with an administrator account.
  • Work or school PC: your organization may manage the name. Ask your IT team.
  • The old name still shows on the network: restart the PC, and give your router a few minutes to update.