
Note that you need to run Command Prompt as administrator so that it has the required permission to make changes to the user account in Windows.
If the command is executed successfully, it will show a line that reads “ Method execution successful“. Wmic user account where name="OldAccountName" rename "NewAccountName"
Replace OldAccountName with the current username of the user account, and NewAccountName with the new name you wish to use.
Next, enter the following command to rename any user account. This is to show the exact username of the user account (whose name you want to change) as you will need it for the next step. Optionally, you can run the command below first to list all user accounts on your Windows. Right-click Command Prompt from the search result and select Run as administrator. In the Start menu, search for Command Prompt. If for any reason you can only use the command prompt to do the changes, here’s the command lines to change the user account name in Windows. Restart your computer for the changes to take effect.Ĭhange Windows user name using Command Prompt. In the General tab, enter a new name in the User name field. Under “Users for this computer”, select the user account whose name you want to change. In the User Accounts window, go to Users tab. Click on Start, then search for and open “ netplwiz“. Rename a user via NetplwizĪnother method to change the user account name in Windows 11 is by using the Netplwiz.exe – an advanced user accounts control panel in Windows. Go to the second part of this guide below to learn how to change your Microsoft account’s username. Note: If you don’t see the “ Change your account name” option during step 4, it likely means that your user account is a Microsoft account. Then, select the user account whose name you want to change and follow the remaining steps to do so. If you want to change the user name of a different account, click on Manage another account instead during step 4. Restart your PC for the changes to take effect. Enter a new account name into the text field. Under “Make changes to your user account”, click on Change your account name.
On the next screen, click on User Accounts again.In the Control Panel window, click on User Accounts.However, you must be signed in as an administrator in order to have the privilege required to change the username of any account on Windows 11. You can use any of the 3 methods below to change the user name for an Administrator, Standard or Guest account.
If your user account in Windows 11 is a local account that doesn’t link to any Microsoft account, you can easily change the account name via one of the 3 methods below. How to change the user name for a local account How to change Microsoft account username.Change Windows user name using Command Prompt.How to change the user name for a local account.