How to rename the User folder in Windows 10?
Hire the world's top talent on demand or became one of them at Toptal: https://topt.al/25cXVn
and get $2,000 discount on your first invoice
--------------------------------------------------
Take control of your privacy with Proton's trusted, Swiss-based, secure services.
Choose what you need and safeguard your digital life:
Mail: https://go.getproton.me/SH1CU
VPN: https://go.getproton.me/SH1DI
Password Manager: https://go.getproton.me/SH1DJ
Drive: https://go.getproton.me/SH1CT
Music by Eric Matyas
https://www.soundimage.org
Track title: Popsicle Puzzles
--
Chapters
00:00 How To Rename The User Folder In Windows 10?
00:52 Answer 1 Score 54
04:48 Accepted Answer Score 209
05:25 Answer 3 Score 79
05:54 Answer 4 Score 30
06:21 Thank you
--
Full question
https://superuser.com/questions/890812/h...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#windows #windows10 #onedrive
#avk47
ACCEPTED ANSWER
Score 209
This can be done without folder renaming and messing with registry:
Create a local account with the user name you wish.
- Local account creation is well hidden; here is how to find it:
Settings > Accounts > Family & Other users > Other users > Add someone else to this PC > The person I want to add doesn't have an email address > Add a user without Microsoft account
- Local account creation is well hidden; here is how to find it:
Change account type to administrator (can skip if there is other administrator).
Remove original Microsoft linked account
Link local account to Microsoft account if you wish
ANSWER 2
Score 79
While not a direct answer to the question, a symbolic link can be a risk-free solution if the problem is not just aesthetics, but that restored or legacy configuration files or links refer to the user directory.
- Open an elevated command prompt
- Change to the user directory
- Create a directory junction targeting the real name of the user directory
e.g.,
C:
CD\Users
MKLINK /J Jeremy jerem
This enables you to use c:\Users\Jeremy\.....
to refer to parts of your profile.
ANSWER 3
Score 54
I had the same problem and I have solved it as follows (using information that I found on a few other websites):
- Just to be safe, create a restore point. Open the Control Center, type in System Restore and click on Create System Restore Point. Select the C: Drive and click on Create.
- Click on the Windows Button (at the bottom left), type regedit and click on Execute command.
- Confirm the UAC dialog by clicking Yes.
- Make a backup of the prior registry by clicking File > Export.
- Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList. There you can find a few subfolders (starting with 'S-1-5-'). Search for the folder that contains the path (that you want to change) in the registry key named ProfileImagePath. (Example from the question: search for the value 'C:\Users\jerem').
- If you have found it, double-click on it and change the path. (Following the original question, you would now change the value to 'C:\Users\Jeremy').
- Close the Registry Editor window.
- Click on the Windows Button (at the bottom left) again and type netplwiz and click on Execute command.
- Make sure that the checkbox 'Users have to enter username and password' is checked. Select the user (for whom you want to change the path) from the list and click on Properties.
- Change the user name in the new window. (Following the original question, you would now change the user name to 'Jeremy'). You can also change the full name here, if you wish (but in my case the correct name has already been entered). I suppose that you can not leave the full name field empty. Close the window by clicking OK.
- Close the other remaining opened windows also by clicking OK.
- Restart the system.
- Start Windows 10 again and try to login. This will fail (because of the changed path) and you will automatically be logged in with a temporary user account (which will take a bit of time). However, you can now change the name of the folder using the Windows Explorer (following the example above, you would now rename the folder jerem to Jeremy).
Note: alternatively, you can boot into a second operating system (if you have one installed) or use a Live CD operating system to change the folder name.
UPDATE: Thanks to user @lmiguelvargasf for informing me about an issue with my solution! I thought that the system would be a bit more intelligent in updating the references in the registry, but it is not! Therefore you should start the Registry Editor again (as in step 2) and make a backup by clicking File > Export. Then click on Edit > Search (or Find...), type in the old path (in the example it would have been C:\Users\jerem) and search for keys, values and data. Replace all references containing the old path (C:\Users\jerem) with the new path (C:\Users\Jeremy). A click on the key F3 searches for the next reference. Repeat that until you don't find any references to the old path. Even with a relatively fresh installation on Windows 10, you might have to update about 100 entries (especially OneDrive and Edge have quite a lot of caching paths in the registry). And also some additionally installed programs might have created registry entries!
Finally, restart the system again and start Windows 10. The first login could take quite a while, but everything should now work fine again and the path of the user directory should now be changed! If everything works fine, you can now delete the original folder (the folder named jerem, using the example of the question).
INFO: I am working on a German system. I tried to translate the bullet points correctly, but it is very likely that they might be named a bit different!
DISCLAIMER: This solution is working on my laptop after upgrading from Windows 8.1 (64-bit) to Windows 10 (64-bit). However, I cannot guarantee that this solution might also work for others with other configurations. If you follow the solution provided above, you are doing everything at your own risk!
ANSWER 4
Score 30
To access the Advanced User Accounts panel type
netplwiz
in Search the web and Windows box next to your Windows button then click or tap on Netplwiz (Windows application).In the Advanced User Accounts panel, select the user you want to modify and click Properties
In the properties window for the user, enter the new user name and click OK.
Restart for the changes to take effect.
Source: http://www.opentechguides.com/how-to/article/windows-10/43/win10-change-account.html