Jump to content

[help]Move %USERPROFILE% to other Drive


Climbing

Recommended Posts

On my Windows XP, How can I move "Documents and Settings" to aother drive (eg. D:\, preferebly without reinstallation of Win XP).

If this is impossible, how can I move %USERPROFILE%(eg c:\Documents and Settings\Tom) to another location(eg. d:\Tom)?

Your help is appreciated.

Thanks,

Link to comment
Share on other sites


eNuffSaid : Thanks for reply, but I know that way, I can also do that by modify "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders"

Personal="Some Driver:\\New Location".

But I want to move the default %userprofile% location(C:\Documents and Setting\UserName) To another drive.

thanks,

Climbing

Link to comment
Share on other sites

Hi Climbing,

there a a few ways to change the location for your profiles

using a new installation:

- use a winnt.sif with the following code in it

[GuiUnattended]

ProfilesDir=%Systemdrive%\Profile

- use a predefined value in hivesft.inf for new setups

search for "DEFAULT_PROFILES_DIR", you will find something like this

DEFAULT_PROFILES_DIR="%SystemDrive%\Profile"

when you want to cahnge your existing installation:

- copy all files and folders in the specified profile to the new direction, then open regedit and search for "original_profile_path" and replace with "your_new_propfile_path" but be sure you replace every value!!!

For new profiles make the same with "default_profiles_dir_path"

When you try the last one, it can take a while, cause of a lot entries in your registry :)

hope that helps, greez to all..

Link to comment
Share on other sites

using a new installation:

- use a winnt.sif with the following code in it

...

- use a predefined value in hivesft.inf for new setups

search for "DEFAULT_PROFILES_DIR", you will find something like this

DEFAULT_PROFILES_DIR="%SystemDrive%\Profile"

Question 1: Where can I find this hivesft.inf?

when you want to cahnge your existing installation:

- copy all files and folders in the specified profile to the new direction, then open regedit and search for "original_profile_path" and replace with "your_new_propfile_path" but be sure you replace every value!!!

For new profiles make the same with "default_profiles_dir_path"

When you try the last one, it can take a while, cause of a lot entries in your registry

Question 2: I think this way may similar the way above to change the registry "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" subkeys' values. I don't think this is complex as you said.

Link to comment
Share on other sites

Hi Climbing,

1) the file hivesft.inf is in the i386 folder

2) normally your right with this key, but if you have allready installed some software there may be more keys in ohter sections, so just try to search for your profilesdir root in the registry and you will see what i mean!

Have a nice day :)

Link to comment
Share on other sites

Hi Climbing,

1) the file hivesft.inf is in the i386 folder

2) normally your right with this key, but if you have allready installed some software there may be more keys in ohter sections, so just try to search for your profilesdir  root in the registry and you will see what i mean!

Have a nice day :)

anyway, thanks a lot. I'll try and back here.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...