How to move your WinXP User Profile to a different location

Anusha

Member
Jun 13, 2006
25,864
5
0
If you have ever needed to do this, here's the way.

  1. First, you have to have another working user profile, with administrator privileges.
  2. Then log off from your profile, which you need to move.
  3. Log in from the other account.
  4. Copy the profile files to wherever you want to move it to. (eg: copy C:\Documents and Settings\YOU to D:\Users\YOU)
  5. Go to regedit and navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
  6. Expand the ProfileList key. You will see something like this:
    profileslistzy0.jpg


    Note: You might see different keys, but they will look similar to these.
  7. Click on the profiles with a long name (eg: S-1-5-21-149326177-3158526017-926773828-1006) and check on the right hand side pane if you can identify which profile is yours. There is an Expandable_String_Value (REG_EXPAND_SZ) called ProfileImagePath, and its value should be the current path of the profile. (i.e. C:\Documents and Settings\YOU). Change its value to D:\Users\YOU.

    profileslistdx7.jpg

  8. Log off and log in from the changed profile.
  9. Now you can delete C:\Documents and Settings\YOU
 

lasanka

Member
Oct 19, 2006
14,542
1
0
38
Welisara
hey dude tnx
thats pretty useful.... i might need to do that my partition for XP is a lil too full for my liking.... sniff
 

Anusha

Member
Jun 13, 2006
25,864
5
0
BlackNight said:
never wanted to do that......anyway thanx for the info
I always wanted to do that because I use disk imaging. If I had the user profile in the default path, and if I had to restore an old image because Windows got screwed up for some reason, I would lose the latest customized settings because it will restore the old user profile.
 

Anusha

Member
Jun 13, 2006
25,864
5
0
And you can more all the profiles like this, but have to use a different profile to do it from, because you can't copy your profile completely to the new location while you are using it. There are at least a couple of files which are in use by Windows.
 

Anusha

Member
Jun 13, 2006
25,864
5
0
lasanka said:
shit i never even thought of dat awesome man... tnx!!!!!!!!!
But you know, the best thing to do is making a customized XP CD using nLite. You can change the default path of the whole Profiles folder (i.e. C:\Documents and Settings) to something else. But if you have more than one hard drive, you have to be careful with the drive letter assignment. For example, if u have 2 drives, XP setup assigns the drive letters this way - C: for the system partition, D: for the primary partition of the next drive, E: for the first logical partition of system drive, F: for the second logical partition of the system drive.....