Post by ZF on Apr 25, 2012 9:38:07 GMT -5
FIRST, Create a restore point (they're better in Windows 7 than you might remember):
1. Open System by clicking the Start button, right-clicking Computer, and then clicking Properties.
2. In the left pane, click System protection. If you're prompted for an administrator password or confirmation, type the password or provide confirmation.
3. Click the System Protection tab, and then click Create.
4. In the System Protection dialog box, type a description, and then click Create.
THEN: Go to System Recovery/Command Prompt:
1. Boot with the Win7 Install DVD, choose language, currency and keyboard, and hit Next.
2. At the screen with the "Install Now" choose "Repair your computer"
3. You will be asked if you want to "Repair and Restart" by the System Recovery options, choose "No".
4. Then Make sure that Windows 7 is listed as one of the installed OS's available for recovery, and that it's selected and then press next. You will be given a list of recovery tools.
5. Choose "Command Prompt".
Find your virtual Windows drive loaded from the Win7 media (probably either C or X), find your actual Windows/SSD drive (D or E) and find your HDD (regular hard drive) (D or E).
In my system normally, C=SSD with Windows on it, D=HDD data drive
Using Win7 Update media, the drives in Recovery mode were set up differently, thusly:
X: virtual/temp Windows drive,
E: actual Windows/SSD drive,
D: HDD, hard drive I wanted to put \Users on.
NOTE: in the System Recovery command prompt window, your drives are not the same as they will be after you leave recovery mode! So adjust the commands below for how the drives are in Recovery Mode, and then they'll turn out correct later.
//ZF: Below is the exact command used. To find out the actual directory, move around the drives and dir
robocopy /copyall /mir /xj E:\Users D:\Users
To move \Users from Windows/SSD to HDD.
/mir tells robocopy to mirror the directories, this will copy all files and permissions.
/xj is very important, this tells robocopy not to follow junction points. If you forget this, you will have a lot of trouble.
Make sure no files failed to copy (FAILED column = 0).
rmdir /S /Q E:\Users
mklink /J E:\Users D:\Users
Use the /J switch to create a junction that's a hard symlink. (If you use the /D switch, you'll also have to edit the registry, cuz it won't be a hard link.) Using /J, when Windows looks for the C:\Users dir, it will find it! But it will be on the HDD instead of the SSD. Tricky!
To see the proof of what you've created, still in the command prompt window, go into the actual Windows/SSD and do the "dir" command, and you'll see:
" Users [D:\Users]"
SOURCE:
lifehacker.com/5467758/move-the-users-directory-in-windows-7
1. Open System by clicking the Start button, right-clicking Computer, and then clicking Properties.
2. In the left pane, click System protection. If you're prompted for an administrator password or confirmation, type the password or provide confirmation.
3. Click the System Protection tab, and then click Create.
4. In the System Protection dialog box, type a description, and then click Create.
THEN: Go to System Recovery/Command Prompt:
1. Boot with the Win7 Install DVD, choose language, currency and keyboard, and hit Next.
2. At the screen with the "Install Now" choose "Repair your computer"
3. You will be asked if you want to "Repair and Restart" by the System Recovery options, choose "No".
4. Then Make sure that Windows 7 is listed as one of the installed OS's available for recovery, and that it's selected and then press next. You will be given a list of recovery tools.
5. Choose "Command Prompt".
Find your virtual Windows drive loaded from the Win7 media (probably either C or X), find your actual Windows/SSD drive (D or E) and find your HDD (regular hard drive) (D or E).
In my system normally, C=SSD with Windows on it, D=HDD data drive
Using Win7 Update media, the drives in Recovery mode were set up differently, thusly:
X: virtual/temp Windows drive,
E: actual Windows/SSD drive,
D: HDD, hard drive I wanted to put \Users on.
NOTE: in the System Recovery command prompt window, your drives are not the same as they will be after you leave recovery mode! So adjust the commands below for how the drives are in Recovery Mode, and then they'll turn out correct later.
//ZF: Below is the exact command used. To find out the actual directory, move around the drives and dir
robocopy /copyall /mir /xj E:\Users D:\Users
To move \Users from Windows/SSD to HDD.
/mir tells robocopy to mirror the directories, this will copy all files and permissions.
/xj is very important, this tells robocopy not to follow junction points. If you forget this, you will have a lot of trouble.
Make sure no files failed to copy (FAILED column = 0).
rmdir /S /Q E:\Users
mklink /J E:\Users D:\Users
Use the /J switch to create a junction that's a hard symlink. (If you use the /D switch, you'll also have to edit the registry, cuz it won't be a hard link.) Using /J, when Windows looks for the C:\Users dir, it will find it! But it will be on the HDD instead of the SSD. Tricky!
To see the proof of what you've created, still in the command prompt window, go into the actual Windows/SSD and do the "dir" command, and you'll see:
" Users [D:\Users]"
SOURCE:
lifehacker.com/5467758/move-the-users-directory-in-windows-7