en-US

Exclude specific kinds of files from being uploaded

Supported on: At least Windows Server 2008 R2 or Windows 7

Registry

HKLM SOFTWARE\Policies\Microsoft\OneDrive

Options

List (registry values) list - list under Software\Policies\Microsoft\OneDrive\EnableODIgnoreListFromGPO

Description

This setting lets you enter keywords to prevent the OneDrive sync app (OneDrive.exe) from uploading certain files to OneDrive or SharePoint. You can enter complete names, such as "setup.exe" or use the asterisk (*) as a wildcard character to represent a series of characters. If you enable this setting, the sync app doesn't upload new files that match the keywords you specified. No errors appear for the skipped files, and the files remain in the local OneDrive folder. The OneDrive sync app must be restarted after this setting is enabled for the setting to take effect. If you disable or do not configure this setting, the sync app uploads all supported files in all synced folders.