

I can edit the files from within any of the two folders and OneDrive syncs them fine. mklink /J "C:\.\OneDrive\SourceFolder" "C:\SomewhereElse\HardlinkedFolderToCreate" by Dropbox) then that one won't sync it, but that's a rather rare case where you're using OneDrive and Dropbox. Of course, if the destination folder is again synched (e.g. You can edit them in two places and OneDrive will still sync them. So the easiest solution is, to put the original (source) files into the OneDrive folder and symlink it to whereever else destination you want to edit them. OneDrive (which seems like a direct ripoff of Dropbox originally, which has the same problem) does not sync symlinked files, if the source folder or file is not within the OneDrive folder. I know this topic is rather old, however, the problem still exists. Mklink /H isn’t allowed with external drives. If the SD card is missing or corrupt, my account will still be able to login and load (since that's not dependent on the Documents folder). (It will also sync when onedrive is paused and then unpaused, but manually pausing/unpausing all the time is not convenient)įor Documents, i want constant syncing immediately on file-changes, so i moved my Documents folder into OneDrive on the external SD. I normally restart the computer at least once per day, so the desktop gets sync'd daily. For some purposes, this may suffice.įor example, i only occasionally save files on my desktop, so i put a junction link into my OneDrive folder (which resides on an external SD card). However, the junction-linked desktop WILL sync when the computer is restarted (or when user logs off and back on). (other report it used to work, but fails for me as of january 2019). Problem is, mklink /J with external drives doesn’t sync to OneDrive as expected. So i prefer to keep Desktop in it's default location on the local C: drive, and just put a junction link to Desktop into the OneDrive folder on the external drive. I would not feel secure putting my Desktop folder on an external drive, since my Desktop will fail to load if the SD card is missing or corrupt. Does anyone have the answers please? Thanks in advance!

How come and what is the solution?Įxactly the same happens if I use not a junction, but a symbolic link: mklink /D “C:\Users\\OneDrive\My Music” “X:\My Music”Īnd my 2nd question is: how is it possible that the result is exactly the other way around, when I change the procedure and first create the junction (or symbolic link) and then set up OneDrive on my computer? So in that case syncing a file to OneDrive online via the created link works fine, but if I change anything in the ‘My Music’ folder in OneDrive online, that change does not appear in the folder on my data partition. If I change anything in the ‘My Music’ folder on the data partition, that change does appear in the same OneDrive folder that is linked (obviously), but that’s where it stops: no syncing to OneDrive online. But the problem is that the 2-way sync fails. Anything I upload to my OneDrive online appears perfectly in my data partition folder. The uploaded file has appeared in the ‘My Music’ folder on the data partition via the created link.
#Onedrive folder sync pending windows

I have an existing OneDrive account with no files or folders on it yet.Īs far as I understand now, creating a junction is the way to go, although creating a symbolic link could work too in this case. :-(īoth the data partition and the Windows system partition have the NTFS file system. It all works fine… except the 2-way syncing. My goal is to 2-way sync a folder (‘My Music’), located on a separate data partition of my SSD-drive, to the OneDrive cloud via a symbol link.
#Onedrive folder sync pending windows 10
I’ve already read a lot about the problems with Symbolic Links and Windows 10 on internet, but not about the phenomenon I run into now.
