Direction Software

Windows System / / 6 min

Give Your Windows PC a Clear, Useful Name

Renaming a Windows computer makes it easier to identify on a home network, at work, in remote-management tools, and when sharing files or printers. This guide explains how to change a PC name through Windows Settings, the classic System Properties dialog, Command Prompt, and PowerShell. It also covers administrator permissions, practical computer-name rules, what changes after a restart, and common troubleshooting steps when a new name does not appear on the network. The instructions are designed for current Windows 11 and Windows 10 installations, with notes on managed work or school devices.

A descriptive computer name is more useful than the generic label assigned during setup. It helps you recognize the right device in File Explorer, on a router’s connected-device list, in Remote Desktop, and in technical support tools. Windows lets you rename a computer in several ways, from a straightforward Settings page to command-line tools suited to administrators. In most cases, the new name becomes fully active after a restart.

Before You Change the Computer Name

Changing a computer name does not alter your personal files, installed applications, Microsoft account, or Windows license. It changes the device identity that Windows presents locally and across many networks. On a personal PC, this is usually a simple task. On a company, school, or domain-joined device, an administrator may control naming policies or need to approve the change.

Choose a name that is easy to recognize

Use a short, meaningful label that identifies the device without exposing unnecessary personal information. For example, JAMIE-LAPTOP, HOME-DESKTOP, or STUDIO-PC are clearer than a random factory-style name.

  • Keep the name reasonably short; Windows commonly supports up to 15 characters for broad network compatibility.
  • Use letters, numbers, and hyphens for the safest results.
  • Avoid spaces, punctuation, and special characters if the PC connects to older devices or business networks.
  • Do not use a name already assigned to another computer on the same local network.
  • For work devices, follow your organization’s asset-naming convention.

A computer name is not a security boundary. It can make devices easier to identify, but it does not replace strong account passwords, disk encryption, current updates, or secure network settings.

Compare the Available Renaming Methods

All of the methods below change the same underlying Windows computer name. The best option depends on whether you prefer a graphical interface or need to automate the task.

MethodBest forWhat you needRestart required
SettingsMost home usersAdministrator accessYes
System PropertiesUsers familiar with classic Windows toolsAdministrator accessYes
Command PromptScripts and remote administrationElevated Command PromptUsually yes
PowerShellAdministrators and automationElevated PowerShellUsually yes

Rename Your PC Through Windows Settings

Settings is the easiest route on current Windows 11 and Windows 10 systems. The wording and page layout can vary slightly between releases, but the process is essentially the same.

  1. Open Start, then select Settings.
  2. In Windows 11, open System and select About. In Windows 10, select System, then About.
  3. Find and select Rename this PC.
  4. Enter the new computer name. Use a clear name made of letters, numbers, and hyphens.
  5. Select Next. If Windows asks for administrator credentials, provide them.
  6. Choose Restart now, or select the option to restart later and save your work first.

After the restart, return to Settings > System > About to confirm that the new device name is displayed. The old name may remain visible temporarily in some routers, network lists, or cached remote-access records until they refresh.

Use the Classic System Properties Dialog

The classic dialog is useful if you work with older Windows workflows or need to review domain and workgroup information at the same time. It is available in both Windows 10 and Windows 11.

Steps for System Properties

  1. Press Windows key + R to open the Run dialog.
  2. Type sysdm.cpl and press Enter.
  3. Select the Computer Name tab.
  4. Select Change.
  5. Type the new name in the Computer name box.
  6. Select OK to apply the change, then confirm any prompts.
  7. Restart Windows when prompted.

This dialog also shows whether the computer belongs to a workgroup or a domain. Do not change domain membership simply to rename the PC. If the device is joined to an organizational domain, consult the IT administrator before making changes; domain policies can override or restrict local choices.

Rename a Computer with Command Prompt or PowerShell

Command-line options are helpful for advanced users, remote support, and repeatable deployment tasks. Run the terminal as an administrator: search for Command Prompt or Windows PowerShell, then select Run as administrator.

Command Prompt method

In an elevated Command Prompt, replace NEW-PC-NAME with your chosen name:

wmic computersystem where name="%computername%" call rename name="NEW-PC-NAME"

Restart the computer after a successful command. WMIC is a legacy utility and may not be installed or enabled on every modern Windows installation, so PowerShell is generally the more future-friendly command-line choice.

PowerShell method

In an elevated PowerShell window, run:

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

The -Restart parameter restarts the PC automatically after the name change. To rename it without an immediate restart, omit that parameter and restart manually later. On a managed device, PowerShell may return an access or policy error; that usually means the action requires organizational approval.

Confirm the Change and Refresh Network Connections

Once Windows restarts, verify the result locally before relying on the new name for file sharing or remote access. Open Settings > System > About, or open Command Prompt and run hostname. The displayed value should match the name you chose.

If another device still sees the old name, try these practical checks:

  • Restart the router or wait for its device list to refresh.
  • Disconnect and reconnect the affected PC to Wi-Fi or Ethernet.
  • Restart the other computer that is searching for the device.
  • Use the PC’s current IP address temporarily if a network share or Remote Desktop connection cannot find the new hostname.
  • Check that Network Discovery and file-sharing settings are appropriate for your trusted private network.

Network name resolution can take time because routers, DNS services, and other devices may cache the previous computer name. A restart of the PC is essential, but it does not force every device on the network to update instantly.

Common Problems and Safe Fixes

The Rename Option Is Missing or Grayed Out

Sign in with an administrator account, then try again. If the PC belongs to an employer or school, mobile-device management or domain policy may block renaming. Contact the organization’s IT team rather than attempting to bypass its controls.

Windows Rejects the Name

Remove spaces and special symbols, shorten the name, and try a format such as OFFICE-PC-2. Also make sure there is no duplicate name on the same network. A duplicate can cause confusing file-sharing, discovery, and remote-connection behavior.

Remote Desktop or Shared Folders Stop Working

Update saved connections to use the new computer name, or use the device’s IP address while name resolution catches up. Confirm that the remote PC is turned on, connected to the same network when applicable, and configured to allow the intended sharing or Remote Desktop connection.

References

Also in

About the author

Stefano BarcellosEditor in chief

Journalist and editor. Writing about technology, culture and everyday life for over a decade.