How to change a Windows username using the command prompt?



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:

net user /name:.

Replace “” with the username you want to change, and replace with the new username you want to use. This will change the username for the specified user account.

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.

Inquire Now

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Find your next full or part-time role here

ScaleDesk can either help you find your next full time gig or a part time side gig where you can create extra income!

Onboard with us once
Skip HR screening and go to the final interview with with only your resume and a video interview you never have to redo
Get paid electronically every month for the hours you work
We will be your reference even if you work for us once

IT Teams: Use ScaleDesk to augment your team

Schedule Demo