(Updated) Exclude specific files from OneDrive sync

(Updated) Exclude specific files from OneDrive sync

Date: December 3, 2020



Updated December 15, 2020: We have updated the rollout timeline below. Thank you for your patience.

We are introducing a setting that allows you to exclude newly added OneDrive files from syncing to the cloud by file name or extension on Windows devices.

This message is associated with Microsoft 365 Roadmap ID 66188.


When This Will Happen

  • This setting is available in OneDrive version 20.201 in the Insiders ring in early November.
  • The setting will be generally available at the end of January (previously December).


How This Will Affect Your Organization


This setting lets you prevent the OneDrive sync app (OneDrive.exe) from uploading specific files to OneDrive or SharePoint. For example, you can exclude .lnk files to avoid syncing new shortcut files. No errors appear for the skipped files, and the files remain in the local OneDrive folder.

In File Explorer, the files appear with a "do not enter" icon in the Status column.

File explorer

This change is visible to end users via a new excluded icon and will not result in a red X error.

Sync warning

What You Need To Do To Prepare

You can find the new setting in the admx/adml files that ship with OneDrive version 20.201.

  • If you are currently using the admin center setting to block certain file types from being uploaded from the OneDrive sync app, you will need to first enable this new setting, make sure it's applied by restarting the OneDrive sync app, and then disable that current setting in admin center.
  • If you enable this setting, the sync app will not upload new files that match the rules you specified. There is no impact on existing files uploaded to OneDrive and SharePoint.

Learn more:Exclude specific kinds of files from being uploaded





Article ID: 123032
Sat 12/19/20 2:35 PM