Steps to rename User name
Rename the user name in the Control Panel (Windows Menu → Settings → Accounts).Steps to rename the home folder under C:\Users
-
To rename the user's home folder, we first need to create a temporary Admin account in Windows 10.
To create a temporary local Admin user in Windows 10, follow below steps:
- Go to Windows Menu → Settings → Accounts → Family & Other users → Add someone else to this PC
-
Click on I don't have this person's sign-in information.
-
Select Add a user without a Microsoft account
-
You can leave the password field empty, as this is a temporary account
and we will delete this account at the end.
-
Once a new account is created, change the account type to Administrator
- Logout and Login as newly created user from login menu.
-
Open File Explorer, Go to
C:\Users\
and rename the folder underC:\Users\<old_username>
to the desired name. - After renaming the folder, now let us map the renamed folder with the user account.
-
Open regedit from Win + R
-
Traverse to
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
-
Traverse through the profile list and find the matching profile where key
ProfileImagePath
value contains the previous home folder path. Once found, update the value to match your new folder path.
Example:As shown in below image, I renamed fromC:\Users\Administrator
toC:\Users\supernova
-
Create a link from your previous home folder to new one via Command Prompt. This should help us with programs which have stored previous home folder path in their settings.
-
Delete the temp account created in Step 1.
2 comments:
Hello,
This is the best layout and fix for this common problem. You did such a great job and it was so easy to follow for dummies like me. I'm impressed. Two thumbs up. Thanks
Good day, add my thumbs to your fix as well! Thank you for this!
Post a Comment