When you create a new user account in Windows, a profile folder is created in your PC’s “Users” folder.
If you create a local account, the full name is used for the profile folder. For example, if you use or create a Microsoft account, the first 5 characters from your Microsoft account name will be used.
You cannot just change the name of the profile folder in Windows. To do so, you must perform several steps.
Renaming the profile folder is possible but can only be done by following the steps in this article. There is no official way to do this, such as through the settings.
I recommend before proceeding to create a Windows restore point.
How to rename user profile folder name in Windows 11 or Windows 10
To start with, you need to log on with a different administrator account than the one whose profile folder name you want to change. Thus, a second administrator account must be available, or you must create one.
Then log in with this second administrator account. Now we will ask for the SID of the account whose profile folder name you want to change. A SID is a (“Security identifier”) unique value used to identify any security entity that can be authenticated by the Windows operating system.
Open the Command Prompt as administrator. In the taskbar, search for “Command Prompt” and right-click on it. In the menu, click on “Run as administrator“.
Please note that the following screenshots are for illustration purposes and are examples. Yours will look different.
In the Command Prompt type:
wmic useraccount get name, sid
Check the SID of the user account whose profile folder name you want to change.
In this example, you can see the SID in the SID column. You should copy and temporarily save this SID. We will need this SID later.
Now open the Windows registry. Right-click on the Start button. In the menu, click on Run. In the Run window type: regedit.exe
In the registry editor go to the key:
In the list of SIDs in the “ProfileList“, look for an identical SID that we saved earlier. Click on it. Again this is an example.
Double click on “ProfileImagePath” Now change the profile folder name. You will leave “c:\users\” intact and only change the profile folder name to a new one.
In my example, I changed “c:\users\howto” to “c:\users\howtoguide\“. Click OK.
Now open the File explorer. Go to folder C:\users\ and click on the profile folder name you want to change. Enter the new name that you also modified in the registry.
So in this example, I am changing “howto” to “howtoguide“.
Now log on with the user whose profile folder name you changed.
You have successfully changed the profile folder name to Windows 11 or 10. Thanks for reading!