Can I sync files from other folders outside of the onedrive folder?

Anonymous
2025-01-09T13:20:27+00:00

Hello,

I was going to install corporate onedrive last night but then it wanted to put onedrive in a folder e.g. \documents\onedrive.

I've never used onedrive before - can I have it sync files in the root folder documents? or even other folders including root folders e.g. C:\save

Microsoft 365 and Office | OneDrive | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Anonymous
    2025-01-09T14:40:31+00:00

    Dear Boe,

    Good day! Thank you for reaching out to the Microsoft Community. We are here to assist you.

    Yes, you can sync files from other folders outside of the OneDrive folder using MKLink. You can create symbolic links (symlinks) to sync any folder with OneDrive. This method involves creating a link between the folder you want to sync and the OneDrive folder. Here's how you can do it:

    1. Open Command Prompt as an administrator.
    2. Use the mklink command to create a symbolic link. For example: mklink /D "C:\Users\YourUsername\OneDrive\FolderName" "C:\Path\To\FolderYouWantToSync"

    More details can be found in Can't synchronize OneDrive files and folders from a local file location other than the default OneDrive path - Microsoft Support

    If you want to move the location of your OneDrive folders in your computer, you will need to unlink, move, then relink your OneDrive to the location as mentioned in Change the location of your OneDrive folder - Microsoft Support



    Kindly let me know if your situation differs from the one described above, with additional details, I will be able to provide you with a tailored suggestion.

    I hope you are staying safe and well! Have a great day and take care! 😊 

    Sincerely, 

    Naren | Microsoft Community Moderator

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments