OneDrive comes with 15GB of storage for free now, and comes preinstalled on Windows 10. I thought that it’d be a useful cloud location for me to store my profile information since I rarely keep anything important (or classified as personally identifiable information) in the documents folder. However, in true Microsoft fashion OneDrive cripples itself by making itself “too easy”.
In older versions of OneDrive you could change the Properties of the OneDrive folder in order to migrate the folder to another location. This is not possible in the version of OneDrive included with Windows 10 Build 10122. There is no Location tab on the Properties window.
My SSD drive has 38Gb of space left on it. I don’t want anything else stored on it, full stop.
To switch the folder location in Windows 10 you have to unlink your OneDrive account, relink it, and reconfigure it during setup. An awfully long and obscure process.
Right click the OneDrive tray icon and choose Settings. Click on the Unlink OneDrive button as highlighted below.
The OneDrive setup will begin immediately for you to relink.
Enter your Microsoft Account details on the next screen and hit Sign In.
The next screen is the important one. Click Change next to Your OneDrive folder is here:
The UI for the fetch any of my files on this PC option looks like this when you’re logged into OneDrive.com:
The remote access can be turned off and on at will through the OneDrive application:
However, even after access has been disabled through the application any files previously browsed will still appear on OneDrive.com for a short period. Only attempts to browse new files fail. It took a full five minutes before OneDrive complained that it couldn’t connect to my PC.
Now that we have OneDrive configured to use a drive with a decent amount of space, how do we synchronize our profile information?
The option I chose to pursue is to create directory junctions to our profile directories that I wanted uploaded to OneDrive in the newly created OneDrive location. We could use the MKLINK command line tool to create this link for us with an elevated command prompt:
MKLINK /J TARGET SOURCE
You can execute the MKLINK /? command at the command line for a full set of command line options.
You’ll see OneDrive immediately kick in and begin syncing content.
You can also use a directory synchronization tool (either as an automated service or scheduled task) to copy data into your OneDrive folder which would then be synchronized with the cloud.