User account names appear at the login screen, settings, and at different places in your Windows 11 PC. There are many reasons why you might want to change the user account name. For instance, you recently changed your name and you want to reflect this change in Windows 11 as well or you may want to display your nickname instead of the actual name or you entered your full name during Windows installation or for security reasons.
Whatever your motivation may be, you can easily change your Username in various ways in Windows 11. Since Windows 11 is a new operating system with lots of changes in the user interface, it may be a bit confusing to navigate the settings and change the username. But you can change the user account names in Windows 11 nearly the same ways as you did in Windows 10, 8, or 8.1. Here are the 6 different ways you can change your Username in Windows 11.
You should know that the Computer name is not the same as the Username. The computer name is the name of the device, while the username is the account name you use to sign in to your device. You can create multiple user accounts and name them different for different users or different types of purposes on one device. Also, your username and your computer name should never be the same.
There are two types of accounts in Windows 11. One is a Microsoft user account that is linked to your Microsoft account ID ( (i.e. @hotmail.com, @live.com, @outlook.com, or any variant for a specific country) and synced with other devices and Microsoft apps. The other one is an offline local account that works only on your PC.
Change Your Window 11 Username for Linked Microsoft Account Online
If your device uses a Microsoft account to sign in, you can change your username on Microsoft’s website. For this method to work, you must have signed into the computer with your Microsoft account.
First, open ‘Settings’ and go to the ‘Accounts’ tab on the left pane. Then, click ‘Your info’ on the right pane.
Then scroll down and click on the ‘Accounts’ button under Related settings.
It will open up your Microsoft account on your default browser. There, click ‘Your info’ at the top left corner of the page.
Then, click the arrow button next to your account name.
The Edit name pop-up will appear. Here, change the new account name as needed and fill in the captcha for verification. Then, click the ‘Save’ button.
Now, check if the username change has been applied to the Your info page and restart your system for the change to take effect on the computer.
Change Account Name Using Control Panel on Windows 11
If you want to change the username of the local account, there are several different ways to do it. One of the easiest of those methods is using the Control Panel to change the account name.
Search for ‘Control Panel’ in the Search feature and open it.
Under the User Accounts category, click on the ‘Change account type’ option.
Or, go to User Accounts > User Accounts > Manage another account.
On the next page, you will a list of the local accounts on your computer. Select the account that you want to rename.
Then, click on the ‘Change the account name’ option.
On the Rename Account page, enter the new user account name in the box and click the ‘Change Name’ button to save changes.
Then reboot the system and now the Login screen should display the new username.
Change Account Name via Netplwiz Command
You use the legacy account management tool ‘Advanced User Accounts Control Panel’, also known as the ‘netplwiz’ command to change the username of an account.
Open the Run-dialog box via the shortcut key Windows + R, type netplwiz in run the command and click OK.
This will open the User Accounts dialog window. Under the ‘Users’ tab, you will see the list of the user accounts. Choose the account you would like to rename and click ‘Properties’.
Under the General tab, update the ‘User name:’ field to change the account username. You can also enter the Full name and Description, which are optional. Then, click ‘Apply’ to apply the changes and select ‘OK’.
Click ‘OK’ to close the dialog box. Now the username will be changed.
Change Local Username using Command Prompt in Windows 11
Windows 11 username for a local account can also be changed via the command prompt. Search for ‘cmd’ or ‘Command Prompt’ in the Windows 11 search bar and click ‘Run as administrator’ on the right pane.
Remember, the command prompt must be run as administrator or this won’t work.
If Windows asks permission, click ‘Yes’ to continue.
In the command prompt, type the below command to list all the local user account names including default accounts:
wmic useraccount get fullname, name
Now, run the following command to change the user account name. Replace “Current User Name” with the name of the account you want to change and “New User Name” with the new username you want to give. Also, make sure to put Usernames within double quotes (” “).
wmic useraccount where name="Current User Name" rename "New User Name"
wmic useraccount where name="User 47" rename "Agent 48"
Now, restart your computer to implement the changes.
Change Local Account Username using PowerShell in Windows 11
This is a method preferred by power users, but anyone can use this method to change local account names. Windows PowerShell is more advanced and powerful than the traditional Command Prompt. For those who wish to change username via PowerShell, this is how you do it:
Search for ‘PowerShell’ in the Windows 11 search bar and click ‘Run as administrator’ under Windows PowerShell on the right pane.
Type the below command to list all local user account names on the computer and note the username you want to change:
Now, give the command following to change the account name and replace “Current Username” and “New Username” accordingly, just like in the previous method:
Rename-LocalUser -Name "Current Username" -NewName "New Username"
Rename-LocalUser -Name "Agent 48" -NewName "Hitman"
Now, if you try the first command again, you will notice the username is changed.
Now, reboot your PC to apply the changes.
Change the Name of the Built-in Administrator account using Local Security Policy
When Windows is installed, there are few built-in hidden users accounts (like Administrator, Guest) are created by the Windows for backup and security purposes. The hidden ‘Administrator’ account is the first account created when the operating system is installed, which is a setup and disaster recovery account.
You can change the name of this account using the Local Security Policy.
To do that, search for ‘Local Security Policy’ using Windows 11 search button and open it. Or enter
secpol.msc in the Run command and open it.
In the Local Security Policy, navigate to Local Policies > Security Options.
In the right-side panel, right-click on the ‘Accounts: Rename administrator account’ and select ‘Properties’ or double-click on it.
Now you can change the default ‘Administrator’ account name to any other name you want to use. Then, click ‘Apply’ and select ‘OK’.