You see a message that OneDrive cannot upload a file. The upload icon shows a red circle with a white minus sign or a red X. This happens when a file type, file size, or sync path is blocked by your organization’s policies or by a local setting. This article explains the most common causes of upload blocked messages and shows you step-by-step fixes for each scenario.
Key Takeaways: Fix OneDrive Upload Blocked Messages
- OneDrive settings > Sync and backup > Advanced settings > Files On-Demand: Enables or disables Files On-Demand, which can cause blocked uploads when disabled.
- Microsoft 365 admin center > Settings > Org settings > OneDrive > Sync: Controls tenant-wide sync restrictions, file type blocking, and Known Folder Move behavior.
- Local Group Policy Editor > Computer Configuration > Administrative Templates > OneDrive: Applies policy-based restrictions that override user settings and can block specific file types or paths.
Why OneDrive Blocks File Uploads
OneDrive blocks uploads for three main reasons: file type restrictions set by your IT admin, file size limits, and sync path conflicts. Organizations often block executable files, script files, or archive formats to prevent malware or data leaks. File size limits apply at the tenant level and per-file. Sync path conflicts occur when the local folder path exceeds 255 characters or contains unsupported characters like " : < > ? |. Understanding which category your blocked file falls into helps you apply the correct fix.
File Type Restrictions
IT admins can block file extensions such as .exe, .msi, .bat, .cmd, .vbs, .ps1, .zip, .rar, and .7z. These restrictions are applied through the Microsoft 365 admin center or Group Policy. When you try to upload a blocked type, OneDrive shows a message like “This file type can’t be synced” or “Upload blocked by your organization.”
File Size Limits
OneDrive for Business has a default maximum file upload size of 250 GB per file. However, your organization may set a lower limit. If the file exceeds the limit, the upload fails immediately with a blocked message. Network interruptions can also cause partial uploads that appear blocked.
Sync Path Conflicts
Windows and OneDrive have path length limits. The full path including the file name cannot exceed 400 characters for OneDrive sync. Paths longer than this trigger a blocked error. Additionally, files with names containing unsupported characters will not upload.
Steps to Fix OneDrive Upload Blocked Messages
Method 1: Check File Type Restrictions
- Identify the blocked file extension
Right-click the file in File Explorer and select Properties. Look at the Type of file field. Note the extension after the last dot, for example .exe or .zip. - Check if the extension is blocked by policy
Open a browser and sign in to the Microsoft 365 admin center at admin.microsoft.com. Go to Settings > Org settings > OneDrive > Sync. Under Block file types, see if your extension is listed. If it is, contact your IT admin to request an exception. - Work around the block
If the extension is blocked and you cannot get an exception, rename the file to a non-blocked extension like .txt before uploading. After uploading, rename it back. This only works if your organization does not scan file headers.
Method 2: Verify File Size Limits
- Check the file size
Right-click the file and select Properties. On the General tab, read the Size value. Compare it to the default 250 GB limit or your organization’s limit. - Test with a smaller file
Create a copy of the file and reduce its size by removing content or compressing it. Try uploading the smaller copy. If it uploads, the original file likely exceeds the size limit. - Upload in parts
For very large files, split the file using a tool like 7-Zip into parts under 10 GB each. Upload each part separately.
Method 3: Fix Sync Path Conflicts
- Check the full path length
Open File Explorer and navigate to the file. Click the address bar to see the full path. Count the characters including the drive letter, colons, backslashes, and file name. If it exceeds 400 characters, shorten it. - Rename folders to shorten the path
Rename deep folder structures to shorter names. For example, change “Project Alpha 2024 Budget Reports” to “ProjA_Budget24”. Move the file to a folder closer to the root of your OneDrive folder. - Remove unsupported characters
Check the file name for characters" : < > ? | \. Rename the file to remove these characters. Use only letters, numbers, spaces, hyphens, and underscores.
Method 4: Reset OneDrive Sync Connection
- Close OneDrive
Right-click the OneDrive cloud icon in the system tray and select Pause syncing > Quit OneDrive. - Open Run dialog
Press Windows key + R, type%localappdata%\Microsoft\OneDrive\onedrive.exe /reset, and press Enter. - Wait for reset to complete
A command window opens briefly. After it closes, wait 30 seconds. Press Windows key + R again, type%localappdata%\Microsoft\OneDrive\onedrive.exe, and press Enter to restart OneDrive. - Re-upload the file
After OneDrive re-syncs, try uploading the blocked file again.
If OneDrive Still Shows Upload Blocked Messages
OneDrive Shows “Upload blocked by your organization” for All Files
This indicates a tenant-wide sync restriction. Contact your IT admin and ask them to check the Microsoft 365 admin center > Settings > Org settings > OneDrive > Sync page. They may have enabled the Block sync for specific file types option or disabled sync entirely for your device.
OneDrive Shows “Can’t upload file” with Red X on Shared Files
When a file is shared with you and you cannot upload changes, the owner may have set permissions to View only. Open the file in the browser, click the Share button, and check your access level. Ask the owner to grant Edit permissions.
OneDrive Shows “Upload blocked” After a Windows Update
Windows updates can reset OneDrive settings or cause conflicts with third-party antivirus software. Open OneDrive settings > Sync and backup > Advanced settings and verify that Files On-Demand is enabled. Temporarily disable your antivirus real-time protection and test the upload. If it works, add an exception for the OneDrive process in your antivirus settings.
Files On-Demand vs Always Keep on This Device: Key Differences
| Item | Files On-Demand Enabled | Files On-Demand Disabled |
|---|---|---|
| Description | Files appear in File Explorer but download only when opened | All files are downloaded to the local drive |
| Disk space usage | Low — only thumbnails and metadata stored locally | High — full file content stored for every synced file |
| Upload blocked impact | Blocked files remain as online-only placeholders | Blocked files show a red X and cannot be opened offline |
| Best for | Devices with limited storage or many large files | Devices with ample storage and offline access needs |
After applying the fixes above, you can resolve most OneDrive upload blocked messages by identifying whether the block is due to file type, size, or path restrictions. If the problem persists, resetting the sync connection or contacting your IT admin for policy exceptions is the next step. For ongoing management, enable Files On-Demand to reduce local storage conflicts and review the blocked file types list in the admin center quarterly.