How to Change the Name of Your PC (Windows 10 & 11)

Renaming your PC takes less than two minutes, but the steps vary slightly depending on your version of Windows — and there are a few things worth knowing before you do it, especially if your machine is part of a network or domain.

Why Your PC Has a Name (and Why It Matters)

Every Windows computer is assigned a name during setup — usually something generic like DESKTOP-A3F7K2 or LAPTOP-8BXQ91. This name is called the hostname or computer name, and it serves as your machine's identity on a local network.

When you're on a home Wi-Fi network, your PC's name is what shows up when other devices try to browse shared folders or printers. On a workplace network, IT administrators use it to manage devices remotely. It's also visible in Windows settings, system info panels, and sometimes in file-sharing prompts.

Changing it doesn't affect your files, apps, or user accounts. It's purely an identity change — more like giving your machine a nickname than performing surgery on it.

How to Rename Your PC in Windows 10 and Windows 11

Method 1: Settings App (Recommended)

This is the cleanest route for most users.

  1. Open Settings (Win + I)
  2. Go to System → About
  3. Click Rename this PC
  4. Type your new name and click Next
  5. Choose Restart now or Restart later

The rename doesn't take effect until the PC restarts. You can keep working and restart when it's convenient.

Method 2: System Properties (Classic Route)

If you're on an older build or prefer the legacy interface:

  1. Press Win + R, type sysdm.cpl, and hit Enter
  2. Under the Computer Name tab, click Change…
  3. Enter the new name in the Computer name field
  4. Click OK and restart when prompted

This method also lets you change your workgroup name at the same time — useful if you're setting up a small home network where multiple PCs need to see each other.

Method 3: Command Prompt or PowerShell

For users comfortable with the command line — or anyone managing multiple machines:

Using PowerShell:

Rename-Computer -NewName "YourNewName" -Restart 

The -Restart flag triggers an immediate reboot. Leave it off if you want to restart manually later.

Using Command Prompt (WMIC):

wmic computersystem where name="%computername%" call rename name="YourNewName" 

Note: WMIC is deprecated in newer Windows builds. PowerShell is the more future-proof option.

Naming Rules: What Windows Will and Won't Accept

Windows isn't completely flexible about computer names. A few constraints apply:

RuleDetail
LengthMaximum 15 characters
Allowed charactersLetters (A–Z), numbers (0–9), hyphens (-)
Not allowedSpaces, underscores, special characters (!, @, #, etc.)
Case sensitivityNames are not case-sensitive on the network
Starting characterCannot start with a hyphen or number (best practice)

The 15-character limit comes from the NetBIOS naming standard, which Windows networking still relies on for backwards compatibility. Even if the Settings app accepts a longer name, network visibility may break beyond 15 characters. 🖥️

Domain-Joined PCs: An Important Distinction

If your computer is joined to a Windows domain — common in corporate or school environments — renaming it isn't purely a local action. Domain names are registered with a domain controller, so:

  • You'll typically need admin credentials to rename a domain-joined PC
  • The new name needs to be updated in Active Directory by your IT team
  • Renaming incorrectly can temporarily break network authentication or Group Policy application

On a workgroup setup (standard for home users), none of that applies. You're free to rename at will.

What Changes — and What Doesn't

This is where people sometimes get confused. Here's a clear breakdown:

What changes after renaming:

  • The name shown in Settings → System → About
  • The name visible to other devices on your local network
  • The hostname used in PowerShell and Command Prompt ($env:COMPUTERNAME)
  • The name shown in remote desktop connection screens

What stays the same:

  • Your user account name and profile folder
  • Installed apps and their settings
  • Windows activation status
  • All files, documents, and data
  • Wi-Fi, Bluetooth, and network adapter settings

Renaming a PC does not reset or modify your Microsoft account, local user accounts, or any stored passwords.

Variables That Affect Your Experience

The process above is straightforward for most home users, but a few factors can change what you need to do:

  • Network environment: Home workgroup vs. corporate domain requires different levels of access and coordination
  • Windows version: Windows 10 and 11 both support all three methods above; Windows 7 and 8 use System Properties only
  • Admin rights: You need a local administrator account to rename the PC — standard user accounts won't have the option
  • Remote management: If your machine is managed by MDM software (like Microsoft Intune or a third-party endpoint tool), renaming it locally may conflict with how it's tracked in that system

For a home laptop used solo, renaming is trivial. For a machine on a managed corporate network, the right approach depends on how your organization handles device identity — and that's a question your setup, not a general guide, can fully answer.