Home > Common Problem > body text

4 steps to change user folder names on Windows 11

王林
Release: 2023-07-07 14:33:58
forward
35547 people have browsed it

User folder names and account names are set during user account setup. However, for some reason, you may need to modify your user folder name on Windows 11.

Unlike renaming a standard folder, this process is not that simple. In this guide, we've provided the right information to make the process incredibly easy.

Is it safe to rename my user folder name?

As mentioned before, changing user folder names on Windows 11 is not as simple as renaming a normal folder. Even if you change the user account name, the user folder name will remain the same.

According to Microsoft's recommendations, do not modify the name of the user folder as this may cause some applications to not work properly. This is because the registration pathnames for these will be changed from the default values.

Although this can be solved by changing the path of the faulty application and process, so no lasting damage is caused.

However, it is recommended that you do not change your user folder name unless you have a good reason.

How do I change my user folder name on Windows 11?

1. Create a new administrator account

  1. Press the Windows keyI to open the Settings app and select Accounts ” option in the left pane.
  2. Select "Family and other users" in the right pane.
    在 Windows 11 上更改用户文件夹名称的 4 个步骤
  3. Now, click on the Add Account button under Other Users.
    在 Windows 11 上更改用户文件夹名称的 4 个步骤
  4. Next, select "I don't have login information for this person."
    在 Windows 11 上更改用户文件夹名称的 4 个步骤
  5. Click to add a user without a Microsoft account.
    在 Windows 11 上更改用户文件夹名称的 4 个步骤
  6. From here, enter your username, password, and other details and click Next to complete the process.
    在 Windows 11 上更改用户文件夹名称的 4 个步骤
  7. Now, select the new account you created and select Change Account Type.
    在 Windows 11 上更改用户文件夹名称的 4 个步骤
  8. Click the Account type drop-down list and select the Administrator option.
  9. Click the OK button to save changes.
    在 Windows 11 上更改用户文件夹名称的 4 个步骤
  10. Finally, log out of your account and log in to the new administrator account you created.

To change user folder names on Windows 11, you need to first create a new administrator account. This is because you cannot change the account you are currently logged into.

If you don't want to go through the stress of creating a new admin account, as shown above, you can enable a hidden admin account instead.

After creating the new administrator account, you must continue to the next section to determine the account SID.

2. After confirming the SID

  1. , log out of the current user account and log in to the new administrator account, press the Windows keyR, type netplwiz and press Enter.
    在 Windows 11 上更改用户文件夹名称的 4 个步骤
  2. Now, select the account you are logged into , and then click the Properties button.
    在 Windows 11 上更改用户文件夹名称的 4 个步骤
  3. Check "Username" and "Full Name" under the "User Properties" section.
  4. Next, set your preferred username and full name.
  5. Click the "Apply" button and then click "OK".
    在 Windows 11 上更改用户文件夹名称的 4 个步骤
  6. Exit the "User Account" page and restart the computer.
  7. Now, press the Windows key, type cmd, and then select Run as administrator in the command prompt.
    在 Windows 11 上更改用户文件夹名称的 4 个步骤
  8. Enter the following command and click EnterTo view the SID (Security Identifier) ​​of all users on the computer,Please do the following: wmic useraccount get name,SID
  9. Finally, note the of the account whose user profile folder name you want to change SID.
    在 Windows 11 上更改用户文件夹名称的 4 个步骤

Some PC problems are difficult to solve, especially when Windows' system files and repositories are missing or corrupted.
Be sure to use a specialized tool, such as Fortect, which will scan for corrupted files and replace them with new versions from their repository.

Before changing the user folder name on Windows 11, you must make sure you know the account's SID. First, set a username for the new administrator account to distinguish it from the old account.

You then need to run a command to determine the SID of the account you want to change. Once this is done, you must continue to the next section to change the user folder name from the registry.

Please note that you need to proceed with caution during this step as mistakes can be costly. It's best to create a restore point before continuing.

3. Modify the registry to change the user folder name

  1. Press the Windows keyR, type in Registry Editor and click the OK button.
    在 Windows 11 上更改用户文件夹名称的 4 个步骤
  2. Navigate to the following path in the left pane: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
  3. Now, select the Profile List key.
    在 Windows 11 上更改用户文件夹名称的 4 个步骤
  4. Next, check the SID you noted in Solution 2 above and click on it.
    在 Windows 11 上更改用户文件夹名称的 4 个步骤
  5. Double-click Profile Image Path in the right pane.
    在 Windows 11 上更改用户文件夹名称的 4 个步骤
  6. #Delete the old name at the end of the path in the Value Data box and add a new name of your choice.
  7. Finally, click the "OK" button and exit the Registry Editor.
    在 Windows 11 上更改用户文件夹名称的 4 个步骤

This is the most integral part of the process and it requires you to be careful. After changing the user folder name in Registry Editor on Windows 11, you can now proceed with the following sections to complete the process.

4. Confirm the changes in File Explorer

  1. Press the Windows keyE to launch File Explorer and navigate to the following path: C:\Users\在 Windows 11 上更改用户文件夹名称的 4 个步骤
  2. Right click on the user you want to change folder and select Rename.
    在 Windows 11 上更改用户文件夹名称的 4 个步骤
  3. Now, type the new name and press Enter. Please note that it must be the same as the one you set in the Registry Editor corresponding to the name.
  4. Finally, click Continue when prompted.

In this way, you have successfully changed the user folder name on Windows 11. If you encounter an error like "This operation cannot be performed while renaming a folder," it means that you did not log out of your user account properly.

You need to properly log out of the account, or better yet, restart your PC. Once this process is completed, you can log into the profile using the name of the new folder and start using it normally.

With that, we can wrap up our guide on how to change your user folder name on Windows 11. Although the process is simple by following the steps above, we would like to stress again that you may have issues with some of your applications.

But you can solve this problem by changing the path of these applications. If you're having trouble renaming standard folders on Windows 11, here's our detailed guide to fix it.

The above is the detailed content of 4 steps to change user folder names on Windows 11. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:yundongfang.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact [email protected]
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!