Windows 10: Are symbolic links available to sync PC to Onedrive?

Discus and support Are symbolic links available to sync PC to Onedrive? in Windows 10 Customization to solve the problem; I used to use symbolic links to sync files on my PC to OneDrive. But these symbolic links stopped working a while ago. So I do a query, are they... Discussion in 'Windows 10 Customization' started by Nicole Wilkinson1, Mar 19, 2019.

  1. Are symbolic links available to sync PC to Onedrive?


    I used to use symbolic links to sync files on my PC to OneDrive. But these symbolic links stopped working a while ago. So I do a query, are they available?

    :)
     
    Nicole Wilkinson1, Mar 19, 2019
    #1
  2. MennoLN Win User

    2-Way sync doesn't work in OneDrive when using symbolic links or junctions

    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. So here it is…

    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. It all works fine… except the 2-way syncing. It stays a 1-way street somehow. :-(

    Both the data partition and the Windows system partition have the NTFS file system. The data partition has the letter (XAre symbolic links available to sync PC to Onedrive? :). I have an existing OneDrive account with no files or folders on it yet.

    As far as I understand now, creating a junction is the way to go, although creating a symbolic link could work too in this case. The procedure I followed is this:

    1. Opened my OneDrive account online.
    2. Set up OneDrive on my computer.
    3. Keep the standard location of my OneDrive on the system partition: C:\Users\<my user name>\OneDrive.
    4. Opened the command prompt as administrator.
    5. Created the junction with this command: mklink /J “C:\Users\<my user name>\OneDrive\My Music” “X:\My Music”
    6. The ‘My Music’ link appears as a folder underneath the OneDrive icon in Windows Explorer.
    7. Tested if the link with the folder ‘My Music’ on my data-partition actually works. And it does perfectly.
    8. Over to OneDrive online. The ‘My Music’ folder also appeared in my OneDrive online.
    9. Uploaded a random file from my computer into the ‘My Music’ folder to test the syncing.
    10. Uploaded file appears in my OneDrive online.
    11. Back to Windows Explorer on my computer. The uploaded file has appeared in the ‘My Music’ folder on the data partition via the created link.

    So far so good. Anything I upload to my OneDrive online appears perfectly in my data partition folder. But the problem is that the 2-way sync fails. 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. How come and what is the solution?

    Exactly the same happens if I use not a junction, but a symbolic link: mklink /D “C:\Users\<my user name>\OneDrive\My Music” “X:\My Music”

    And 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. Again, it’s only 1 way.

    I just don’t get it. Does anyone have the answers please? Thanks in advance!
     
    MennoLN, Mar 19, 2019
    #2
  3. na51hog Win User
    Mklink - Symbolic Link with NAS & Onedrive

    This does work, and I used it to point OneDrive to my Synology NAS. However, there is a caveat.

    If (when) your OneDrive account becomes disconnected and you reconnect, it will look to the directory with your symbolic links in it and decide if the local drive the links are located on has sufficient space for the files in your NAS location. If not, it will present you with a message about negative disk space - see image Negative Disk Space and won't allow you to 'Next' .

    Are symbolic links available to sync PC to Onedrive? 6nVWI.jpg


    You can, of course, deselect files and folders to sync, and continue. You will be able to access the files through the OneDrive folder, but new or changed files won't sync, which does rather defeat the purpose of OneDrive!

    For you to recover from a disconnect, your locally declared OneDrive location must be larger than the file space occupied by your files in your actual NAS location.

    I overcame this problem by moving my local OneDrive location to a drive that had more empty space than the files occupying my NAS. To do this I created a OneDrive directory on a 2 terabyte internal drive and recreated the Symbolic Links from my original OneDrive location in it (I didn’t want to risk a copy or move of the existing symbolic links in case something untoward happened as a result). Then I unlinked OneDrive from the PC via the Settings in the OneDrive app.

    Restarting the app prompted me to log in and then accept or alter the default location for OneDrive. I selected the OneDrive directory I had created on the 2 terabyte drive and away it went. OneDrive did the math on the local drive disk space vs the space taken on the NAS via the symbolic links, concluded there was now sufficient for synchronisation and signed me in.

    After a short while, OneDrive confirms the local data (on the NAS) is synced with the cloud and we are good to go.

    Hope my experience is helpful to others.
     
    na51hog, Mar 19, 2019
    #3
  4. P4-630 Win User

    Are symbolic links available to sync PC to Onedrive?

    OneDrive Placeholders are coming back, now called On-Demand Sync

    Are symbolic links available to sync PC to Onedrive? [​IMG]


    "At Ignite 2016, Microsoft has just announced that it is bringing Placeholders back to OneDrive on Windows 10. Now, they are not called Placeholders anymore — Microsoft is renaming the feature to “On-Demand Sync” which makes a lot more sense than “Placeholders”.

    The company demoed this feature at Microsoft Ignite today, and it works just like it used to previously. As you can see in the screenshot above, the files stored in OneDrive weighed in around 9GB, but the actual size on disk was only around 3MB which is really neat. Of course, this feature isn’t anything new as it was available back in the Windows 8 days. However, Microsoft removed the feature with Windows 10, and after lots of waiting, they are finally coming back.

    In case you are not familiar with OneDrive Placeholders, it’s a pretty neat feature which lets you see all of your OneDrive files on your computer — but they are not actually downloaded on your PC. When you open them, OneDrive will download the files on-demand, saving your local space which is really useful, especially if you have a PC that doesn’t have a lot of storage.

    While Microsoft didn’t announce when exactly On-Demand Sync will be available to OneDrive users, we suspect it will be available with Windows 10 Redstone 2 — which is expected to arrive early next year.
    "

    https://mspoweruser.com/onedrive-placeholders-coming-back-now-called-demand-sync/
     
    P4-630, Mar 19, 2019
    #4
Thema:

Are symbolic links available to sync PC to Onedrive?

Loading...
  1. Are symbolic links available to sync PC to Onedrive? - Similar Threads - Are symbolic links

  2. Sync folder using links with onedrive.

    in Windows 10 Software and Apps
    Sync folder using links with onedrive.: Hi everyone. I need to find a way to sync a folder in my pc with onedrive without actually saving the files inside the onedrive folder. The reason is that the folder must be able to be accessed from Linux, so after booting back in Windows the files added get synced. Onedrive...
  3. Sync folder using links with onedrive.

    in Windows 10 Network and Sharing
    Sync folder using links with onedrive.: Hi everyone. I need to find a way to sync a folder in my pc with onedrive without actually saving the files inside the onedrive folder. The reason is that the folder must be able to be accessed from Linux, so after booting back in Windows the files added get synced. Onedrive...
  4. Sync folder using links with onedrive.

    in Windows 10 Gaming
    Sync folder using links with onedrive.: Hi everyone. I need to find a way to sync a folder in my pc with onedrive without actually saving the files inside the onedrive folder. The reason is that the folder must be able to be accessed from Linux, so after booting back in Windows the files added get synced. Onedrive...
  5. OneDrive that uses symbolic linked directory

    in Windows 10 Gaming
    OneDrive that uses symbolic linked directory: I have about 950GB of data stored in OneDrive on my Windows 10 machine. But my disk is only 500 GB. I am able to do this by defining a linked folder from C:\OneDrive that points to a second drive mklink /J C:\OneDrive\NoBackup W:\OneDrive.All works fine until I need to select...
  6. OneDrive that uses symbolic linked directory

    in Windows 10 Software and Apps
    OneDrive that uses symbolic linked directory: I have about 950GB of data stored in OneDrive on my Windows 10 machine. But my disk is only 500 GB. I am able to do this by defining a linked folder from C:\OneDrive that points to a second drive mklink /J C:\OneDrive\NoBackup W:\OneDrive.All works fine until I need to select...
  7. OneDrive that uses symbolic linked directory

    in Windows 10 Network and Sharing
    OneDrive that uses symbolic linked directory: I have about 950GB of data stored in OneDrive on my Windows 10 machine. But my disk is only 500 GB. I am able to do this by defining a linked folder from C:\OneDrive that points to a second drive mklink /J C:\OneDrive\NoBackup W:\OneDrive.All works fine until I need to select...
  8. Syncing folders using symbolic links

    in Windows 10 Network and Sharing
    Syncing folders using symbolic links: Hi everyone! I have a question about symbolic links on Windows 10. How can I sync folders using the function "mklink" CMD, and point to a folder which already exists, without creating a new folder? is it even possible? Because when I create a symbolic link in that way, it...
  9. Stop Onedrive from syncing when linking to PC

    in Windows 10 Backup and Restore
    Stop Onedrive from syncing when linking to PC: I want to start onedrive and only sync specific files. When I log into onedrive, it automatically starts to sync all my files, which is much larger than the 5 gigs. I go to settings, and deselect folders, but it keeps adding folders as it sync. Then it gets stuck when it...
  10. Use symbolic links (mklink) to sync OneDrive, does it still work?

    in Windows 10 Network and Sharing
    Use symbolic links (mklink) to sync OneDrive, does it still work?: I've been using symbolic links (mklink/d) to sync files in my computer to onedrive and it has been doing good. However, it didn't work a fee weeks ago and i've tried all methods, e.g. unlink to this computer and link again, check windows updates etc. But none of them worked....

Users found this page by searching for:

  1. symbolic link windows 10 onedrive

    ,
  2. onedrive symlink

    ,
  3. mklink /j folder onedrive icons incorrect

    ,
  4. sync symlink with onedrive,
  5. onedrive symbolic links,
  6. onedrive junctions,
  7. onedrive symbolic link