How to fix OneDrive 'File in Use' or 'Upload Blocked' sync errors
Summary
This guide helps you troubleshoot and resolve: How to fix OneDrive 'File in Use' or 'Upload Blocked' sync errors. Follow the steps below to fix the issue.
Common Causes
OneDrive sync errors such as 'File in Use' or 'Upload Blocked' typically occur when a file is locked by another application, a background process is preventing access, or there is a conflict between the local version and the cloud version. This guide will help you identify the cause and restore your synchronisation.
Quick Fix Steps
Before attempting more complex solutions, try these rapid fixes which resolve the majority of locking issues:
- Close all open applications: Ensure the file in question is not open in any program (Word, Excel, Adobe Acrobat, etc.).
- Check OneDrive web: Sign in to OneDrive in your web browser. If the file is open in a browser tab, close the tab and wait a few moments for the lock to release.
- Restart OneDrive: Right-click the OneDrive icon (blue or white cloud) in the system tray, select Pause syncing, wait a few seconds, and then select Resume syncing.
- Restart your computer: This clears temporary file locks and terminates any hidden background processes that may be holding the file open.
Detailed Instructions
Method 1: Identify and Close Locking Processes
If you have closed the application but the error persists, a "ghost" process may still be running in the background. Before proceeding, save any open work in other applications.
- Press
Ctrl + Shift + Escto open the Task Manager. - Click on the Processes tab.
- Look for any instances of the application that was using the file (e.g.,
Microsoft WordorExcel). - Right-click the process and select End task.
- Check the OneDrive icon to see if the sync error has cleared.
Method 2: Resolve File Name and Path Conflicts
OneDrive can block uploads if the file name contains unsupported characters or the file path is too long for Windows to process.
- Check for invalid characters: Ensure the file name does not contain
"*:<>?/\. - Shorten the file path: If the file is buried deep within many folders, move it to a higher-level folder to reduce the character count of the full path. OneDrive supports a maximum combined path length of approximately 400 characters.
Method 3: Check File Size and Storage Limits
Uploads may be blocked if the file exceeds OneDrive limits or if your storage quota is full.
- Check file size: OneDrive has a maximum file size limit of 250GB per file. If your file is larger, you will need to compress or split it before uploading.
- Check storage quota: Sign in to OneDrive in your web browser, select Settings (gear icon), then Options or Storage. Review your used space against your total allocation. If your quota is full, delete unnecessary files or upgrade your plan.
Method 4: Check for Shared Access and Service Status
Files stored in shared folders or on network locations may be locked by another user, or Microsoft may be experiencing a service outage.
- Check for other users: If the file is in a shared folder or shared network location, ask your colleagues if they have the file open. OneDrive will block syncing if another user has the document open for editing.
- Check Microsoft service status: Visit the Microsoft 365 Service Health status page in your web browser to confirm there are no active outages affecting OneDrive synchronisation.
Method 5: Reset OneDrive
If files are consistently blocked despite being closed, resetting the OneDrive application can refresh the sync engine without deleting your data.
- Press the
Windows Key + Rto open the Run dialogue. - Copy and paste the following command and press Enter:
%localappdata%\Microsoft\OneDrive\onedrive.exe /reset - If you see a "Windows cannot find..." message, try:
C:\Program Files\Microsoft OneDrive\onedrive.exe /reset - Wait a few minutes, then manually start OneDrive from the Start menu if it doesn't restart automatically.
Troubleshooting Persistent Issues
Dealing with 'Office Upload Blocked'
When using Microsoft 365 apps, Office upload settings can sometimes clash with OneDrive's built-in sync. Menu paths may vary depending on your OneDrive version.
- Right-click the OneDrive cloud icon and select Settings.
- Navigate to the Office tab (or Sync and backup > Advanced settings in newer versions).
- Uncheck the box for Use Office applications to sync Office files that I open.
- Click OK and restart your computer.
Checking for Permission Issues
If you cannot rename or move the file to resolve the block, you may have lost "Write" permissions for that specific folder.
- Right-click the folder containing the blocked file and select Properties.
- Go to the Security tab.
- Ensure your user account has Full control or Modify permissions checked.
Check for Windows and OneDrive Updates
Outdated software can cause sync conflicts and file locking errors.
- Windows Update: Open Settings > Update & Security > Windows Update and select Check for updates. Install any available updates and restart your computer.
- OneDrive app updates: OneDrive typically updates automatically, but you can check for updates by right-clicking the OneDrive icon in the system tray, selecting Help & Settings > Settings > About, and confirming you are running the latest version.
If you are experiencing broader Microsoft 365 connectivity issues, you may find our other guides useful, such as Troubleshooting Outlook Send/Receive Errors or Backing Up and Restoring Outlook Data Files.
If these steps do not resolve the issue, please Open a Ticket and provide a screenshot of the exact error message.
Still Having Issues?
💻 Open a Ticket