This post shows students and new users how to rename a user’s home profile folder to match the new username of an account in Windows 11.
In Windows, when you create a new user, a home folder in the C:\Users directory is created to match the user account’s name. This has always been the case.
If you rename a user account to something different and unique, the user home directory will not be renamed to match the account’s new username. So, you will end up with a different name for the account and home folder in Windows.
There can be different reasons why someone may need to rename a user’s home folder in Windows 11. One of the most common reasons is when a user account has been renamed, but the home folder still carries the old username.
This can confuse and make it harder to manage files and folders. Renaming the home folder to match the new username can help keep things organized and consistent.
Additionally, if you’re sharing files or folders with others, renaming the home folder to match the account name can make it easier for others to identify the correct user.
How to rename a user account in Windows 11
If you haven’t renamed a user account in Windows, the post below should help you do that. Renaming Windows accounts requires a few simple clicks.
Click on the link below to learn how to rename a user account in Windows.
How to Change Username in Windows 11
The above post shows you how to change or rename a user account in Windows 11.
How to rename the user’s home folder to match the username
Now that you’ve learned how to rename an account in Windows, continue below and learn how to rename a user’s home folder to match the account’s new name.
Before going forward, one thing you’ll need to understand. You can not log in with the account you want to rename. You have to log in with a different administrator account before you can rename the user’s home folder.
Sometimes, you’ll create a new account, make it an administrator, log in as that new account, and rename the targeted user home folder.
Or you can enable a Windows built-in administrator account, log in as the administrator account, and then change the account home folder you’re working with.
If you want to learn how to enable the built-in administrator account, click on the link below:
How to Enable the Administrator in Windows 11 – Website for Students
After you have logged in as the administrator, go to Start and search for Command Prompt, then select the Command Prompt app to open.

When the Command prompt app opens, type the commands below to list all the account SIDs on the machine.
wmic useraccount get name,SID
This will output similar lines with all the account SIDs on the system.
Output: Name SID DefaultAccount S-1-5-21-2007855691-582224021-1368697043-503 defaultuser0 S-1-5-21-2007855691-582224021-1368697043-1000 LocalAdmin S-1-5-21-2007855691-582224021-1368697043-500 JaneDoe S-1-5-21-2007855691-582224021-1368697043-504 Richard S-1-5-21-3044698505-590223214-3122486089-1001
The account you want to rename will also be listed above. For this post, the targeted account to rename its home folder is Richard with SID S-1-5-21-2007855691-582224021-1368697043-501
Afterward, go to Start and search for Registry Editor, then select Open.

When the Registry Editor opens, navigate to the folder path below:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
Locate the SID for Richard and open it.

Now right-click on ProfileImagePath for the correct SID and modify the data to point to the new user account’s new home folder.
Click OK to apply your changes.

Next, go to File Explorer on the Taskbar and browse the C:\User folder. Then, select the account folder you want to rename.

Finally, type in the new folder name to match the user account name.

Exit File Explorer, and you’re done.
Also, make sure that if you’re using OneDrive, it’s also pointing to the new user home folder. That should do it, and you log out or reboot the computer.
Login and deactivate the administrator account, and you’re all set!
Conclusion:
Renaming a user’s home profile folder in Windows 11 can enhance organization and consistency. Here are the key takeaways:
- You need to log in with a different administrator account to rename the home folder.
- Use the Command Prompt to identify the account SID you wish to modify.
- Access the Registry Editor to update the ProfileImagePath for the user account.
- Rename the folder in File Explorer to match the new username.
- Ensure that any linked services, like OneDrive, reflect the changes to avoid confusion.
- Finally, log out of the administrator account and return to your user account to complete the process.
By following these steps, you can effectively keep your user profiles in sync and streamline your Windows 11 experience.
Leave a Reply