How do I move everything to a second hard drive.

jht95

Honorable
Jan 8, 2014
3
0
10,510
Hello guys! I just bought a 2tb drive to go along with my 500gb drive. I was wondering is there any way to move everything over to my second drive excluding my OS. also, I would like to know if there is a setting to path everything to my 2Tb drive instead of my 500GB drive.
 

SixCoreFiend

Honorable
Jan 11, 2014
69
0
10,660
First off, I am going to make the assumption that you're looking to move your user profile information to the new hard drive. This would include things such as your Documents Folder, Desktop, and Application data folders. This can actually be accomplished within Windows Vista/Windows 7 by two commands.

To start, enable the administrative profile within Windows (as you won't be able to do this successfully logged in under your profile). Easiest way to do this is from the command line with run as administrator:
Code:
net user administrator /active:yes
XML:
You'll also need to set an administrator password:
Code:
net user administrator [u]password[/u]*
XML:
(where the underlined component is to be your password)

Login to your new administrative account, and open another elevated command prompt. Use the following command to copy the data currently in your user profile to the new drive:
XML:
robocopy /MIR /XJ C:\Users\[u]YourUserName[/u]  D:\Users\[u]YourUserName[/u]
(where the underlined component is the username of your account). This part may take some time dependent on how much data you have on your account.

Last, you will need to link your login profile to this new directory that you have created. To do this, you use the following command:
XML:
mklink /J C:\Users\[u]YourUserName[/u]  D:\users\[u]YourUserName[/u]
(where the underlined component is the username of your account).

Then, log out of the Administrator account, and log in from your normal profile. Nothing should have changed from your perspective, but your data will be stored on your secondary drive. Everything that would have mapped automatically should be re-pathed to this as well, since those applications use the location of your profile found within the registry to map themselves in the first place (and the last time re-mapped that). That said, things which have you select a path manually (such as uTorrent) will need to be mapped again the first time you launch them/try to use them.