Startseite > Group Policy, OneDrive, OneDrive for Business, SharePoint Online > OneDrive | Update: Exclude specific kinds of files from being uploaded

OneDrive | Update: Exclude specific kinds of files from being uploaded

new  Group Policy: Exclude specific kinds of files from being uploaded

[Supplement 23.11.2020]
This is a post to a blog post from 11/16/20. Please read here first


The Microsoft documentation on Group Policy "Exclude certain file types from uploading" is partly incorrect and incomplete.


The registry key is incorrect

Missing information:

currently no Office formats are supported. I have only tested this with docx, xlsx and pptx.  Microsoft has informed me that the documentation will be adapted.

In the wildcard description only the asterisk [*] is described. But also the question mark [?] works.


In the group policy are stored: Files Synchronization
Try.* Tryt Blocked
  Try.mdb Blocked
  Try.docx Synchronized
  Try.xlsx Synchronized
*Exclude*.txt A Exclude Textfile.txt Blocked
  A Exclude Textfile.mdb Synchronized
  A Exclude Textfile.docx Synchronized
TestEx??*.txt TestEx12.txt Blocked
  TestEx13.txt Blocked
  TestEx4.txt Blocked
  TextEx56 Try.pptx Synchronized

Where does this Group Policy work?

This is a computer group policy. Currently, this Group Policy applies to all synchronized areas:

  • OneDrive Personal
  • OneDrive for Business
  • SharePoint document libraries
  • Local synchronization of files "shared with me”
  • Synchronization of "Add to OneDrive" files

Existing files will still be synchronized. Only new files are scanned.


The user can switch to the browser and upload the file manually. Afterwards, this file will also be synchronized. So it is clear that this Group Policy cannot be used as a security feature!


an exclusion on folder level is not possible.


The user does not (yet) get a display which names and wildcards have been created. He has no possibility to read out these parameters.

  1. Jeffrey R
    3. Februar 2021 um 20:35

    Just to follow up. This is now working as expected in version 21.002.0104.0004.

  2. aionon
    14. Januar 2021 um 07:34

    Not working with 20.201.1005.0009 for me either. But I was thinking because it was OneDrive Personal and not business, though this article seems to indicate should work with personal

    • 14. Januar 2021 um 11:35

      It will work also with OneDrive Personal. But maybe you have to wait until 20.219.1029.0007 (from 7.1.2021) Production Ring

  3. Jeffrey R
    16. Dezember 2020 um 17:59

    Excluded *.lnk and dragged a shortcut to desktop. Still syncs.

    • 16. Dezember 2020 um 22:45

      So you have KFM activated (PC Backup)?
      After doing insert of the link, did you restart OneDrive or Rebbot your device

  4. Jeffrey R
    16. Dezember 2020 um 17:27

    This is not working in Production build 20.201.1005.0009. Any word from Microsoft as to why?

  1. 23. November 2020 um 15:34

Kommentar verfassen

Trage deine Daten unten ein oder klicke ein Icon um dich einzuloggen:

Du kommentierst mit Deinem Abmelden /  Ändern )

Google Foto

Du kommentierst mit Deinem Google-Konto. Abmelden /  Ändern )


Du kommentierst mit Deinem Twitter-Konto. Abmelden /  Ändern )


Du kommentierst mit Deinem Facebook-Konto. Abmelden /  Ändern )

Verbinde mit %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

<span>%d</span> Bloggern gefällt das: