Subscribe to Windows IT Pro
November 20, 2000 12:00 AM

How do I change the directory in which the system stores profiles?

Windows IT Pro
InstantDoc ID #16151
Rating: (5)

A. Windows NT 4.0 and earlier versions of NT store profiles in the %systemroot%\Profiles folder. Windows 2000 stores profiles in %systemdrive%\Documents and Settings, but the OS lets you specify a different location. To change the location, take the following steps:

  1. Create a new folder to host the profiles.
  2. Copy all existing profiles from the %systemdrive%\Documents and Settings folder to the folder you just created. (Note: If you're copying from NTFS to NTFS, use the XCOPY command with the /o switch to maintain any ACLs on the files.)
  3. Launch regedit.exe, and go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList.
  4. Double-click ProfilesDirectory.
  5. Enter the path to the new folder, and click OK.

You can change the profile Win2K uses for default users by modifying the DefaultUserProfile string value, and you can change the profile Win2K uses for all users by modifying AllUsersProfile.

Related Content:

ARTICLE TOOLS

Comments
  • Anonymous User
    7 years ago
    Jul 25, 2005

    Here's how I suceeded in migrating profile.
    1. First, create a new user, eg ProfileTemp, with full admin priveleges. Log in as ProfileTemp
    2. Copy profiles across to new location, using xcopy. I used the switches /E /F /H /K /O /C /R. Use xcopy /? for an explanation of these.
    3. Using regedit, in the reg key mentioned (HKLM\\...\\WindowsNT\\CurrentVersion\\ProfileList) AND ALL SUBKEYS, search and replace all instances of the old profiles directory path with the new. Restart computer and log in again as ProfileTemp.
    4. If you look in new profiles directory, you may see a new profile named "ProfileTemp.{Full computer name}. This is the active profile.
    5. Search registry for all occurrences of old profile directory path, and change to new path. I do this by exporting the relevant registry keys, using search and replace in a text editor to change the paths, and then double-clicking and importing my modified reg settings into the registry.
    6. Restart. Log in as Administrator. Remove user ProfileTemp from computer using the "Users and Passwords" applet in control panel.
    7. Restart. Log in as Administrator. You can now delete the old profile directory, and all profile directories belonging to ProfileTemp.

  • Anonymous User
    7 years ago
    Apr 04, 2005

    Hi, I have jsut changed the path to another user's - but now when i try to log in it says Access Denied and loads the default profile.
    I have checked permissions under documents and settings.wyn

  • Anonymous User
    7 years ago
    Apr 03, 2005

    You can change the profile Win2K uses for default users by modifying the DefaultUserProfile string value, and you can change the profile Win2K uses for all users by modifying AllUsersProfile.

    what change in AllUsersProfile

  • Martin
    7 years ago
    Mar 03, 2005

    Hi
    Can you explain this from the beginning again exactly how to do it?

    I want to completely move win xp´s profile and "Documents and settings" to my d: partition

    and can you also explain where and how i choose the new "Documents and settings" and profile when i install win xp again?

  • Pierre
    9 years ago
    Dec 16, 2003

    sorry but it doesn't seem to work in Windows 2000
    how to copy ?...ok i tried but the xcopy doesn't work...

You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.