Skip to content
Help

OneDrive Not Syncing: What Is Actually Blocking It

OneDrive stuck syncing, missing from File Explorer, or refusing to sign in. The real limits that block files, the reset command that fixes most of it, and what to check before you touch anything.

Jason Valerio 7 min read

OneDrive not syncing is a worse problem than it looks, because it fails quietly. Nothing crashes. The icon shows a small blue circle that people stop noticing, and someone works for three days on a file that only exists on their laptop.

Then the laptop dies. That is the part that turns a sync icon into an incident.

Here is what actually blocks OneDrive, in the order worth checking.

First, read the icon

The OneDrive cloud icon in the system tray is the only diagnostic that costs nothing.

  • Blue or white cloud, no marks: running normally.
  • Circular arrows: actively syncing. If it has looked like this for a day, it is stuck, not busy.
  • Red X: sync stopped. Click it, because it will tell you why.
  • Yellow triangle: an action is needed, usually re-signing in.
  • No icon at all: OneDrive is not running. That is a different problem, covered below.

Click the icon and open the activity list. Most of the time OneDrive names the exact file it is choking on, and people never look.

Cause 1: the file name has a character OneDrive will not accept

This is the most common silent blocker and nobody guesses it.

These characters are not allowed anywhere in a file or folder name that syncs:

"   *   :   <   >   ?   /   \   |

Leading and trailing spaces are also rejected. Some organizations additionally restrict # and %, and Office desktop apps will not accept a semicolon in a folder name.

Look at what your team actually names things. Invoice 4/12 FINAL.xlsx, Q3 Review: Draft.docx, Client Notes ?.docx. Every one of those is dead on arrival, and the person who created it has no idea.

Certain names are blocked outright too, including .lock, CON, PRN, AUX, NUL, COM0 through COM9, LPT0 through LPT9, desktop.ini, and anything starting with ~$.

Rename the file and sync resumes on its own.

Cause 2: the path is too long

This one confuses people because there are two different limits and people quote the wrong one.

The cloud limit is 400 characters for the entire decoded path including the file name. Special characters get URL-encoded and count for more than one, so a path that looks short in a browser can be over.

The limit that actually bites is on your PC. Windows File Explorer and the Office desktop apps hit trouble at 260 characters. Individual folder and file names cannot exceed 255 characters. And the OneDrive root folder path plus the relative path of the file cannot exceed 520 characters combined.

Practically, the problem is almost always nesting. A synced Teams library, inside a department folder, inside a project folder, inside a year folder, with a descriptive file name at the end. It syncs fine for two years and then breaks the week someone adds one more folder level.

The fix is to shorten the structure, not the file name. Deep folder trees are the root cause and they will keep producing this.

Cause 3: it needs a reset

If nothing obvious is blocking it and sync has simply stopped, reset the client. This keeps your files and re-syncs everything from scratch.

Press Windows + R and paste:

%localappdata%\Microsoft\OneDrive\onedrive.exe /reset

If nothing happens, the install lives elsewhere. Try:

C:\Program Files\Microsoft OneDrive\onedrive.exe /reset

OneDrive closes and restarts. If the icon does not come back within a couple of minutes, start OneDrive manually from the Start menu.

Expect a full re-sync afterward, and expect it to take a while on a large library. This resets all OneDrive settings, so any selective sync choices need to be set again.

Cause 4: OneDrive is missing from File Explorer entirely

If there is no OneDrive entry in the sidebar, work through this order:

  1. Is OneDrive running at all? Search the Start menu for OneDrive and open it. If it launches and signs in, the entry returns.
  2. Is it signed in to the right account? Personal and work accounts both show up as OneDrive and people mix them up constantly. A file saved to personal OneDrive is not backed up by your business tenant and your IT provider cannot recover it.
  3. Was it removed by policy? In a managed tenant, an administrator can control which accounts are allowed to sync. If a machine was recently rebuilt or joined to a different tenant, this is worth checking before anything else.

Cause 5: files that were never going to sync

Some things do not sync and it is not a fault.

Temporary files and system files like desktop.ini and .ds_store are skipped. Outlook PST and OST files sync far less often than normal files, which makes storing them in OneDrive a bad idea and a real cause of confusing behavior. In a work tenant, an administrator can block specific file types entirely.

Large video files and big archives are not blocked, but they will sit in the queue long enough that people assume something is broken.

The thing that matters more than any of this

If someone’s files stopped syncing three weeks ago and nobody noticed, you do not have a sync problem. You have a backup problem that has been running the whole time.

OneDrive is file sync. It is not, on its own, a backup strategy: it happily replicates a deleted file, an encrypted file, or a bad save to the cloud. Ransomware syncs beautifully. That is why proper backup sits separately from OneDrive in any setup we build, and why it shows up early in our ransomware recovery checklist.

Sync health is also something that can be watched centrally instead of discovered by accident. In a managed tenant you can see which devices have not synced, and it is one of the more useful early warnings in managed IT, because a machine that stopped syncing is often a machine with a bigger problem.

If you are not sure whether your team’s files are actually landing in the cloud, ask us to check. It is a short exercise and the answer is occasionally alarming.

JV

Written by

Jason Valerio

Founder of Sage Solutions. 20+ years in NY/NJ IT and low-voltage, Certified Ethical Hacker (CEH), and ex-FDNY. More about Jason →

Related services

Want to talk about this?

We are happy to have a 30-minute call about anything in this article — your environment, your risks, your options.

Call Free assessment