How to Exclude an Individual File from OneDrive Uploads
Question details
The user wants to know if there is a way to exclude one specific file from being uploaded or synchronized to OneDrive.

- Product
- OneDrive for Business
- Device & OS
- not provided
- Scenario
- Trying to prevent a single file from syncing to the cloud while keeping the rest of the folder synchronized.
- Observed behavior
- OneDrive offers a 'Choose folders' option but lacks an 'Exclude' button or setting for individual files.
Identify the exact file you want to exclude and ensure you have administrative access if you plan to modify global file type sync settings.
Move the File to an Unsynced Local Folder
Since OneDrive cannot exclude a single file within a synced folder, the most direct workaround is to relocate the file outside of the OneDrive directory.
OneDrive processes all files within its designated folders. Removing the file from this environment ensures it remains exclusively on your local device without triggering an upload.
Open File Explorer and navigate to your OneDrive folder where the target file is currently stored.
Right-click the specific file you want to exclude from synchronization and select 'Cut' from the context menu.
Navigate to a local folder that is not backed up by OneDrive (such as a custom folder on your C: drive), right-click, and select 'Paste'.
Block Specific File Types in OneDrive Admin Center
If the file you want to exclude has a unique extension, you can block that entire file type from syncing across the organization.
Use WPS Office for Flexible File Management
If OneDrive's syncing limitations are frustrating, consider managing your documents with WPS Office. It provides complete control over your files, allowing you to easily decide which documents are saved locally and which are backed up to the cloud, all within a highly compatible, free Office suite.
- 1. Download and Install: Get WPS Office from the official website and install it on your device.
- 2. Open Your Document: Launch WPS Writer, Spreadsheet, or Presentation and open your file.
- 3. Save Locally: Go to Menu > Save As, and choose a strictly local folder on your computer to bypass any unwanted cloud synchronization.

Frequently Asked Questions
Does the 'Choose folders' setting in OneDrive allow individual file exclusions?
No, the 'Choose folders' setting only allows you to select entire folders to sync or hide. It does not provide granular control to exclude individual files within a folder that is already selected for synchronization.
Can I exclude a file from OneDrive by making it hidden in Windows?
Making a file hidden in Windows File Explorer does not stop OneDrive from syncing it. The file will still be uploaded to the cloud and synchronized across your connected devices, even if it is not visible by default.
What happens to my local file if I delete it from OneDrive online?
If you delete a file from OneDrive on the web, the sync client will automatically delete it from your local synchronized folder as well. To keep it locally without syncing, you must move it outside the OneDrive folder structure before deleting it online.
How can I request an individual file exclusion feature from Microsoft?
You can suggest this feature by visiting the official OneDrive feedback portal. Submitting a request helps Microsoft developers understand user needs and may influence future updates to the OneDrive sync client.




