2022年3月27日 星期日

How to change the name of a user profile folder in Windows 10


1. Try to create a new account

2. Change the new account to administrator

3. Restart computer and login with new account

4. Rename c:/Users/"Old_Account"

5. Modify registry. In the Run prompt (press Win+ R ), type regedit and hit Enter.

HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows NT \ CurrentVersion \ ProfileList \

6. Select ProfileList, click on the sub-key to find which ProfileImagePath is match your Old_Account, and then double-click ProfileImagePath string to open it. Rename Old_Account.

7. Modify registry to fix Users Folder error. In the Run prompt (press Win+ R ), type regedit and hit Enter.

Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders

Double click to open the value data, and enter either of these: 

%USERPROFILE%\Desktop

C:\Users\%USERNAME%\Desktop

PS: multiple items need to be modified.

Click OK, and quit the Registry Editor.



Refer to:

1. https://www.tenforums.com/tutorials/89060-change-name-user-profile-folder-windows-10-a.html

2. https://www.itechguides.com/change-user-name-windows-10-rename-user-folder-windows-10/


沒有留言:

張貼留言