Windows 10 stores all user preferences and settings in a user profile. The user profile is a folder located in C:\Users\. It includes all account settings like the selected desktop background, screen saver, File Explorer options and many others. If you need to rename this folder after creating the user profile, here is how it can be done.
A user profile is a set of files and folders to store all personal preferences, app settings, documents and other data. Every user account has an associated user profile. Usually, it is stored in the folder C:\Users\Username and includes a number of subfolders like Desktop, Documents, Downloads, etc along with hidden folders like AppData which store the settings for various Windows features and installed apps. The main purpose of the user profile is to create a personalized environment with individual options tailored to the end user.
To rename your user account folder under C:\Users, you need to find your user account's security identifier (SID). There is a special console command which you can use to obtain information about user accounts in Windows 10. It will allow you to find the SID, and plenty of other information. It is covered in detail in this article:
In short, run the following command:
wmic useraccount list full
Here is the sample output:
Note the SID value for your account.
You cannot rename the current user profile which you are signed in with. You need to use another user account with administrative privileges. If you don't have another administrative account, you have to create one before proceeding. Then, sign out from the user account whose profile folder you need to rename and sign-in with the other administrative account.
To rename the user profile folder in Windows 10, do the following.
- Using File Explorer, go to the c:\Users folder from the other Administrator account and rename your profile folder to what you want.
- Open Registry Editor.
- Go to the following Registry key:
- In the left pane, find the key named by the SID value you've noted.
This key is related to the profile which you've renamed.
- Look at the value data for the ProfileImagePath parameter on the right. Modify it according to the new path to the profile you have renamed.
- Close Regedit.exe and restart Windows 10.
This trick should work for all previous versions of Microsoft Windows.
You are done!
Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:
If you like this article, please share it using the buttons below. It won't take a lot from you, but it will help us grow. Thanks for your support!