Computer

Rename the Windows user folder with this trick

And it is that Windows is in charge of automatically creating a profile folder for each user account that we decide to create, so, by default, the user folder will have the same name as the user name. That is why there may be situations where we want that the name of the folder does not coincide with the username, for which we will have to make some adjustments in the operating system.

What is the user folder and why rename it

We are talking about a folder with a user profile, like the one that is responsible for storing a selection of settings and preferences that turns a user account into a private one. This folder and all its information is stored in the path C: / Users. In it we can find as many folders as user profiles we have created. Each User Box contains all the Windows settings that we have set such as the desktop background, screen settings, sound, among other settings. In addition, we will find different files and personal folders such as the Documents, Desktop, Music, Video, Images, Downloads folders, etc.

The moment we create a new user account, a new profile is automatically created. Although changing the name of the User account is a simple task that we can perform from the Windows Control Panel, the truth is that this name change does not materialize in a name change of the user account that is found hosted in the path C: / Users. And, since the profile is created automatically by the system, it is not possible that we can specify the name of the user folder in that path. For this, it will be necessary to make some additional changes, which are the ones that we will discuss below

Steps to rename the user folder

If we want to change the name of the Windows user folder, we must know that it is not possible to change the name of the folder manually since we are currently connected. Therefore, it will be necessary to create another local administrator account and change the name of the current user account from another account.

Create a new administrator account

This is something we are going to do from the Windows “Settings” menu. To do this we must press the keyboard shortcut “Windows + I”. Here, click on the “Accounts” section, in the left column we select “Family and other users”. Within the Other users section, we must click on «Add another person to this team».

Then a Microsoft login window will appear, where we will select “I do not have the login data for this person.”

I don't have the login details for this person

Next, a new screen will appear, where we must click on the link «Add a user without a Microsoft account».

Add user without Microsoft account

On the next screen we will take care of write a name for the new account, without the need to add a password. Once finished, click on «Next» and a standard user account will be created.

Create user for this team

Once finished we will have returned to the “Family and other users” section of the “Settings” menu. Now we will see how our newly created account is found in the «Other users» section. Click on it and click on the button «Change account type».

User change account type

Finally, we select “Administrator” in the drop-down box and click OK to change the type of account from standard to administrator. Finally, it is convenient to log out of the OneDrive account from our PC to avoid errors.

Change user account type

Rename the folder

Now we are going to change the name of the user folder that we want to change the name of. To do this, we must open the File Explorer and navigate to the C: / Users directory. Here we can see different folders depending on the administrator folders that we have created at some point. That is why we must place ourselves on the folder that we want to change the name.

Select folder within User folder

Next, we are going to right-click on the folder we want to change the name of, the contextual menu will appear and we select the option “Rename”. We confirm the option by pressing the Yes button.

Make changes in Registry Editor

Now, even though we have changed the name of the user folder, we must make the necessary changes in the Registry to avoid errors when logging into the account. To do this, we are going to proceed to open the Windows Registry Editor. To do this we launch the Run command by pressing the Windows keyboard shortcut + R. Here we must write regedit and press Accept or the Enter key directly. Once in the Editor, we must navigate to the next location.

HKEY_LOCAL_MACHINE / SOFTWARE / Microsoft / Windows NT / CurrentVersion / ProfileList /

Next, we are going to expand the «ProfileList» folder to view different subfolders, on which we will click. In each of them we will see that there will be a file called “ProfileImagePath”. If it matches the original name and the path of the user folder that we just renamed, we do Double click in “ProfileImagePath” to open its properties.

Registry Editor change value of ProfileImagePath

In the field of “Value information”, we must rename user folder to match the name of the user folder in the C: / Users directory.

Once this is done we can close the Registry Editor, log out and log into the account of the newly renamed user folder. We must also know that the account in the user folder will not change the name of our account.

Delete user account created

Once we have achieved our goal, we may no longer need the user account that we have previously, so we can choose to delete it completely. To do this, we will access the Settings menu, pressing the keyboard shortcut “Windows + I”. Later we click on the “Users” section and in the left column we click on “Family and other users”. Once here we click on the account that we want to delete and click on «Remove». In this way the account will be completely deleted.

Configuration and remove user

Related Articles