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
I DIDN'T DO STEP 8 - 27 (TILL THE END) cause my internet didn't work on the safety mode and I couldn't see this website page....

I restarted my computer, pressed F8 and clicked SAFETY MODE and thats it.
Then I went to C:\Users then right-clicked the old name folder thingy and clicked RENAMED, I've renamed it to the name I want BUT after shutting down and logging on in to the account I've just renamed, it says that it is in a TEMPORARY PROFILE!

What do I do?????? I thought I've lost everything when I didn't read it was just a temporary profile :'(
but HOW DO I TURN IT BACK TO HOW IT WAS? >.< Help!


Open up Regedit

Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList tell me the SIDS you see. Take a look at where the ProfilePath leads to on the right hand side .
 
Last edited by a moderator:

My Computer My Computer

Computer Manufacturer/Model Number
Custom Built
OS
Windows 7 Ultimate 32-Bit & Windows 7 Ultimate 64-Bit
CPU
Intel Core i7 CPU 950 @ 3.07GHz
Motherboard
ASUS P6T DELUXE V2
Memory
OCZ 6GB (3 x 2GB) 240-Pin DDR3 SDRAM DDR3 1600 OCZ3X1600R2
Graphics Card(s)
ATI Radeon HD 5700 Series
Sound Card
OnBoard
Hard Drives
WD6400AACS-00M3B0 (640GB SATA )
PSU
CORSAIR 850w
Case
NZXT LEXA
Cooling
Intel Stock Heatsink Fan
Keyboard
Microsoft Wireless Laser Keyboard 7000
Mouse
Microsoft Wireless Laser Mouse 7000
Vista King,

Thanks for your reply!!!!!!!!!!!!!!!!!

I did as what you said however I'm not so sure what SIDS are but I've taken a screenshot of it just incase.. and I don't know where the ProfilePath is (lol)
 

Attachments

  • pic1.png
    pic1.png
    23.1 KB · Views: 136

My Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Sony Vaio
OS
Windows 7
Give me the screen shots of the sid that ends in .bak and the one without it with the same exact number.
 

My Computer My Computer

Computer Manufacturer/Model Number
Custom Built
OS
Windows 7 Ultimate 32-Bit & Windows 7 Ultimate 64-Bit
CPU
Intel Core i7 CPU 950 @ 3.07GHz
Motherboard
ASUS P6T DELUXE V2
Memory
OCZ 6GB (3 x 2GB) 240-Pin DDR3 SDRAM DDR3 1600 OCZ3X1600R2
Graphics Card(s)
ATI Radeon HD 5700 Series
Sound Card
OnBoard
Hard Drives
WD6400AACS-00M3B0 (640GB SATA )
PSU
CORSAIR 850w
Case
NZXT LEXA
Cooling
Intel Stock Heatsink Fan
Keyboard
Microsoft Wireless Laser Keyboard 7000
Mouse
Microsoft Wireless Laser Mouse 7000
Delete the folder without the .bak first then the folder with the .bak rename it and just remove the .bak from it then in the right hand side under STATE right click and choose modify input the number zero 0 click Ok and close the registry and restart the PC.
 

My Computer My Computer

Computer Manufacturer/Model Number
Custom Built
OS
Windows 7 Ultimate 32-Bit & Windows 7 Ultimate 64-Bit
CPU
Intel Core i7 CPU 950 @ 3.07GHz
Motherboard
ASUS P6T DELUXE V2
Memory
OCZ 6GB (3 x 2GB) 240-Pin DDR3 SDRAM DDR3 1600 OCZ3X1600R2
Graphics Card(s)
ATI Radeon HD 5700 Series
Sound Card
OnBoard
Hard Drives
WD6400AACS-00M3B0 (640GB SATA )
PSU
CORSAIR 850w
Case
NZXT LEXA
Cooling
Intel Stock Heatsink Fan
Keyboard
Microsoft Wireless Laser Keyboard 7000
Mouse
Microsoft Wireless Laser Mouse 7000
Vista King,

I did as what you said, after I restarted my PC its still the same :( still in a 'temporary profile'
do you think this will only last a few hours, then after that when I log on in, it'll be back to normal again? cause it says 'temporary'.. im not sure D:
 

My Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Sony Vaio
OS
Windows 7
Make sure the one with the .bak on the right side where it says State it has the value of 0 . Right click on State choose Modify and type in zero(0) click Ok . Then delete the number without the .bak then rename the key with the .bak and just remove the .bak at the end.

User Profile Error - Logged on with a Temporary Profile
 
Last edited by a moderator:

My Computer My Computer

Computer Manufacturer/Model Number
Custom Built
OS
Windows 7 Ultimate 32-Bit & Windows 7 Ultimate 64-Bit
CPU
Intel Core i7 CPU 950 @ 3.07GHz
Motherboard
ASUS P6T DELUXE V2
Memory
OCZ 6GB (3 x 2GB) 240-Pin DDR3 SDRAM DDR3 1600 OCZ3X1600R2
Graphics Card(s)
ATI Radeon HD 5700 Series
Sound Card
OnBoard
Hard Drives
WD6400AACS-00M3B0 (640GB SATA )
PSU
CORSAIR 850w
Case
NZXT LEXA
Cooling
Intel Stock Heatsink Fan
Keyboard
Microsoft Wireless Laser Keyboard 7000
Mouse
Microsoft Wireless Laser Mouse 7000
Vista King,

I did what you said again, this time I had to do it again; delete the number w/o the .bak and the one with the .bak i changed its value to 0 and renamed it.

but hey thanks for the link! i'll have a look at it :)
 

My Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Sony Vaio
OS
Windows 7
You're welcome . Hopefully you get it fixed.
 

My Computer My Computer

Computer Manufacturer/Model Number
Custom Built
OS
Windows 7 Ultimate 32-Bit & Windows 7 Ultimate 64-Bit
CPU
Intel Core i7 CPU 950 @ 3.07GHz
Motherboard
ASUS P6T DELUXE V2
Memory
OCZ 6GB (3 x 2GB) 240-Pin DDR3 SDRAM DDR3 1600 OCZ3X1600R2
Graphics Card(s)
ATI Radeon HD 5700 Series
Sound Card
OnBoard
Hard Drives
WD6400AACS-00M3B0 (640GB SATA )
PSU
CORSAIR 850w
Case
NZXT LEXA
Cooling
Intel Stock Heatsink Fan
Keyboard
Microsoft Wireless Laser Keyboard 7000
Mouse
Microsoft Wireless Laser Mouse 7000

My Computer My Computer

Computer Manufacturer/Model Number
Custom Built
OS
Windows 7 Ultimate 32-Bit & Windows 7 Ultimate 64-Bit
CPU
Intel Core i7 CPU 950 @ 3.07GHz
Motherboard
ASUS P6T DELUXE V2
Memory
OCZ 6GB (3 x 2GB) 240-Pin DDR3 SDRAM DDR3 1600 OCZ3X1600R2
Graphics Card(s)
ATI Radeon HD 5700 Series
Sound Card
OnBoard
Hard Drives
WD6400AACS-00M3B0 (640GB SATA )
PSU
CORSAIR 850w
Case
NZXT LEXA
Cooling
Intel Stock Heatsink Fan
Keyboard
Microsoft Wireless Laser Keyboard 7000
Mouse
Microsoft Wireless Laser Mouse 7000
I did this and it apparently worked, however, the Old Name still shows up in the Task Manager under the Processes tab User Name.
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
custom build
OS
7
CPU
Intel Core i7 3770 3.40 GHz
Motherboard
ASRock Z77 EXTREME4-M
Memory
Corsair 16GB total RAM 4x4GB sticks
Graphics Card(s)
Nvidia GeForce GTX 780
Monitor(s) Displays
ViewSonic LED 1080p Full HD
Screen Resolution
1920x1080
Hard Drives
Two
PSU
Corsair HX 750W
Case
Cooler Master
Cooling
A bunch of fans
Keyboard
Old and busty Dell, with some letters scratched off
Mouse
Logitech trackball
Internet Speed
Xfinity
Hello AndarielHalo,

This would be normal as per the blue note box at the top of the tutotial. The original name will always be tied to the user account. :(
 

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 Many thanks for this tutorial. I had a few issues in ensuring I could rename the folder (viz sharing etc) but I got there with your tutorial so many thanks

Jesper
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
dell T1700, + Optiplex 9010mt + Vostro470 + older vostro
OS
win7 professional 64bit sp1 build 7601
CPU
Intel Core i7-3770
Memory
16gb
Hard Drives
seagate 2tb, wd 1tb
Hello Jesper, and welcome to Seven Forums. I'm happy to hear it was able to help. :)
 

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
It works like a sharm,
any posibilities to make a script on this?
 

My Computer My Computer

OS
Windows 7 Ultimate x64
Hello Charli, and welcome to Seven Forums.

Not sure it's possible since it's dealing with unique user accounts per system. :(
 

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
Hello, just found your site today. Had almost given up on being able to change previous owners name in User Profile name. This work perfectly. Thank you so much and I look forward to spending a lot of time here. Don
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell Inspiron 560
OS
Windows 7 Home Premium 64-bit
CPU
Pentium Dual-Core E5500 @ 2.8 GHz
Motherboard
Dell
Memory
4.00 GB
Graphics Card(s)
Intel G45/G43 Express Chipset (2x)
Hard Drives
500 GB
Antivirus
AVG
Browser
Firefox
Joined to say thank you!

Hey, Brink! I joined to give you a huge thanks, as well as to all the contributing members of this forum. :D

I'm brand new to Windows 7 (been hanging on to XP since 2004) - but now I find myself doing searches for the simplest functions. This forum has been an amaaaazing resource. Just wanted to say I'm impressed by the clarity, thoroughness, and simplicity of your guide. Thank you!

One more note: in case anyone else has trouble with getting into safe mode using F8, option 2 on your safe mode guide worked for me. (Tapping F8 somehow got me to this screen. I have no idea what that is :o).

Thanks again! Really appreciate your hard work. : )
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Asus
OS
Windows 7 Pro x64
CPU
i7-3930K 3.20 GHz 6 core
Motherboard
ASUS P9X79 LE [SATA III , USB 3.0]
Memory
32 Gigs
Graphics Card(s)
NVIDIA GeForce GTX 780
Sound Card
Integrated HD Audio
Screen Resolution
1920x1080
Case
Cooler Master Storm Stryker
Cooling
(CPU Cooling) Asetek 550LC (whatever that means)
Internet Speed
whatever c*mcast deems fit
Browser
Firefox
Hello thanksyou, and welcome to Seven Forums.

Thank you for posting back with your findings. That screen is your UEFI/BIOS screen. Some motherboards will have their own keys to press instead. Usually it will very briefly display what keys to press for what at boot.
 

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
Back
Top