I'm using Windows 10 on my personal computer (HP Pavilion Laptop) and you can see in the Screen Shot under C:\Users there are two folders.

Screen Shot

The name of the first folder is C:\Users\SINGHA, however, the correct spelling of my last name is SINHA. I need to change the name of this folder to C:\Users\SINHA so that it shows the correct name.

  • Under User Account, the spelling of my name is correct - it's only under C:\Users\ where the name is spelt incorrectly.
  • Consequently, if I open/edit a Word or Excel document, the name of the owner being shown is the incorrect one (i.e it's shown as C:\Users\SINGHA instead of C:\Users\SINHA)

If I right-click on this folder, I won't get the Rename option; How can I change the name of this folder?

  • 1
    I'm voting up this question, because the sheer number of wrong answers proves that this is actually a good question.
    – LPChip
    Dec 11, 2019 at 19:52
  • 2
    The easiest & most efficient solution is to create a new Local account due to the extensive number of registry keys that rely upon the physical username in C:\Users\<username> and not a variable that points to it (such as %UserProfile%). You can try using RegEditX's RegCrawler to batch replace all instances of SINGHA with SINHA, however, the last time I tried this, random instability in the OS occurred. Once you've unlinked your Microsoft account from user SINGHA, you can then convert the local account of SINHA to an online Microsoft account.
    – JW0914
    Dec 23, 2019 at 12:33
  • possible duplicate of superuser.com/questions/1261341/… Jul 24, 2020 at 7:44

3 Answers 3


This method is based on the following Microsoft article:
Renaming a User Account Does Not Automatically Change the Profile Path.

The article was written for Windows 7, but is still relevant in Windows 10.

  1. Rename in User Accounts the user account from C SINGHA to C SINHA

  2. Start a Command Prompt (cmd) and enter the following command:

    whoami /user
  3. Note down the value below SID, which may look like S-1-5-21-495099530-557473056-3318008218-1001,
    by copying it to some text file

  4. Log in using another administrative account (create one if required)

  5. Go to the C:\Users\ folder and rename the sub-folder C SINGHA to C SINHA

  6. Start regedit and navigate to the key

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\<SID>
  7. Modify the registry value ProfileImagePath to C:\Users\C SINHA

  8. Log out and log in again as C SINHA.

Before doing registry operations, it is best to ensure good backups. Before starting on the above, create at least a System restore point, just in case, to be able to restore the current state of Windows.

  • This no longer works as of November 2020; poorly-written programs like OneDrive hardcode the user directory in many, many places throughout the registry and are inextricably tied to the user account (so uninstalling OneDrive doesn't fix the problem).
    – ahelwer
    Nov 10, 2020 at 14:49
  • 1
    @ahelwer: Adding a symbolic link from the old to the new folder will help in this case.
    – harrymc
    Nov 10, 2020 at 15:19
  • step 5 cannot be done!
    – jsxs
    Dec 8, 2022 at 11:32
  • @jsxs: Post a new question with details for exactly what you do and where the problem is, then drop me a note here.
    – harrymc
    Dec 8, 2022 at 11:33
  • @harrymc thank you, please see my post
    – jsxs
    Dec 8, 2022 at 11:42

The folders in C:\Users are correlated to the username attached to a user and special folders such as Public and Default. The public and default folders are very important and should not change. The User folders are your profile. Windows expect the folder to be there in order to load it, or you will get errors such as "Windows tried to load your profile but was unable and signed you in with a temporary profile. Any changes you make will not be saved."

The only way to change this folder is by actually changing the username first, then change all the places where the username is stored, such as in the registry at many places, Computer Management (Users and groups) and the C:\users folder.

The trick becomes that you have to do this from a different user in order to make sure the folder is not locked which makes this a really hard change to do and frankly is outside of the scope of SuperUser. I bet there are guides available on how to do this somewhere, but the far easier approach would be to create a new user with the correct username, migrate your data to it (which can be done using a tool called Profile Wizard (not free, but the shareware version should suffice) and then remove the old profile.

If your computer is part of a domain, the trick is actually really easy.

First you ensure that you are using roaming profiles, such that your profile is stored on the server. Then you logout, on the server in Active Directory, you change the username, and the next time you login, all is changed and the old folder in C:\Users can be removed. Optionally you can disable roaming profiles if it was disabled before.

Do note that changing the username can still have repercussions. If you for example use Outlook, it will expect the data to be stored at a certain place and outlook may not start anymore. A new Outlook profile will fix that. Other programs may have similar problems.

From an IT professional perspective: if the user is very new, you can change the username easily without much problems, but if the user already uses it for at least a few days, you will consider strongly to not change it anymore and offer to create a new user with fresh settings instead and migrate the data to it.


I think this is the easiest option, but MAY not work for your situation (see details at bottom):

  1. Create a new user with the correct spelling
  2. Login to new user, go to old users files (C:\Users\C SINGHA) & copy what you need
  3. Confirm you have all the apps you need as some programs install only to a certain user
  4. When you're ready delete the old user

The above steps are assuming you have a local account & may not work for a work/domain/network account or if you're using a Microsoft/online account. You didn't specify which is why you are getting a lot of feedback since there are numerous fixes since Windows can be complex.

  • @harrymc's answer details how to rename/fix the old profile (incorrect folder name) although that requires getting into registry & possibly logging in with another account so its a bit trickier, but DOES totally work
  • @Michi answer focuses on fix if you use a Microsoft account
  • @LPChip answer focuses on fix if you use a work/domain account

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .