Windows 11 Logo with Wallpaper

By default, Windows 11 automatically assigns a random name to your PC. If you’d like to change this name to your liking, there are both graphic and command-line ways to do so. We’ll show you both.

It’s important to assign a unique name to your PC, especially if it’s connected to a network. This makes it easier to find your PC on a network with several other machines. Your PC’s name also appears in system information as well as in the devices list on the Microsoft site.

Changing your PC’s name to something that you can easily recognize ensures that your PC is always identifiable.

RELATED: How to Turn Off Transparency in Windows 11

Use a Graphical Method to Change Your Windows 11 PC Name

The graphical method uses Windows 11’s built-in Settings app to change your PC’s name.

To start, open the Settings app on your PC. Do this by pressing the Windows+i keys at the same time.

Advertisement

In Settings, from the sidebar to the left, select “System.”

Select "System" in Settings on Windows 11.

On the “System” page, scroll all the way down the right pane and select “About.”

Select "About" in "System" settings on Windows 11.

On the “About” screen that opens, from the top-right corner, choose “Rename this PC.”

Select "Rename this PC" on the "About" screen in Windows 11's Settings app.

A window with the title “Rename Your PC” will open. In this window, click the text field and enter a new name for your PC. Then, at the bottom of the window, click “Next.”

Enter a new PC name and click "Next."

On the next screen of the “Rename Your PC” window, click “Restart Now” to restart your PC. This will bring your PC’s new name into effect. You can click “Restart Later,” but in that case, your PC won’t use the new name until you reboot it.

Click "Restart now" to reboot the PC.

When your PC restarts, it will be using the newly specified name. You can confirm this by heading into Settings > System. At the top of the “System” page, you’ll see your PC’s new name.

PC name in Windows 11's Settings app.

Use a Command-Line Method to Change Your Windows 11 PC Name

If you prefer command-line methods, there’s a command to change your PC’s name from Command Prompt.

Advertisement

To use this method, open the “Start” menu and search for “Command Prompt.” On the right of the search results, in the “Command Prompt” section, click “Run as Administrator.”

Click "Run as administrator" for Command Prompt in the Start menu.

In the “User Account Control” prompt that opens, select “Yes.”

On the Command Prompt window, type the following command, replacing NewPCName with the new name for your PC, and then press Enter:

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

Change Windows 11's PC name from Command Prompt.

Command Prompt will display a “Method Execution Successful” message. This confirms that your PC’s name was successfully changed.

PC name changed from Command Prompt on Windows 11.

To bring your PC’s new name into effect, restart your PC. Do this by typing the following command in Command Prompt and pressing Enter:

shutdown /r

Restart PC from Command Prompt on Windows 11.

Advertisement

And that’s how you assign a custom name to your Windows 11 PC!

In case you’re using Windows 10, you can change the name of your PC, too.

RELATED: Change Your Computer Name in Windows 7, 8, or 10

Mahesh Makvana Mahesh Makvana
Mahesh Makvana is a freelance tech writer who specializes in writing how-to guides. He has been writing tech tutorials for over a decade now. He’s written for some of the prominent tech sites including MakeUseOf, MakeTechEasier, and Online Tech Tips.
Read Full Bio »

The above article may contain affiliate links, which help support How-To Geek.