Restirct OneDrive Sync Client to specific file type

AlexRobert 1 Reputation point
2021-12-08T11:45:38.297+00:00

Hi everyone,

I referring below article to block certain file types to be uploaded using OneDrive Sync client. This sync client is saving data to our onprem server.
https://learn.microsoft.com/en-us/onedrive/use-group-policy#exclude-specific-kinds-of-files-from-being-uploaded

I created "EnableODIgnoreListFromGPO" REG_SZ entry to my machine to below path.

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\OneDrive

under that I created different REG_SZ entries value which is file type like .exe and others. However this settings are not working, I restarted my machine and reset the OneDrive Client also, however it is not restricting anything.

Anyone can highlight where I am wrong or any additional steps which is not mentioned in MS docs.

Microsoft 365 and Office | OneDrive | For business | Windows
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Emily Hua-MSFT 27,796 Reputation points
    2021-12-09T05:59:59.843+00:00

    Hi @AlexRobert ,

    Based on your description, I can not reproduce your issue.

    Could you please take a screenshot of your "EnableODIgnoreListFromGPO" entry as following image? I would check the registry key.
    156182-capture34.jpg

    I would also suggest you add the asterisk as a wildcard character to represent a series of characters, such as *.exe.

    If none of these works, can you test using GPO policy?
    Then please temporarily close the OneDrive client for a period of time, and then reopen it for a test?

    Any updates, please let me know.


    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.


    0 comments No comments

  2. AlexRobert 1 Reputation point
    2021-12-09T06:37:23.047+00:00

    @Emily Hua-MSFT , Thanks for your response. Yes configured in the same way...

    Additional finding for this : I check same settings it looks fine in SharePoint Online, however same settings is not working if it completely on prem solution. Now I am confused as we are managing it from Registry then why it is matter SharePoint online or on prem.

    156184-image.png


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.