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
No need to reinstall everything. You should be able to just create new shortcuts for any program that doesn't already have one in the new 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
My fault, the new administrator account i created was a guest account -.- I've follow every setp carefully again and managed to change the account name!! Thanks a lot! :D
 

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
Ooops. Glad you got it sorted. :)
 

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
Couldn't change user name

Hi,
I went through your steps carefully to change my "User" account file name to "Michael". It did not work and the Michael user account suddenly became "Temporary" and I could not save files, etc. I tried to do a system restore to undo it but that did not work -- in fact, the system restore could not finish its task for some reason. In order to get into my account, I had to go back and reset the several places in your protocol from "Michael" to "User" again and then I could access the account as before.

So I have an account labelled "Michael" but the User directory still calls is "User" and changing it using your protocol rendered it a "Temp" user. Strange. Not that important, I can live with my main user being called "User" but it's odd that Windows wouldn't change the name when I did it.

FYI. Thanks anyway.
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
HP
OS
Windows 7 64 bit Home premium
Hello. I am new to this forum, apologies if the answer can be found elsewhere on here. I realize this is an old thread and will create a new one later if necessary.

Can a variation of this method be used to change ONLY the User Account Folder Name, while leaving the account name as is? That seems to be the implication of the title of this topic, but details seem to indicate otherwise.

Due to a screwup when 1st creating 2 accounts, let's call them ADMIN and USER, the ADMIN-account folder name is 'USER' and the USER-account folder name is 'USER_2'. I can live with it, everything works OK but I would like to clean this up if possible so that the folder names correspond to the account names.

Thank you.
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Asus
OS
Win7 64-bit Home Premium
CPU
Pentium(R) Dual-Core T4400 @ 2.20 GHz
Motherboard
whatever is in the Asus Notebook K60IJ Series
Memory
4 GB
Antivirus
Avast!
Browser
mostly Chrome, some Firefox and IE
Hello sybernut, and welcome to Seven Forums.

I'm afraid that this would affect both the user profile folder name and account name. :(

In you case, it may be better to delete the account, and create a new one for what you wanted instead. You'll need to temporarily create an administrator account to do all this while logged in to 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
Hello Brink, thank you for the prompt reply Is there a simple way to transfer ALL files under an account-to-be-deleted to a new account? I seem to recall that Windows offers you the option of keeping the files of the old account upon account deletion, but there must be many references to the old account/directory names in many of those files (e.g. OS-related files).

Can such a migration be made transparent to OS and to apps (and otherwise)? I am concerned about e.g. some apps not working correctly after I do this. I would probably create a disk image prior anyway :) It seems I would either have to delete both accounts, or rename them both as per your procedure (which seems quite involved :) )
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Asus
OS
Win7 64-bit Home Premium
CPU
Pentium(R) Dual-Core T4400 @ 2.20 GHz
Motherboard
whatever is in the Asus Notebook K60IJ Series
Memory
4 GB
Antivirus
Avast!
Browser
mostly Chrome, some Firefox and IE
Usually, it doesn't work out to well when trying to copy over anything from one user account to another other than just the files in the user folders (ex: Music, Documents, Pictures, etc..). Those can be copied to another location temporarily until you can move them to the new 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
thanks, I'll just leave everything as-is :)
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Asus
OS
Win7 64-bit Home Premium
CPU
Pentium(R) Dual-Core T4400 @ 2.20 GHz
Motherboard
whatever is in the Asus Notebook K60IJ Series
Memory
4 GB
Antivirus
Avast!
Browser
mostly Chrome, some Firefox and IE
I followed all the steps in this tutorial and now the account I tried changing the user folder name for is completely absent from the Welcome Screen! Everything on the account is still on the computer, thankfully, but I cannot access it from that account. I've done something horribly wrong. I need help with this ASAP.

I do have a recent system restore point I can use (although I'll lose a few funny drawings I made today) if there is no way to bring the account back.
 
Last edited:

My Computer My Computer

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

See if going through the steps again, but this time setting them back to their default location, may 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
Hello Escher, and welcome to Seven Forums.

See if going through the steps again, but this time setting them back to their default location, may help. :)

Nope, didn't work. I changed everything back to what it was before, and the account is still not available on my Welcome screen. Again, all the files and even the stuff I had on my desktop can still be viewed through Windows Explorer, but they're not accessible via a user account. There has to be a way to get the account back, but I don't know how to unless I have to use a restore point.
 

My Computer My Computer

Computer type
PC/Desktop
OS
Windows 7 Home Premium x64
Using a restore point dated before doing this seems like the only way. :(
 

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
Using a restore point dated before doing this seems like the only way. :(

I did a system restore I got my account back! However, it said that it did not restore successfully for unspecified reasons. I got the error code 0xc0000022. Then my computer crashed (blue-screen error) and restarted. So, I looked up the code and many forums told me to do some sort of scan with Command Prompt, which I did. The prompt then told me that the scan found a corrupted file which it would fix. After the scan, I did another system restore. However, I got the same error message again and my computer shut off for some reason.

Is this something that needs to be fixed, or can I ignore it since I got my account back?
 

My Computer My Computer

Computer type
PC/Desktop
OS
Windows 7 Home Premium x64
Are you still crashing or getting an error at startup?

If not, then you should be fine.
 

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
Are you still crashing or getting an error at startup?

If not, then you should be fine.

Okay, thanks. However, I still want to change my folder name to something else. I don't want to create a new account and move everything over unless I can move literally everything (my appdata, internet search stuff, desktop shortcuts, etc.). How should I do this?
 

My Computer My Computer

Computer type
PC/Desktop
OS
Windows 7 Home Premium x64
Thanks for that guide. You laid everything out very carefully so I was never in doubt about what I was doing.

Really grateful to people like you who do not think that sharing helpful information is beneath them
 

My Computer My Computer

Computer Manufacturer/Model Number
Asus k53u
OS
windows 7 ultimate 32 bit
CPU
AMD e-350 processor x2 1.6ghz
Memory
2x 4gb 1333hz
Graphics Card(s)
AMD Radeon hd 6310
Sound Card
AMD hd audio; realtek hd audio
Monitor(s) Displays
generic PnP
Screen Resolution
1366x738
Cooling
standard
Keyboard
standard
Mouse
standard
Other Info
WEI 3.7
Modified to allow more RAM usage (something to do with kernels...)
You're most welcome ecd, and welcome to Seven Forums. I'm glad it could 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
Hi,

I followed your guide and it worked perfectly, except for the fact that documents in Microsoft Office 2013 cannot be opened because they are in the old name's files. How do I change this ?
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Asus
OS
Windows 7 Professional x64
Hello Kath, and welcome to Seven Forums.

Are you able to open the files directly by double clicking on them?
 

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