Windows 10: OneDrive that uses symbolic linked directory

Discus and support OneDrive that uses symbolic linked directory in Windows 10 Gaming to solve the problem; 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... Discussion in 'Windows 10 Gaming' started by booke02, Jul 27, 2022.

  1. booke02 Win User

    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 a folder from OneDrive, which I have not synced until now. The Windows OneDrive applications calculates the space already used by OneDrive as the total of OneDrive data that is downloaded to my machine on both C and W drives, and ignores that fact that I still have 200GB free on C drive.Sounds like a bug to me? Any wo

    :)
     
    booke02, Jul 27, 2022
    #1
  2. Mala_S Win User

    Use symbolic links (mklink) to sync OneDrive, does it still work?

    Hello,

    Thank you for writing to Microsoft Community Forums.

    Symbolic links are used to link a local path of the local OneDrive folder. Files that are put in the linked location will be added to the local OneDrive and will be synchronized to your OneDrive. The mklink command is used to create symbolic links
    at the command prompt. To create a symbolic link to a folder, you must first create a target folder in the local OneDrive and then use the command.

    As the query is related to OneDrive, I would like to inform you that we have a dedicated team for OneDrive in-app support. Please post your query in OneDrive support forum by following the steps.

    1. Sign in to OneDrive.com from any web browser.

    2. Click on ‘?’ help icon on the top banner of the page.

    3. Select Email OneDrive support.

    4. Submit your question and follow the prompts to request support.

    Hope it helps.

    Mala S

    Microsoft Community - Moderator
     
    Mala_S, Jul 27, 2022
    #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' .

    OneDrive that uses symbolic linked directory 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, Jul 27, 2022
    #3
  4. GDavid Win User

    OneDrive that uses symbolic linked directory

    Symbolic link (Junction/s), how-to mklink? Please help with Junction?

    Hi all, having been a member at Seven then Ten forums for a fair while I'm hoping to find a straight answer here..? Apologies in advance if this is too verbose.
    Windows 10 system booting from (UEFI) NVME with 2xSSDs + 2 MHDDs for storage...

    An application (Xperia Companion) which will not let me select or personalise the location for saving backups of my cellular phone data...

    Think I found a fair definition of the differences at the Computer hope site which would suggest it's a Junction I need:
    I want Xperia companion to save backups to F:\Sony Backups NOT the default C:\Users\GD\Documents\Sony. Would the Junction (link) allow me to to fulfill my wants and could someone please demonstrate the mklink commands needed?

    with thanks and regards,
    Dave
     
    GDavid, Jul 27, 2022
    #4
Thema:

OneDrive that uses symbolic linked directory

Loading...
  1. OneDrive that uses symbolic linked directory - Similar Threads - OneDrive uses symbolic

  2. Symbolic links/Folder links

    in Windows 10 Network and Sharing
    Symbolic links/Folder links: Apologies for the long introcution first; I have read a number of questions and answers relating to symbolic links with interest, and have noted that del, rmdir mklink, file explorer are all dangerous tools to use in order to remove a symbolic link. I had a PC with several...
  3. 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...
  4. 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...
  5. How to create a symbolic link in command line and safe start in directory

    in Windows 10 Customization
    How to create a symbolic link in command line and safe start in directory: Hello,Simple question complicated task. When dragging and dropping in Windows and clicking "Create Shortcut here", it creates shortcut and saves "Start in" original directory for that bat file.mklink command line does not have that option.Is that possible?thanks in advance....
  6. 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...
  7. Are symbolic links available to sync PC to Onedrive?

    in Windows 10 Customization
    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?...
  8. 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....
  9. Word does not want to save to a symbolic link directory

    in Windows 10 Network and Sharing
    Word does not want to save to a symbolic link directory: Hi there, I have opened a file from a symbolic link folder (File is located on another computer in a folder that has been linked as a symbolic link on my computer) When I try to do Save As under a different name on the same folder I get "A file error has occurred" error. If...
  10. Symbolic Links (Soft Links)

    in Windows 10 Support
    Symbolic Links (Soft Links): Greetings, I have a large number of symbolic links (soft links) on my PC that I want to migrate to a new machine with an identical directory structure. When I use various backup or copy programs that clone files (bit copy), the symbolic links do not work on the target...