PDA

View Full Version : Documents and Settings location


isleshocky77
07-30-2003, 02:00 AM
Does anyone know how I make windows XP make Documents and Settings on my D: drive when XP is installed on the C:. I want everything to go to the d: (ie. cookies, temps, app data, documents)
Please help.

oracleguy
07-30-2003, 03:35 AM
To move your My Documents, just right click on the icon on the desktop and click Properties. From there it will let you change the target location.

isleshocky77
07-30-2003, 06:10 AM
No, no, I want everything moved to the other drive. Application data, cookies, documents, userprofiles.

sage45
07-30-2003, 06:55 PM
Create a new Directory on your D: Drive called Documents and Settings...

In your current "Documents and Settings" folder locate the profile (the profile folder is usually named after the User i.e. - Administrator's Profile is C:\Documents and Settings\Administrator ) you want to move (you cannot be logged in as the user you wish to move)...

Copy the profile of the user you wish to move to the "Documents and Settings" folder on your D: Drive...

After a successful copy, go into the registry and locate:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList

Locate the SID that represents the user whos profile you wish to manipulate (easiest way to do this is to select each key and look at the value of "ProfileImagePath", it will show you the username as part of the path and will be the key that you will ultimately need to change)...

Once located, change the "ProfileImagePath" value to represent the new location of the Profile...

If you wish to move the entire "Documents and Settings" folder to the new location, not only will you need to do this for each profile but you will also need to change the "ProfilesDirectory" value which is located at the root of the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList

HTH,

-sage-

Roy Sinclair
07-30-2003, 09:00 PM
In addition to what Sage told you:

Check the Security permissions on those directories before you change anything and make sure you set them the same in the new location you copy them to. Using the XCOPY command line tool for the copying with the switch to copy ACLs(security permissions) is highly recommended. Otherwise you may find yourself with brand new profiles instead of simply getting your profiles moved somewhere else.