Not logged in - Login

Move User & ProgramData folders to different drive during clean install

Most of this information was pulled from the following page:

How to move user profile in Windows 7 to another directory / drive:

    1. After installing windows 7 you will be greeted with a user creation prompt press shift+f10 and you should get a cmd window.
    2. Copy the Users Profiles and ProgramData Folders onto the Partition you want to use.
      1. robocopy "C:\Users" "D:\Users" /E /COPYALL /XJ
      2. robocopy "C:\ProgramData" "D:\ProgramData" /E /COPYALL /XJ
    3. Delete the old folders and create links for User Profiles:
      1. rmdir "C:\users" /S /Q
      2. mklink /J "C:\users" "D:\users"
    4. Delete the old folders and create links for ProgramData:
      1. rmdir "C:\ProgramData" /S /Q
      2. mklink /J "C:\ProgramData "D:\ProgramData"
    5. If you have any permissions issues while deleting C:\ProgramData, don't worry about them. Try to delete it and make the links again after the first reboot.
    6. Open the registry editor by typing 'regedit' in the cmd window.
      1. For the user profiles you'll need to go to HKEY_LOCAL_MACHINE\Software\Microsoft\Wi­ndows NT\CurrentVersion\ProfileList and again edit the user and program data paths as needed.
      2. Exit the Registry Editor and the cmd window.
    7. Reboot your computer and you should be good to go.

Warning: It might be tempting, but do NOT move the default location of the 'Program Files' directory. It'll appear to work, but you end up getting all kinds of mysterious errors when doing software updates (especially with Microsoft Office).

Additional Note: if you move the 'User Profiles' folder to a different drive, the 'System Refresh' function that is part of the Windows repair/recovery area will not work.