Is there a group policy or intune policy that can enforce the backup of folder in local D drive to user's OneDrive account

Bob Han、 21 Reputation points
2024-07-29T02:07:25.16+00:00

I know there is a way in OneDrive sync tool to backup of default documents, picture and desktop folder to OneDrive. This is not the function I am talking about unless it can also achieve the following end goal.

All users in my company will have their personal files stores under drive D, in order to enforce them use OneDrive, I would like to have an group policy or intune policy that can enforce the sync between D drive and their OneDrive account, so everything they created under D drive will be synced to OneDrive.

I am not asking for a way to upload the files to OneDrive, but to force the sync to OneDrive.

Thank you in advance

OneDrive Management
OneDrive Management
OneDrive: A Microsoft file hosting and synchronization service.Management: The act or process of organizing, handling, directing or controlling something.
1,252 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
5,070 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Xenia-MSFT 2,345 Reputation points Microsoft Vendor
    2024-07-29T05:43:55.1333333+00:00

    @Bob Han、Thanks for posting in our Q&A.
    Honestly, I didn't find that we can make it via intune. What intune can do is based on what windows CSP provided. Currently, there is no such CSP.

    I have searched a lot, if you are willing, you may create MKlink to sync any directory to your OneDrive. Here is the link:

    https://winbuzzer.com/2020/07/24/how-to-onedrive-folder-sync-any-directory-via-mklink-xcxwbt/#:~:text=mklink%20is%20a%20Windows%20command%20that%20lets%20users,makes%20Windows%20think%20its%20contents%20are%20actually%20there.

    Note: Non-Microsoft link, just for the reference.

    Hope it is what you want.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.