Share via

Changing the user folder

Anonymous
2022-03-30T18:57:48+00:00

Hi I am trying to change the folder name for one of my coworkers in windows 10. I have changed the user account name in control panel. However, that doesn't change the name in the file directory and that is what I want to do. It currently has a space but when my user is trying to run tests it cannot have a space.

Windows for home | Windows 10 | Settings

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Anonymous
    2022-03-30T19:32:36+00:00

    Hi, my name is Anderson Souza, I hope I can help you with your issue.

    Here is a text from an article from the MS support site that may help you in this case. Although the text states that the procedure is applicable to Windows 7, it also applies to Windows 10.

    [ - - - ]

    This article provides a workaround for an issue where renaming a user account doesn't automatically change the profile path.

    Original product version: Windows 7 Service Pack 1, Windows Server 2008 R2 Service Pack 1

    Original KB number: 2454362

    Summary

    When you rename a user account in on a computer that is running Windows 7 or Windows Server 2008 R2, the user profile path isn't changed automatically. It may cause some confusion when the %SystemDrive%\users folder is viewed

    Status

    Microsoft has confirmed it to be by design in Windows.

    Workaround

    To work around this issue, use the steps below to manually rename the profile path.

    1. Log in by using another administrative account. Note You may need create a new administrative account at first.
    2. Go to the C:\users\ folder and rename the sub folder with the original user name to the new user name.
    3. Go to registry and modify the registry value ProfileImagePath to the new path name. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList<User SID>\ Warning If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.
    4. Log out and log in again by using the user whose name is changed, and the user should use the pervious profile with new path name.

    [ - - - ]

    Source: https://docs.microsoft.com/en-US/troubleshoot/w...

    1 person found this answer helpful.
    0 comments No comments