Jump to content

change location of %userprofile%


Recommended Posts

Posted

Basically what I want to do is move the location of C:\users to E:\users

I know that individual folders(c:\users\username\music) can be moved by rightclick > properties > location , but that is obviously too slow.

I tried registry editing . but that didn't work ( I have no idea why)

In short the "userprofile" environment variable is needs to be changed. Googling around suggested this can be done through group policy, but for some moronic reason group-policy is disabled in home premium!

Help


Posted

It's disabled because it's not for a domain environment - as was XP Home.

Copy the Profile directory to the new drive.

Your registry hack should work now provided you have all the keys set correctly.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\Shell Folders

Should be where it's set. I don't seem to see any others that may interfere.

Posted

I found some others.

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders

These are created from HKEY_USERS\.default but expanded once a new profile is created and stuffed into HKEY_CURRENT_USER.

Posted

If they have no profile already, then it should.

If they already have a profile, then you'll need to log in as them and modify the HKEY_CURRENT_USER keys pointing to the new location.

Posted

I also set the entries under "[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders]". Although these are not strings, but defined in hex-format (REG_EXPAND_SZ). This worked fine for me for the following settings:

"My Video", "My Pictures", "Desktop", "Favorites", "Start Menu", "My Music", "Programs", "Startup", "Administrative Tools", "Personal"

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...