OneDrive sync Problems? Reset OneDrive!

The more folders you are syncing with OneDrive the bigger the change is that one-day OneDrive will be stuck at syncing. The OneDrive status keeps showing the syncing symbol and the status screen will show a couple (or a lot of files) that need to be synced. These are common OneDrive sync problems and the best solution is to reset OneDrive.

But there is a catch, resetting OneDrive would probably solve most problems, it will also re-sync every file you have synced. So if you have a lot of SharePoint libraries synced then this can take a couple of hours to process! In this article a few tips to solve the sync problems as quickly a possible.

Reset OneDrive cmd

So let’s start with the solution that will work for sure, but also re-syncs all your files. We are going to reset OneDrive with a simple command. Press Windows key + R to open the run box or

Reset OneDrive Sync Problems cmd
  1. Right-click your Windows Start button
  2. Choose Run from the context menu
  3. Type the following command to reset OneDrive
%localappdata%\Microsoft\OneDrive\onedrive.exe /reset

OneDrive will now restart, the OneDrive icon in the right bottom corner will disappear and reappear. If you don’t see the OneDrive icon after a minute you can start it manually from the Start Menu (search for OneDrive) or by running the following command Windows key + R:


Tip to speed up the re sync of the files

Depending on the amount of files and your internet connection can it take a couple of hours to re-sync all the files. What you can do is disable the file scanning (on-access scanning) of your anti-virus. Do this with pro-caution, disabling (a part) of you anti-virus also exposes you to a security risk. Only do this when you know what you are doing and trust the files.

OneDrive stuck syncing tips

The reset command works most of the time, but again, it’s a bit heavy to use. Sometimes the solution is a lot simpler. I have listed some of the most common problems why OneDrive is stuck at syncing.

Open Files

One of the most common issues is open files. If you open files online (using Word or Excel Online for example), then OneDrive will show the syncing status because it’s actually syncing the file. You can mark the file as Always available to redeem this “issue”

Syncing to many files

OneDrive and SharePoint have their limitations. One of them is that you can only sync up to 100.000 files. If you are syncing more then that you can have problems where OneDrive can’t keep up with the changes. Sometimes a simple solution for this is to pause and resume the sync.

You can do this by simply clicking on the OneDrive icon > select More > Pause Syncing..

To long files names

Long files names is also a common issue when OneDrive is stuck at syncing. Check the files that OneDrive is processing to see if there are long files or file paths that could cause this issue. Simply rename the files to solve the issue.


Resetting OneDrive should fix most problems. Always keep an eye on the OneDrive icon to detect problems with syncing of the files. If resetting OneDrive didn’t work for you or you have another tip, just drop a comment below.

2 thoughts on “OneDrive sync Problems? Reset OneDrive!”

  1. So, known onedrive.exe options are

    I wish they have /pause and /resume so I can control syncing using things like taskscheduler.

Leave a Comment