Hi,
Thank you for posting on Microsoft Community Forums.
When you create a user account, a folder also gets created and associated with the user account. You can change/edit the user account name, however the folder name will not change. The user folder name can be changed manually, however it could result in loss of data associated with the corresponding account. I would suggest to create a new user account and remove the existing one. To change the username, you must be logged into another administrator account. Given below are the steps to enable the built in administrator account.
- Click on Start button (Windows logo) and type Cmd.
- Right click on Cmd and select Run as administrator.
- On command prompt, type Net User Administrator /Active:yes and hit the Enter key which will enable the built in administrator account.
- Sign out of your account after the above command is executed successfully.
Sign into the built in administrator account and follow the steps below to rename the account.
Open the Run dialog box by pressing the Windows key and the R key together.
Type NETPLWIZ and hit the Enter key which will list all the user accounts active on the computer.
Select your user account name and click on Properties.
Change the User name in its corresponding text box.
Click Apply and Ok.
Sign out of your account and see if the username has changed on the sign in screen.
Once the user account name is changed, you can login to your original account and disable the built in admin account by running the following command in command prompt.
Net User Administrator /Active:No
As mentioned earlier, it is recommended to create a new user account instead of renaming the user account. Please refer to the article below, if you would like to create a new user account.
Create a local user or administrator account in Windows 10
Hope it helps.
Feel free to contact back in case you have any questions or need any further assistance with this issue.
Regards,
Peer Samie
Microsoft Community-Moderator