Move your Documents And Settings USERNAME profile off of the C: drive

Home -> Windows

56402 views

From the computer of: ibe98765 (3 recipes)
Created: Jun 03, 2006     Updated: Jun 07, 2006


13 comments:
View all comments

Add a comment

Add to:
Add to stumbleuponAdd to del.icio.usDigg itAdd to FURL

Microsoft (and too many other amateurs) dump everything onto the C: drive. They aren't cognizant of the advantages of using partitioning or logical drives. What follows is a power user tip that allows you to relatively easily move ALL your personalized settings in C:\Documents and Settings to another partition. This is a damm sight easier than messing with TweakUI, X-Setup, etc. I keep my settings on my D: drive. This way, if I have to wipe the C: drive to refresh Windows, I can easily get most of my settings and old files back instead of starting from ground zero. This has worked for me in Win2k and WinXP and has made systems refreshes a lot easier over the years. Note that you're really just changing one registry sub-key here. The rest is just to logoff the user account, copy the settings to the new location and then logon to the user account.

Step 1
1. Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\ProfileList
2. Under this key, there will be some number of profiles (usually 6), each of these which represents a user name that you will find under C:\Documents and Settings.
3. Click on each PROFILE key entry and look at the value ProfileImagePath to identify which one represents your username.
4. Inside the registry editor, using RegEdit or a clone registry editing program (I use Registrar Lite), edit this ProfileImagePath value that represents your username and CHANGE the path to where you want to move your settings to. In my case, I wanted to move my settings from C:\Documents and Settings\USERNAME to "D:\Documents and Settings\USERNAME".
5. Save this new path value in the registry editing program.
6. Now export the whole profile key that contains this value. You will be prompted for a file name to save the exported information to. Pick a location on your hard disk (not on the C drive) and export the key. When you finish the export and look at the output file, it should look something like this (note that exported filename locations inside the registry always represent a single "\" character with two "\\" characters)


REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-21-220523388-484763869-725345543-1003]
"ProfileImagePath"="D:\\Documents and Settings\\USERNAME"
"Sid"=hex01,05,00,00,00,00,00,05,15,00,00,00,7c,eb,24,0d,dd,e8,e4,1c,07,e5,3b,\2b,eb,03,00,00
"Flags"=dword00000000
"State"=dword00000100
"CentralProfile"=""
"ProfileLoadTimeLow"=dword68b90756
"ProfileLoadTimeHigh"=dword01c5b12b
"RefCount"=dword00000001
"RunLogonScriptSync"=dword00000030
"OptimizedLogonStatus"=dword0000000b


7. Delete everything below your new path name. It should now look like this:


REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-21-220523388-484763869-725345543-1003]
"ProfileImagePath"="D:\\Documents and Settings\\USERNAME"


Step 2
1. Now do a full reboot (don't just logoff/on) and sign into the ADMINISTRATOR account
2. Copy C:\Documents and Settings\Username folder (including all sub-folders) to the new path location where the target users personal settings are to be saved (D:\Documents and Settings\XYZ in this example).
3. Logoff the Administrator account and back onto the User account
4. Run the registry file you previously exported to and edited with the .REG extension (right-click it and choose merge)
5. Reboot the computer again and logon to the USER account
6. Go to C:\Documents and Settings\Username and try to delete the complete folder structure
8. If Windows allows you to do this, then you have successfully transferred your settings to the new path location and all is well. Voila!

9. If Windows says that you can't delete it because it or something in it is required by the system, then you've done something wrong. Open Regedit and make sure that you have modified the correct location for the user account and that it has been correctly updated.
10. If you have the right location and it hasn't been updated, figure out why.
11. You might have to do a system restore if you've messed something up badly, so take a backup before and be prepared to do this if necessary.
12. Generally, an imaging program that can be initiated from DOS is the best way to restore everything if you run into problems.

Subscribe to the Tech-Recipes Newsletter

You can get tips like this delivered in your email every week!

Enter your Email

We will never, ever sell your email address or spam you.




13 Recipe comments: View comments

Move your Documents And Settings USERNAME profile off of the by ibe98765
Re: Move your Documents And Settings USERNAME profile off of the by davak
Thanks! by ibe98765
Re: Move your Documents And Settings USERNAME profile off of the by qmchenry
Great Freaking Tip and it works PERFECT! Thanks !! by zeeon
I'm just about to do this by scottybailey
I'm nearly there with moving coduments and settings but.... by scottybailey
Re: Move your Documents And Settings USERNAME profile off of the by gna
Re: Move your Documents And Settings USERNAME profile off of the by dkdj5
Re: Move your Documents And Settings USERNAME profile off of the by myki72
THANK ibe98765 by X131
painless method of moving Documents and Settings by richardhula
Re: Move your Documents And Settings USERNAME profile off of the by ibe98765



Related recipes:

  XP: How To Duplicate A User Profile
  XP: How Do I Make A Folder Private
  Map local Windows drive path to a drive letter from the command line
  XP: How to add to the Send To Menu in Windows
  Outlook 2007: Change Where Archived Items are Saved
  Saving Your Settings In Microsoft Office 2003
  XP: Resolve Incorrectly Displayed Icons
  Vista: Move the Windows Mail Storage Folder
  Vista: Change Recycle Bin Space Allocation
  DVDFab Platinum: Change the Location of Your Temporary and Output Directories

 

Sponsored links

 

Login

Nickname

Password

Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.