The Categorizer

the categorizer logo

How To Rename Your PC in Windows 11 (All Ways)


The Computer Name is used to recognize other computers on a network and identify BlueTooth, Hotspot, and other connections using the host’s name (computer name).

Once the computer name is assigned, and Bluetooth is turned on, the same device name will be displayed. It’s difficult to recollect the random name assigned to the device, so it’s always recommended to assign it a simple and easy name.

change computer name in windows

It appears that you messed up while installing Windows 11 by assigning your computer an arbitrary name and now you want it to be corrected. By the end of this article, you’ll be able to rename your computer:


Step 1: Open the Windows Settings from the Start menu or press the “Windows logo key + I” key combination on the keyboard.

windows setting app in windows 11
Windows Settings App

Step 2: Select the ‘System‘ option from the left sidebar, scroll and click the ‘About‘ option.

click the system button and select the About option in windows settings
About Option

Step 3: Click the “Rename this PC” option and a dialog box will appear.

rename this pc option
Rename This PC

Step 4: Enter the new PC name that you want to be displayed.

add new pc name and press the next button to save changes
New PC Name

Step 5: Restart your device to make changes take effect.

restart device to make changes take effect in windows
Restart the Device

Step 1: Run the Command Prompt as an administrator from the Start menu.

command prompt icon in windows 11
Command Prompt (CMD) Icon

Step 2: To show the current PC name, type the command: hostname.

show current pc name in windows using command prompt (cmd)
Command to Show Current PC Name in Windows

Step 3: Copy and Paste the following command to and replace the current_pc_name with your device’s current name obtained from the previous command (in step 2) and new_pc_name with the new name.

WMIC computersystem where caption=’current_pc_name’ rename new_pc_name

command to rename pc in windows
Command To Rename PC

Step 4: Restart your computer to make the changes take effect.

restart device to make changes take effect in windows
Restart the Device

Step 1: Open the Control Panel from the Start menu.

control panel icon in windows 11
Control Panel Icon

Step 2: In the search bar, search for “Rename“, select the Rename this Computer” option, and click the “Change” button.

select the rename this computer option and click change button
Press the “Change” button

Step 3: Add the new Computer name and press the “OK” button.

rename the computer and press the ok button
Rename and Press the “OK” Button

Step 4: Restart your device to make changes take effect and the next time you log in to your device, the new name will be displayed.

restart device to make changes take effect in windows
Restart the Device

Step 1: Run the PowerShell as an administrator from the Start menu.

powershell app icon in windows 11
PowerShell App Icon

Step 2: Copy and Paste the following command and Replace the PC Name with the new name you wish to assign to the computer, and also replace LocalUsername with a local user account name.

Rename-Computer -NewName PCName -LocalCredential LocalUsername -PassThru

Step 3: Restart your computer to make changes take effect properly.

restart device to make changes take effect in windows
Restart the Device

In this article, we’ve covered how to change the computer name in Windows 11. There’s no specific limit on how many times we can rename the computer. We may rename the PC at any moment based on our requirements.

Do remember that when you alter the computer’s name and switch on the Bluetooth or hotspot, your device will be visible to other devices by the computer name you’ve set.


Related Articles

how to change sign in account name in windows

Change Account Username in Windows

Have you randomly set the account name for your primary machine? Learn how to change the account name in Windows.

how to find product key in windows 11

Find Product Key in Windows 11

Perform a security check whether or not your version of Windows is totally original or not.

how to hide taskbar automatically in windows 11

How To Hide Taskbar in Windows

Hide the taskbar in Windows when not in use and increase your screen size by some extra pixels.

how to clear cache in windows 11

Completely Clear Cache in Windows

Clear up the cache in Windows to free up some storage on your computer and ensure that the webpages you’re visiting are up-to-date.

Take a Minute to Share This Article.
How To Disable Widgets in Windows 11 (All Ways)