Identifying the Problem
Before applying a fix, understand what OneDrive is telling you.Check the OneDrive tray icon
- White cloud, animated arrows: Actively syncing
- White cloud, no animation: Sync is up to date
- Blue cloud: Personal OneDrive sync in progress
- Red circle with X: Sync error — click to see details
- Yellow triangle with !: Warning — something needs attention but sync is still running
- Grey cloud: OneDrive is not running or signed out
View sync errors
Check Windows Event Viewer (advanced)
Common Error Codes
0x8007016A — The Cloud File Provider Is Not Running
0x8007016A — The Cloud File Provider Is Not Running
- Restart OneDrive: Right-click the system tray icon → Close OneDrive, then relaunch from the Start menu or by pressing
Win + Rand typing%localappdata%\Microsoft\OneDrive\OneDrive.exe. - If the error persists, restart the Windows Storage Service:
- If the problem continues after restarting, reset OneDrive (see the Reset OneDrive section below).
0x80070194 — The Cloud File Provider Exited Unexpectedly
0x80070194 — The Cloud File Provider Exited Unexpectedly
- Close all Office applications and any other programs that might have the affected file open.
- Restart OneDrive using the method above.
- If the error is tied to a specific file, move the file out of the OneDrive folder temporarily, let OneDrive sync, then move it back in.
- If the error recurs, reset OneDrive as described in the reset section below.
0x80070005 — Access Denied
0x80070005 — Access Denied
- Right-click the affected file or folder → Properties → Security.
- Confirm the current user account has Full Control or at minimum Modify permission.
- Click Advanced → Change (under Owner) to take ownership if necessary.
- Check if the file is locked by a running process using Sysinternals Process Explorer or Resource Monitor → CPU → Associated Handles.
0x8007007B — Invalid File Name or Extension
0x8007007B — Invalid File Name or Extension
#, %, &, *, :, <, >, ?, /, \, |).Resolution steps:- Identify the file from the OneDrive error list.
- Rename the file to remove unsupported characters.
- OneDrive will automatically retry the upload after the file is renamed.
" * : < > ? / \ | and names ending in a period or space.Checking File Path Length Limits
Windows historically enforces a maximum file path length of 260 characters (theMAX_PATH limit). OneDrive adds its own restriction: the total path — including the OneDrive root folder path, all subfolders, the file name, and the file extension — must not exceed 260 characters.
Identify long paths
Shorten affected paths
Enable long paths in Windows (Windows 10 1607 and later)
Pausing and Resuming Sync
Pausing sync is useful when you need to prevent OneDrive from uploading changes during a large file operation, a system migration, or while on a metered network connection.Pause sync
Resume sync manually
Pause sync via Settings
Resetting OneDrive
A full OneDrive reset clears the sync cache and forces OneDrive to re-establish its connection to the cloud. This resolves most persistent sync issues that cannot be fixed by restarting alone.Run the reset command
Win + R to open the Run dialogue and enter the following command, then click OK:Manually restart OneDrive after the reset
Win + R again and run:Sign in again
Verify sync is progressing
Unlinking and Re-Linking Account
If a reset does not resolve the issue, or if the OneDrive account needs to be associated with a different Microsoft 365 account, unlink and re-link the account.Unlink the account
Sign out of Microsoft 365 (optional but recommended)
MicrosoftOffice, OneDrive, or live.com.Choose the OneDrive folder location
C:\Users\<Username>\OneDrive) or choose a different location. Keeping the original location allows OneDrive to match existing local files with cloud files, avoiding a full re-download.Select folders to sync
Allow re-sync to complete
Escalation
Microsoft Support
https://admin.microsoft.com → Support → New service request. Select OneDrive for Business as the product.OneDrive Sync Logs
%localappdata%\Microsoft\OneDrive\logs\. Attach SyncDiagnostics.log and recent ODSyncService logs to the support ticket.Microsoft 365 Service Health
Known Issues
https://support.microsoft.com/en-us/office/onedrive-release-notes-845dcf18-f921-435e-bf28-4e24b95e5fc0