How to Change User Name of an Account in Windows 10
The user name of an account is used to identify the account in Windows. For example, on the sign-in screen.
This tutorial will show you how to change the name of any local account or your Microsoft account in Windows 10.
You must be signed in as an administrator to change the name of a local account.
Changing the name of an account will not change the name of its profile folder (ex: "C:\Users\Brink2").
User names can't contain the following characters: / \ [ ] " : ; | < > + = , ? * % @
Contents
- Option One: To Change Name of your Microsoft Account Online at Microsoft
- Option Two: To Change Name of a Local Account in Control Panel
- Option Three: To Change Name of a Local Account in Local Users and Groups
- Option Four: To Change Name of a Local Account in netplwiz
- Option Five: To Change Name of a Local Account in Command Prompt
- Option Six: To Change Name of a Local Account in PowerShell
- Option Seven: To Change Name of Built-in Administrator account in Local Security Policy
This will affect the name of your Microsoft account on any device that you sign in with the same Microsoft account.
1 Go to the "Your info" page on the Microsoft account website, and sign in to your Microsoft account if not already.
2 Click/tap on the Edit name link under your current name. (see screenshot below)
3 Type a new First name and Last name you want as the display name for your Microsoft account, enter the characters you see to verify, and click/tap on Save. (see screenshot below)
4 Your Microsoft account's name will now be changed. (see screenshot below)
5 While connected to the Internet, sign out and sign in to your Microsoft account on your Windows 10 PC to apply.
1 Open the Control Panel (icons view), and click/tap on the User Accounts icon.
2 Click/tap on the Manage another account link. (see screenshot below)
3 Click/tap on a local account (ex: "Brink2") you want to change the name of. (see screenshot below)
4 Click/tap on the Change the account name link. (see screenshot below)
5 Type a new account name you want, and click/tap on Change Name. (see screenshot below)
6 The name of the local account will now be changed. You can now close the Control Panel if you like. (see screenshot below)
The Local Users and Groups is only available in the Windows 10 Pro, Enterprise, and Education editions.
1 Press the Win + R keys to open the Run dialog, type lusrmgr.msc into Run, and click/tap on OK to open Local Users and Groups.
2 Click/tap on Users in the left pane, and double click/tap on the current Name (ex: "Brink2") of the local account you want to change the name of. (see screenshot below)
3 In the General tab, type the new Full name (ex: "Brink3") you want for the local account, and click/tap on OK. (see screenshot below)
4 The name of the local account will now be changed. You can now close Local Users and Groups if you like. (see screenshot below)
1 Press the Win + R keys to open the Run dialog, type netplwiz into Run, and click/tap on OK to open netplwiz.
2 Check the Users must enter a user name and password to use this computer box, select the local account you want to change the name of, and click/tap on the Properties button. (see screenshot below)
3 In the General tab, type the new User name (ex: "Brink3") you want for the local account, and click/tap on OK. (see screenshot below)
4 If you wanted to have Windows automatically sign in to an account at startup, then you will need to set this up again now.
5 When finished, click/tap on OK. (see screenshot below)
6 If you are currently signed in to this local account, click/tap on Yes to sign out and apply your changes.
1 Open an elevated command prompt.
2 Type the command below into the elevated command prompt, and press Enter. Make note of the current Name (ex: "Brink2") of the local account you want to change the name of. (see screenshot below)
wmic useraccount get fullname, name
3 Type the command below into the elevated command prompt, and press Enter. (see screenshot below)
wmic useraccount where name="Current Name" rename "New Name"
Substitute Current Name in the command above with the actual current name (ex: "Brink2") of the local account from step 2 above.
Substitute New Name in the command above with the actual new name (ex: "Brink3") you want for the local account.
For example:wmic useraccount where name="Brink2" rename "Brink3"
4 You can now close the elevated command prompt if you like.
For more Rename-LocalUser command options and details, see: Rename-LocalUser - Microsoft Developer Network
1 Open an elevated PowerShell.
2 Type theGet-LocalUser
command into the elevated PowerShell, and press Enter. Make note of the current Name (ex: "Brink2") of the local account you want to change the name of. (see screenshot below)
3 Type the command below into the elevated PowerShell, and press Enter. (see screenshot below)
Rename-LocalUser -Name "Current Name" -NewName "New Name"
Substitute Current Name in the command above with the actual current name (ex: "Brink2") of the local account from step 2 above.
Substitute New Name in the command above with the actual new name (ex: "Brink3") you want for the local account.
For example:Rename-LocalUser -Name "Brink2" -NewName "Brink3"
4 You can now close the elevated PowerShell if you like.
This option is only available in the Windows 10 Pro and Enterprise editions.
1 Open Local Security Policy (secpol.msc).
2 Expand open Local Policies in the left pane, and click/tap on Security Options. (see screenshot below)
3 In the right pane of Security Options, double click/tap on Accounts: Rename administrator account. (see screenshot above)
4 Type a new name you want for the built-in Administrator account, and click/tap on OK. (see screenshot below)
5 You can now close Local Security Policy if you like.
That's it,
Shawn Brink
Related Tutorials
- How to Change the Name of a User Profile Folder in Windows 10
- How to Check if User is a Local Account or Microsoft Account in Windows 10
- How to Add a Local Account or Microsoft Account in Windows 10
- How to Enable or Disable User Accounts in Windows 10
- How to Switch to a Local Account from a Microsoft Account in Windows 10
- How to Switch to a Microsoft Account from a Local Account in Windows 10
- How to Change Account Type of Users in Windows 10
- How to Change Password of Local Account or Microsoft Account in Windows 10
- How to Change Your Account Picture in Windows 10
- How to Change the PIN for your Account in Windows 10
- How to Enable or Disable Don't Display Username at Sign-in in Windows 10