How to Change the Default Location of a User Profile in Windows 7 and Vista

OPTION ONE

Move Default User Profile Folder Location
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.

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)
User Profile - Change Default Location-step1.jpg
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.
User Profile - Change Default Location-step2.jpg
5. If prompted, click on Continue. (see screenshot below)

6. If prompted by UAC, then click on Yes (Windows 7) or Continue (Vista).
User Profile - Change Default Location-step3-uac.jpg
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)
User Profile - Change Default Location-step4.jpg
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
User Profile - Change Default Location-step5.jpg
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)
User Profile - Change Default Location-step6.jpg
13. Regedit will now look similiar to this with the new location now. Close regedit. (see screenshot below)
User Profile - Change Default Location-step7.jpg
14. To Verify that the User Profile has been Moved Successfully
A) 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)
User Profile - Change Default Location-log-1.jpg
C) Right click on one of the user folders (ex: Desktop), click on Properties, and click on the Location tab. (see screenshot below)
User Profile - Change Default Location-log-2.jpg
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)
User Profile - Change Default Location-delete-1_uac.jpg
D) If prompted by UAC, then click on Yes (Windows 7) or Continue (Vista).

E) If prompted, click on Continue. (see screenshot below)
User Profile - Change Default Location-delete-2.jpg
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 user profile folder has now been completely moved to the new default location where Windows 7 or Vista will now run it from when it is logged on.





OPTION TWO

Restore Default User Profile Folder 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).
That's it,
Shawn



article source:http://www.sevenforums.com/tutorials/87555-user-profile-change-default-location.html