Sync Any Folder to OneDrive in Windows 10  

Page 12 of 20 FirstFirst ... 21011121314 ... LastLast

  1. Posts : 88
    Windows 10 21H2
       #110

    Hi, I am having an issue.
    My D:\Documents folder which has junction to the Onedrive\Documents.
    Recently I have my Windows re-installed, so those junction are lost. Now when I try to run the command line, it tells me "Cannot create a file when that file already exists" (make sense).
    I try to make the Onedrive\Documents folder unavailable so I can run the command line, and it did run.
    However, the OneDrive tells me this.

    Sync Any Folder to OneDrive in Windows 10-onedrive.png

    So is it a more convenient way to manage these folders outside OneDrive folder? In case a clean Windows installation, I can see it's a nightmare when I have a lot of folders in external hard drives which has junctions to the OneDrive.
      My Computer


  2. Posts : 72,439
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #111

    ntd252 said:
    Hi, I am having an issue.
    My D:\Documents folder which has junction to the Onedrive\Documents.
    Recently I have my Windows re-installed, so those junction are lost. Now when I try to run the command line, it tells me "Cannot create a file when that file already exists" (make sense).
    I try to make the Onedrive\Documents folder unavailable so I can run the command line, and it did run.
    However, the OneDrive tells me this.

    So is it a more convenient way to manage these folders outside OneDrive folder? In case a clean Windows installation, I can see it's a nightmare when I have a lot of folders in external hard drives which has junctions to the OneDrive.
    This would be normal if the folder in OneDrive already exists. The command will only work to sync any folder to a specified folder that will be created in OneDrive, but does not already exist.

    Since this is your Documents folder, you are able to already natively backup this folder to OneDrive using the tutorial below if wanted.

    Turn On or Off OneDrive PC Folder Backup Protection in Windows 10
      My Computers


  3. Posts : 88
    Windows 10 21H2
       #112

    Brink said:
    This would be normal if the folder in OneDrive already exists. The command will only work to sync any folder to a specified folder that will be created in OneDrive, but does not already exist.

    Since this is your Documents folder, you are able to already natively backup this folder to OneDrive using the tutorial below if wanted.

    Turn On or Off OneDrive PC Folder Backup Protection in Windows 10
    Thanks for your quick reply. I will apply that method for my Documents folder. But, as I mentioned, how can I do this for other folders, especially those folders on external drive, which is not always plugged into computer?
      My Computer


  4. Posts : 72,439
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #113

    ntd252 said:
    Thanks for your quick reply. I will apply that method for my Documents folder. But, as I mentioned, how can I do this for other folders, especially those folders on external drive, which is not always plugged into computer?
    You will still be able to, but you will need to specify a folder that doesn't exists in OneDrive yet for each location.

    When the source external drive is not connected, it just will not sync with OneDrive until it's connected
      My Computers


  5. Posts : 88
    Windows 10 21H2
       #114

    Brink said:
    You will still be able to, but you will need to specify a folder that doesn't exists in OneDrive yet for each location.

    When the source external drive is not connected, it just will not sync with OneDrive until it's connected
    That's the problem, I have about 20 folders in external drives, and those folder have been synced with OneDrive. After clean installation of Windows 10, those junctions are lost.
    The only solution I find now is, to delete the folder on OneDrive, and create the junction again. But it's another nightmare, because of those folders' size
      My Computer


  6. Posts : 72,439
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #115

    ntd252 said:
    That's the problem, I have about 20 folders in external drives, and those folder have been synced with OneDrive. After clean installation of Windows 10, those junctions are lost.
    The only solution I find now is, to delete the folder on OneDrive, and create the junction again. But it's another nightmare, because of those folders' size
    I agree. That is one of the major drawbacks about using this method.
      My Computers


  7. Posts : 88
    Windows 10 21H2
       #116

    Brink said:
    I agree. That is one of the major drawbacks about using this method.
    After working around a bit, I find that if I sign out OneDrive (Unlink from my computer), then I can make junction to those folders in external drives (or any other folders which are not inside OneDrive folder). When you sign out the OneDrive, there's still a folder named "OneDrive" on the local user's folder, so making junction to this folder is still legit.

    After making junction again, sign in OneDrive again (remember to choose correct OneDrive folder if you change its location), and this time, it will sync as expected without notifying about duplicated items. At least it saves my day.
      My Computer


  8. Posts : 72,439
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #117

    ntd252 said:
    After working around a bit, I find that if I sign out OneDrive (Unlink from my computer), then I can make junction to those folders in external drives (or any other folders which are not inside OneDrive folder). When you sign out the OneDrive, there's still a folder named "OneDrive" on the local user's folder.
    After making junction again, sign in OneDrive again, and this time, it will sync as expected without notifying about duplicated items. At least it saves my day.
    Great find and news.
      My Computers


  9. Posts : 1
    Windows 10
       #118

    Hey Brink,
    This tip is super useful for my university work and keeping everything safe and up to date across all my devices.
    Question is (and I found someone ask this but it didn't work for me) can I sync from OneDrive to a local folder?
    I want my uni work to be able to be accessed locally and then synced back with the same folder that's on my second device. Is this possible?

    Many thanks,
    Sunsh1ne
      My Computer


  10. Posts : 72,439
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #119

    sunsh1ne said:
    Hey Brink,
    This tip is super useful for my university work and keeping everything safe and up to date across all my devices.
    Question is (and I found someone ask this but it didn't work for me) can I sync from OneDrive to a local folder?
    I want my uni work to be able to be accessed locally and then synced back with the same folder that's on my second device. Is this possible?

    Many thanks,
    Sunsh1ne
    Hello Sunsh1ne, and welcome to Ten Forums.

    You should be able to use "Always keep on this device" below on a OneDrive folder to keep a copy on the local computer even when offline.

    Mark OneDrive Files as Always keep on this device in Windows 10
      My Computers


 

Tutorial Categories

Sync Any Folder to OneDrive in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 14:05.
Find Us




Windows 10 Forums