 | | Welcome to Windows 7 Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows 7. The Windows 7 forum also covers news and updates and has an extensive Windows 7 tutorial section that covers a wide range of tips and tricks. | Windows 7 - User Profile - Change Default Location
User Profile - Change Default Location How to Change the Default Location of a User Profile in Windows 7 and Vista
Published by Brink
05-27-2010
| User Profile - Change Default Location How to Change the Default Location of a User Profile in Windows 7 and Vista  Information A user profile is the main C:\Users\(user-name) folder of a user account that contains all of the account's settings, shortcuts, information, and user folders (ex: My Music) with the files in them.
This will show you how to Move the default location of a user profile in Windows 7 and Vista to another location of your choice so it will be stored and used from the new location instead.
This can be handy if you are low on free space on your C: drive.  Warning Before doing this, you should create a system image to be safe. This way you can do a system image recovery to undo any mistake you might make in the instructions below that could result in the user profile you are moving, or Windows, to no longer work.  Note The drive or partition that you move the user profile folder(s) to, will now be included in a system image if created since it will now be considered a system drive. OPTION ONE
For Already Existing User Accounts
 Warning Some of the programs you have installed may not work properly after moving your user profile folder since they are still looking for their information in the user profile folder's original AppData folder location which of course no longer exists.
If you have this problem afterwards, then you may be able to uninstall and reinstall these programs, or use OPTION TWO in the tutorial to create a new user account and create new shortcuts for the programs to fix this.
Method One To Change the Default Location of an Existing User Profile
1. Make sure that the user account that you are moving it's user folder for is not currently logged in. If it is, log it off. 2. Log on to an administrator account that you are not moving it's user folder for. NOTE: If you do not have another administrator account to use, then you will need to create a new account first and log in to it. When done with the tutorial, you can delete the new account. 3. In Windows Explorer, navigate to the C:\Users\(user-name) folder (ex: C:\Users\User account to move) that you want to move. Right click on it and click on Copy. (see screenshot below) 4. In Windows Explorer, navigate to the new location (ex: E: drive) that you want to move the C:\Users\(user-name) folder to. Right click on a empty space in the main window (middle) and click on Paste. (see screenshot below) NOTE: This should be another internal hard drive or partition. 5. If prompted, click on Continue. (see screenshot below) 6. If prompted by UAC, then click on Yes (Windows 7) or Continue (Vista). 7. The C:\Users\(user-name) folder (step 3) is now copied over to the new location (ex: E:\User account to move). You can close Windows Explorer. (see screenshot below) 8. Open the Start Menu, then type regedit in the search box and press enter. 9. If prompted by UAC, then click on Yes (Windows 7) or Continue (Vista). 10. In regedit, navigate to the location below. (see screenshot below) Code: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList 11. In the left pane under the Profilelist key, select and look at each S-1-5 key with the long number until you see the user account name and path (step 3) that you want to move in the value Data column of ProfileImagePath in the right pane. When the correct user name is found, right click on ProfileImagePath, and click on Modify. (see screenshot above) 12. Type in the full path of the location (ex: E:\User account to move) that you copied the user profile folder to in step 7, and click on OK. (see screenshot below) 13. Regedit will now look similiar to this with the new location now. Close regedit. (see screenshot below) 14. To Verify that the User Profile has been Moved SuccessfullyA) Log off or Switch User, then log in to the user account that you moved the user profile folder of.
B) Open the Start Menu and open the user profile folder from this location. (see screenshot below) C) Right click on one of the user folders (ex: Desktop), click on Properties, and click on the Location tab. (see screenshot below) D) You should see the new location (ex: E:\User account to move\Desktop) from step 7 as the now new default location. Click on OK. (see screenshot above) 15. To Delete the User Profile from the Old Location NOTE: Once you have verified (step 14) that the moved user profile has been moved successfully, you can now safely delete the user profile folder from the old location (ex: C:\Users\User account to move) from step 3. A) Log off of the user account that you moved if you are logged into it from step 14.
B) Log on to an administrator account that you did not move it's user folder for.
C) In Windows Explorer, navigate to the old C:\Users\(user-name) folder (ex: C:\Users\User account to move) that you had copied (step 3). Right click on it and click on Delete. (see screenshot below) D) If prompted by UAC, then click on Yes (Windows 7) or Continue (Vista).
E) If prompted, click on Continue. (see screenshot below) F) You can now empty the Recycle Bin to finish deleting the old user profile folder from the old location. NOTE: You will need to approve emptying the Recycle Bin. 16. The existing user profile folder has now been completely moved to the new default location where Windows 7 or Vista will now run it from when logged on to it.
Method Two To Restore the Existing User Profile's Default Location 1. Repeat OPTION ONE, but move the new default User Profile folder (ex: E:\User account to move) back to the original C:\Users folder location (ex: C:\Users\User account to move). OPTION TWO
For All New User Accounts Created
 Note This will change where all newly created user accounts will have their user profile folder created at in a default location of your choice instead of the old default C:\Users location.
Thank you to Alain for pointing this out. 1. To Change the Default User Profile Location of New User AccountsA) Open the Start Menu, then type regedit in the search box and press enter. B) If prompted by UAC, then click on Yes (Windows 7) or Continue (Vista).
C) In regedit, navigate to the location below. (see screenshot below) Code: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList  D) In the right pane of ProfileList, right click on ProfilesDirectory and click on Modify. (see screenshot above)
E) Type in the full path (ex: E:\Users) of where you want new user accounts to be created at, and click on OK. (see screenshot below) F) The registry will now look similar to this. (see screenshot below) G) When you create a new user account, it's user profile folder will now be created at the location you specified in step 1E. 2. To Restore the Default User Profile Location of New User AccountsA) Repeat step 1, but type %SystemDrive%\Users at step 1E instead. NOTE: This step only changes the user profile folder location of any newly created user accounts back to this default location, and not any existing user accounts.
B) If you wish to change an already existing new account's user profile folder location, then you will need to do Method Two in OPTION ONE above to change it back to C:\Users. 3. Close regedit. That's it,
Shawn |  Published by | | Administrator Join Date: Oct 2008 Location: Texas Posts: 34,826 | |
 Tutorial Tools | | | | | | | | | |
05-27-2010
|
#1 | | MS Windows 7 Ultimate SP1 64-bit |
Shawn,
Glad to see this. I thought of cranking out a tutorial on this but never ended up with enough time and system to sacrifice for all of the testing.
From my experience in this area, a full system image backup prior to moving the user profile might be a wise decision.
| My System Specs | | System Manufacturer/Model Number Toshiba Satellite L305D laptop OS MS Windows 7 Ultimate SP1 64-bit CPU AMD Athlon X2 Dual-Core QL-64, 2100 Mhz, 2 Cores Motherboard TOSHIBA Portable PC (Socket M2/S1G1) Memory 4.0GB (2x2GB) DDR2 @ 333MHz 5-5-5-15 Graphics Card ATI Radeon 3100 Graphics (Toshiba) Sound Card Realtek High Definition Audio Monitor(s) Displays Generic PnP Monitor @ 1280x800 Screen Resolution 1280 x 800 Keyboard standard PS/2 Keyboard Mouse HP Wireless Optical Mobile Mouse Model FHA-3410 Hard Drives 125.03GB Corsair CSSD-V128GB2 ATA Device (IDE)
Depending upon testing, organized as 1,2, or 3 partitions with/without a 100mb system partition at the front. Internet Speed What the local pub, local coffee shop offers. Other Info Optical Drives HL-DT-ST DVDRAM GSA-T50N ATA Device
Synaptics PS/2 Port TouchPad
Speakers (Realtek High Definition Audio)
Atheros AR5007EG Wireless Network Adapter
Also have an Asus ha1002xp netbook with Win 7 Ultimate installed. |
05-27-2010
|
#2 | | Windows 7 Ultimate x64 SP1 |
Thank you Karl. I'm happy that you like it. Agreed system image would be best. | My System Specs | | System Manufacturer/Model Number Self built custom OS Windows 7 Ultimate x64 SP1 CPU Intel i7-980X 3.3 Ghz (3.48 Ghz OC'd) Motherboard ASUS P6X58D Premium Memory 12 GB (2GBx6) DDR3 PC3-16000 2000 MHz Kingston HyperX Graphics Card Sapphire HD5870 Eyefinity 6 2GB Sound Card Realtek HD Audio ALC889 Integrated Chip Monitor(s) Displays 3x 27" Asus VE278Q Screen Resolution 1920x1080 Keyboard Logitech Cordless Desktop MX 5500 Revolution Mouse Logitech Cordless Desktop MX 5500 Revolution PSU OCZ Series Gold OCZZ1000M 1000W Case Corsair Obsidian 800D Cooling Thermalright Ultra 120 Extreme Copper CPU heat sink w/120 MM Hard Drives 160GB OCZ RevoDrive X2
** 2 x 1TB Samsung HDD HD154UI SATA Internet Speed 50 Mb/s Download and 2 Mb/s Upload Other Info Microsoft LifeCam Cinema
** Lite-On iHBS212 12x BD Writer
** Samsung CLX-3175FW Printer
** Netgear WNDR3800 Router
** Motorola SBG6580 Cable Modem
** 2x APC Back-UPS XS 1500 |
05-27-2010
|
#4 | | Windows 7 Ultimate x64 SP1 |
Hello WindowsStar,
Thank you for the notice. Strange, it has been stable for me so far.
Was it the same procedure that you used as in the tutorial? Did you notice any changes (ex: change user folder name or drive letter) or anything that may have affected the user profile to get this error? | My System Specs | | System Manufacturer/Model Number Self built custom OS Windows 7 Ultimate x64 SP1 CPU Intel i7-980X 3.3 Ghz (3.48 Ghz OC'd) Motherboard ASUS P6X58D Premium Memory 12 GB (2GBx6) DDR3 PC3-16000 2000 MHz Kingston HyperX Graphics Card Sapphire HD5870 Eyefinity 6 2GB Sound Card Realtek HD Audio ALC889 Integrated Chip Monitor(s) Displays 3x 27" Asus VE278Q Screen Resolution 1920x1080 Keyboard Logitech Cordless Desktop MX 5500 Revolution Mouse Logitech Cordless Desktop MX 5500 Revolution PSU OCZ Series Gold OCZZ1000M 1000W Case Corsair Obsidian 800D Cooling Thermalright Ultra 120 Extreme Copper CPU heat sink w/120 MM Hard Drives 160GB OCZ RevoDrive X2
** 2 x 1TB Samsung HDD HD154UI SATA Internet Speed 50 Mb/s Download and 2 Mb/s Upload Other Info Microsoft LifeCam Cinema
** Lite-On iHBS212 12x BD Writer
** Samsung CLX-3175FW Printer
** Netgear WNDR3800 Router
** Motorola SBG6580 Cable Modem
** 2x APC Back-UPS XS 1500 |
05-27-2010
|
#5 | | |
I want to ask,any reason to change default location of user profile? I'm just curious. thanks | My System Specs | | OS window's 7 CPU core 2 quad Motherboard gigabyte Memory 2gb corsair Graphics Card ati hd4850 Monitor(s) Displays lg Screen Resolution 1600 X 900 Case power logic Other Info none of the spec above is accurate |
05-27-2010
|
#6 | | Windows 7 Ultimate x64 SP1 |
Hello Rafe,
No problem.
You might would like to do so in order to make it easier to use the same user profile's data and files to copy over if you do a clean install.
If you are real low on available free space on the C: drive, this could save the space you need by having it moved to another location.
Last edited by Brink; 05-27-2010 at 02:58 AM..
Reason: correction
| My System Specs | | System Manufacturer/Model Number Self built custom OS Windows 7 Ultimate x64 SP1 CPU Intel i7-980X 3.3 Ghz (3.48 Ghz OC'd) Motherboard ASUS P6X58D Premium Memory 12 GB (2GBx6) DDR3 PC3-16000 2000 MHz Kingston HyperX Graphics Card Sapphire HD5870 Eyefinity 6 2GB Sound Card Realtek HD Audio ALC889 Integrated Chip Monitor(s) Displays 3x 27" Asus VE278Q Screen Resolution 1920x1080 Keyboard Logitech Cordless Desktop MX 5500 Revolution Mouse Logitech Cordless Desktop MX 5500 Revolution PSU OCZ Series Gold OCZZ1000M 1000W Case Corsair Obsidian 800D Cooling Thermalright Ultra 120 Extreme Copper CPU heat sink w/120 MM Hard Drives 160GB OCZ RevoDrive X2
** 2 x 1TB Samsung HDD HD154UI SATA Internet Speed 50 Mb/s Download and 2 Mb/s Upload Other Info Microsoft LifeCam Cinema
** Lite-On iHBS212 12x BD Writer
** Samsung CLX-3175FW Printer
** Netgear WNDR3800 Router
** Motorola SBG6580 Cable Modem
** 2x APC Back-UPS XS 1500 |
05-27-2010
|
#7 | | Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64) |

Quote: Originally Posted by Brink Hello WindowsStar,
Thank you for the notice. Strange, it has been stable for me so far.
Was it the same procedure that you used as in the tutorial? Did you notice any changes (ex: change user folder name or drive letter) or anything that may have affected the user profile to get this error? Yes the basic steps are the same. I still have one machine at work that will not work correctly the machine always states it is loading a temp profile. I have not had time to get back to it and see if I can fix it. Everything worked well for a week or two and then I started having issues.
I moved the profile from C:\Users\<username> to D:\Users\<username>. | My System Specs | | System Manufacturer/Model Number Dell OP760 OS Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64) Memory 8GB Monitor(s) Displays 2 Dell 19" LCD Screen Resolution 1280x1024 Keyboard Dell Mouse Dell Optical Internet Speed 40meg |
05-27-2010
|
#8 | | Windows 7 Ultimate x64 SP1 |
WindowsStar,
Was the one at work using a roaming profile, or part of a domain that you know of? If so, that may be a reason. I have only done this with a local user profile on a home computer.
I'll leave one setup like this on my system to see if it may become unstable as well though. | My System Specs | | System Manufacturer/Model Number Self built custom OS Windows 7 Ultimate x64 SP1 CPU Intel i7-980X 3.3 Ghz (3.48 Ghz OC'd) Motherboard ASUS P6X58D Premium Memory 12 GB (2GBx6) DDR3 PC3-16000 2000 MHz Kingston HyperX Graphics Card Sapphire HD5870 Eyefinity 6 2GB Sound Card Realtek HD Audio ALC889 Integrated Chip Monitor(s) Displays 3x 27" Asus VE278Q Screen Resolution 1920x1080 Keyboard Logitech Cordless Desktop MX 5500 Revolution Mouse Logitech Cordless Desktop MX 5500 Revolution PSU OCZ Series Gold OCZZ1000M 1000W Case Corsair Obsidian 800D Cooling Thermalright Ultra 120 Extreme Copper CPU heat sink w/120 MM Hard Drives 160GB OCZ RevoDrive X2
** 2 x 1TB Samsung HDD HD154UI SATA Internet Speed 50 Mb/s Download and 2 Mb/s Upload Other Info Microsoft LifeCam Cinema
** Lite-On iHBS212 12x BD Writer
** Samsung CLX-3175FW Printer
** Netgear WNDR3800 Router
** Motorola SBG6580 Cable Modem
** 2x APC Back-UPS XS 1500 |
05-27-2010
|
#9 | | Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64) |

Quote: Originally Posted by Brink WindowsStar,
Was the one at work using a roaming profile, or part of a domain that you know of? If so, that may be a reason. I have only done this with a local user profile on a home computer. The one that has had the most probems is at work, and yes is is on a domain. No roaming profiles. I did have issues on a non-domain machine but re-loaded Windows 7 and did not move the profile. No issues with it at all. On a side note I move a profile on a Windows Server 2008 R2 machine (basically Windows 7 they share the same base code) and had the same thing happen before the server was added to the domain. | My System Specs | | System Manufacturer/Model Number Dell OP760 OS Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64) Memory 8GB Monitor(s) Displays 2 Dell 19" LCD Screen Resolution 1280x1024 Keyboard Dell Mouse Dell Optical Internet Speed 40meg User Profile - Change Default Location problems? All times are GMT -5. The time now is 04:03 AM. |  |