Sync a redirected My Document folder with SkyDrive

I used this workaround before to sync My Documents folder with Dropbox. But apparently SkyDrive didn’t synced the symbolic link.

Mklink with the /j parameter works with local paths and drives, but I’m using redirected folders for “My Documents” (UNC path). So I needed to use mklink with the /d option. Creating the symbilic link wasn’t a problem, but SkyDrive wouldn’t sync it.

  • Close the SkyDrive application
  • Create a symbolic link with mklink:

Syntax: mklink /d “%userprofile%\SkyDrive\folderYouJustCreated” \\server\share$\profileName\documentsFolder

for example: mklink /d “%userprofile%\SkyDrive\Documents” “\\anatool\home$\devribe\My Documents”

image

  • Launch the SkyDrive application again, syncing will begin.

image

Sync “My Documents” folder with Dropbox

Syncronizing other folders than \My Dropbox is’n’t possible in current Dropbox client version. However by create a link to a folder in the My Dropbox folder you can sync any other folder to!

When you’re on Windows XP use Sysinternals Junction to create a link.
When your on Vista, Server 2008 or Windows 7, use the built in MKLINK command.

My situation was to link My Documents folder, which is redirected by a Group Policy, to \My Dropbox folder. On my client machine I installed Dropbox, configured My Dropbox folder to X:\My Dropbox. Next I had to make a link in X:\My Dropbox\Docs to My Documents folder:

mklink /D "X:\My Dropbox\Docs" "\\anatool\home$\username\My Documents"