User Profile Folder - Change User Account Folder Name

How to Change the User Folder Name of a User Profile in Windows 7


   Information
Normally, you could change your account name in User Accounts from the Control Panel (icons view), but that still would not change your accoun's user profile folder name in C:\Users.

This will show you how to change your account name and change the user profile folder name of any user account, including the built-in Administrator account (if enabled), in Windows 7 without losing anything in that user account. This will affect the user account's name for the C:\Users\(user-name) folder, Start Menu, Log on screen, Welcome screen, security permissions, etc......

You must be logged in as an administrator, and is a different account than the account you are changing the name of to be able to do this tutorial.

   Warning
Since editing a user profile and the registry can mess up Windows 7 if a mistake is made, it is highly advisable to create a restore point before doing this tutorial. This way if you make a mistake, you will be able to simply do a system restore to select and go back to this restore point to undo the mistake.




Here's How:

1. Log on to the user account (ex: Old Name) that you want to change the name of.

2. Save the current theme (ex: Old Name) for this user account. (see screenshot below)
NOTE: This is so that you will be able to change the theme back to this current theme in step 21 below later if you like.
Save_Theme.jpg
3. If you have any files or folders in your C:\Users\(user-name) profile folder that are set to be shared, then you will need to temporarily set them to not be shared for now. After you finish renaming the user profile folder name, you could set them to be shared again in step 23 below.

4. Log off the user account that you want to change the name of. (see screenshot below)
NOTE: If you do not have another administrator account to use, then create a new administrator account first, then log off. When finished with the tutorial, you can delete this newly created account.
Log_Off.jpg
5. Log on to an administrator account that is not the user account that you want to change the name of.

6. Open Windows Explorer, navigate to C:\Users, open the Users folder, right click on the user profile folder (ex: Old Name) that you want to change the name of, and click on Rename. (see screenshot below)
Step1.jpg
7. Type in the name (ex: New Name) that you want this user account's folder to have now and press Enter. Close the Windows Explorer window. (see screenshot below)
NOTE: If you are not able to rename the user folder for some reason (ex: in use), then boot into Safe Mode and try again.
Step2.jpg
8. If prompted, click on Continue and Yes (UAC) to approve renaming the user folder.

9. Open the Start Menu, and type regedit in the search box and press Enter.

10. If prompted by UAC, then click on Yes.

11. In regedit, navigate to the location below. (see screenshot below)

Code:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
Step3.jpg
12. In the left pane of regedit, expand Profilelist, and select each long number S-1-5-.... key one by one until your see the user account name (ex: Old Name) that you want to change the name of included in the Data column of ProfileImagePath in the right pane. (see screenshot above)

13. In the right pane of the long number S-1-5-.... key for the user account (ex: Old Name) that you want to change the name of, right click on ProfileImagePath, and click on Modify. (see screenshot below.
Step6.jpg
14. Change only the name (ex: Old Name) in the full path to the name (ex: New Name) that you want for the user account, and click on OK. (see screenshot below)
Step5.jpg
15. Close regedit.

16. Press the Windows + R keys to open the Run dialog, type netplwiz, and click on OK. (see screenshot below)
netplwiz-1.jpg
17. Check the Users must enter a user name and password to use this computer box, select the user account's old name (ex: Old Name), and click on the Properties button. (see screenshot below)
netplwiz-2.jpg
18. Change both the User name and Full name to the same new name (ex: New Name) from step 7 above, and click on OK. (see screenshot below)
netplwiz-3.jpg
19. Click on OK, and Restart the computer to apply. (see screenshot below step 17)

20. Log on to the now completely renamed user account (ex: New Name) from step 1 above.

21. When you log on to the renamed user account (ex: New Name) for the first time, you will notice that the desktop background wallpaper is now solid black. This is normal. Change the theme from the black Unsaved Theme to the theme (ex: Old Name) that you saved in step 2 above to restore the saved theme. (see screenshot below)
Theme-2.jpg
22. If you had to create a new administrator account at step 4 above to do this tutorial with, then you can now delete this newly created account if you like. This is not the New Name account.

23. If you had to set files to not be shared in step 3 above, then you can set them to be shared again if you like.

24. If you had Windows set to automatically log on to a user account at startup, then you can set that while logged on to an administrator account again if you like.




That's it,
Shawn




 
Last edited:
  • Like
Reactions: Arc
Thanks Shawn - I'll give those a try.
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
N/A
OS
Windows 7 Professional 64-bit SP1
CPU
Intel Core i5 2500K @ 3.30GHz
Motherboard
ASRock Z68 Pro3 Gen3 (CPUSocket)
Memory
24.0GB Dual-Channel DDR3 @ 798MHz
Graphics Card(s)
MSI GT730
Sound Card
Asus Xonar
Monitor(s) Displays
Eizo CG2420
Screen Resolution
1920
Hard Drives
Crucial MX500 SSD
2 x Seagate 2TB & 2 x Seagate 4GB SATA
PSU
OCZ ModXStream 700W
Case
Zalman GS1000
Keyboard
Corsair
Mouse
Logitech
Browser
Chrome
Other Info
LG Blu-ray RW
You're welcome. I forgot a link in the post though. It's been updated now.
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
This worked great, I will have to reinstall Outlook, but before I do, I noticed that my laptop (Sony VAIO Windows 8.1) will not recognise this computer anymore? The media devices on my laptop have also not changed their name. System Restore or keep going?

Anthony
 

My Computer My Computer

Computer type
PC/Desktop
OS
Windows 7
Hello Anthony, and welcome to Seven Forums.

Media device names are another draw back since they will not change either.

It's usually best to create a new user account to use instead to ensure that everything will have the new name. :(
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
System Restore failed, should I just go back and manually change everything back?


Anthony
 

My Computer My Computer

Computer type
PC/Desktop
OS
Windows 7
Anthony,

Yeah, system restore and restore points would not affect user folders since they are not included.

You could undo, or create a new user account to use instead.
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Error

I followed the instructions exactly, regedit and everything. For some reason after I log in to the changed account, Windows showed that I had a new unlocked folder in my users folder with my old accounts name. For example, I changed my user name from Old to New, and in my "new" account, It showed that it had changed, but windows created and is using a new user folder called "old". Why does it do it and is there a workaround? I'm pretty sure this would cause program issues because of appdata files missing.
 

My Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Asus
OS
Windows 7 Home Premium x64
CPU
Intel Core i5-3317U
Memory
6 GB
Graphics Card(s)
Intel Intergrated Graphics
Hard Drives
WD 1 TB Blue Bare Drive
Browser
Google Chrome
Hello MCWarriorz, and welcome to Seven Forums.

Sounds like something went wrong somewhere along the steps. It's best to create a new user account with the name you want instead though. :(
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Change username

When you finished with this changes, there is still one problem.
For exmple, if you open task manager/process, there is still "old_user".
The solution is next:
open Command prompt and type netplwiz
Ones click on old username, click properties and there, where is "old_user", simple change it with "new_user" and restart computer.
Thats it.

P.S.: Sorry for my english, my native language is diferrent. :o
 

My Computer My Computer

Computer type
PC/Desktop
OS
Windows 7 Home x64
Hello Jan, and welcome to Seven Forums.

Doh. I should have realized that. :o

Thank you. I have updated the tutorial to include this.
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Hi,

I did this process successfully, so thank you. However all my Word docs etc and Outlook now no longer work. I tried pointing them at the new location but no success. How can I get Word, Outlook etc to work?

Thanks in advance.
 

My Computer My Computer

Computer type
PC/Desktop
OS
Windows 7 64 bit
Hello Mazumi, and welcome to Seven Forums.

I would recommend to change it back. Otherwise, you would need to start fresh with a new account to have them work properly in it. :(
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
What do you mean change them back? use the system restore? I really need to change the user name as it is in Japanese characters and some programs will not work without the change. they work now, but my email does not.
 

My Computer My Computer

Computer type
PC/Desktop
OS
Windows 7 64 bit
In that case, try uninstalling and reinstalling the Office programs.
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Ok, that may be easiest. Thank you.
 

My Computer My Computer

Computer type
PC/Desktop
OS
Windows 7 64 bit
Thank you Brink!
I have spendt 2 days trying to work my way around this problem but no luck.
You saved me :-) Thank you!
 

My Computer My Computer

Computer type
Laptop
OS
Windows Home Premium 64bit
Brink you're the best!!!

Thank you so much...You're the greatest :D
 

My Computer My Computer

Computer type
PC/Desktop
OS
Windows 7 Ultimate x64
Hello Brink, I have followed your tuto (im using windows 8.1) but when i get to change the old user name account in netplwiz (18 step) it says that "User Name X could not be changed", dont know why the access is denied if it's an admin account, any ideas? - I'm a bit desperate xD
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom
OS
Windows 8.1 Pro 64 bit
CPU
i5-4690k
Motherboard
Asrock Z97 Pro4
Memory
16GB 1866
Hard Drives
Crucial MX100
Antivirus
BitDefender Free
Browser
Chrome
Hello ThunderRoad, and welcome to Seven Forums. :)

The safest way would be to create a new user account with the name you want for the user folder instead. This way you don't have to worry about possible issues of renaming an existing profile folder.
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Thanks for the quick answer. I see, then I'll probably do that. It is a bit inconvenient having to reinstall everything but perhaps most quick thing to do. ^^
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom
OS
Windows 8.1 Pro 64 bit
CPU
i5-4690k
Motherboard
Asrock Z97 Pro4
Memory
16GB 1866
Hard Drives
Crucial MX100
Antivirus
BitDefender Free
Browser
Chrome
Back
Top