When it comes to changing a Windows username using the command prompt, the process is quite simple. However, it’s important to note that this process is only applicable to local user accounts, and not to domain user accounts.
The first step is to open the command prompt by typing “cmd” into the Start Menu search box. Once the command prompt opens, type in the following command:
Once this is done, you need to restart the computer for the changes to take effect. When the computer has restarted, log in with the new username. You should now be able to access the user account with the new username.
It’s important to note that this process does not change the username of the user’s profile folder in the C:\\Users directory. If you need to change the username of the profile folder, you will have to do this manually. To do this, open the C:\\Users directory, right-click on the profile folder with the old username, click on Properties, and then click on the “Change” button. Enter the new username in the “Full name” field and click on the “OK” button. This will change the username of the profile folder to the new username.
It’s also important to note that if you are using Windows 8 or later, you will need to use the “netplwiz” command instead of the “net user” command. The “netplwiz” command will open the User Accounts window, which allows you to change the username of a user account.
That’s all there is to it. Changing a Windows username using the command prompt is a straightforward process, and it doesn’t require any additional software or special knowledge. All you need to do is follow the steps outlined above, and you’ll be able to change a Windows username in no time.