Onedrive - Restrict synchronization to only one or specific folders (possibly via Reg or Gpo)

A Ska 241 Reputation points
2024-05-02T07:39:18.7333333+00:00

Hi,

I would like to allow company users to use OneDrive but I'm scared about how many problems they could create (because they do not kknow how to use it...)

1: Would it be possible to let users select for the sync only a predefined folder (for example: %userprofile%\Documents\OneDrive_Sync) without risking that they could select the Desktop or the Document folder (that could be of several GBs.)

2: Is it possible to

Thank you!

Microsoft 365
Microsoft 365
Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.
3,913 questions
OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
847 questions
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,142 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Emi Zhang-MSFT 22,161 Reputation points Microsoft Vendor
    2024-05-03T06:39:27.7533333+00:00

    Hi,

    I suggest you refer to this support article about Redirect and move Windows known folders to OneDrive:

    https://learn.microsoft.com/en-us/sharepoint/redirect-known-folders

    You can find the Silently move Windows known folders to OneDrive:

    https://learn.microsoft.com/en-us/sharepoint/use-group-policy#silently-move-windows-known-folders-to-onedrive

    Just checking in to see if the information was helpful. Please let us know if you would like further assistance.


    If the response is helpful, please click "Accept Answer" and upvote it.

    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.

    0 comments No comments

  2. A Ska 241 Reputation points
    2024-05-03T13:10:28.4466667+00:00

    Sorry there was a typo

    ...........................................

    I did find a solution to accomplish this via GPO but I have a doubt about the KFMBlockOptIn Value for those who already backed up their Know folders:

    Prevent users from moving their Windows known folders to OneDrive

    If you disable or don't configure this setting, users can choose to move their known folders.

    Enabling this policy sets the following registry key value to 1:

    [HKLM\SOFTWARE\Policies\Microsoft\OneDrive]"KFMBlockOptIn"=dword:00000001

    To redirect the known folders back to the user's device and enable this policy, set the following registry key value to 2:

    [HKLM\SOFTWARE\Policies\Microsoft\OneDrive]"KFMBlockOptIn"=dword:00000002

    Should I select 00000001 or 00000002???I want to avoid folder redirection and keep Documents and Desktop NOT redirected for those users that erroneously selected the oneDrive Backup

    Thanks