Microsoft OneDrive for Business crashes and restarts continuously



OneDrive for Business runs, then after a few seconds quits, then restarts. This cycle continues without an apparent way to stop it.


This tends to happen when Office Document Cache gets corrupted or runs into another problem. Reinstalling OneDrive for Business or performing repair does not address this problem.


Remove Office Document Cache and OneDrive for Business profile folders as described below, validate document library size and file count, and resynchronize with OneDrive for Business.

Remove ODC and ODB profile folders and files

Open Task Manager and end groove.exe and msosync.exe processes.

Navigate to %localappdata%\Microsoft\Office\SPW and delete everything there

Navigate to %localappdata%\Microsoft\Office\15.0\OfficeFileCache and delete everything there.

This step will take a while, most likely, so go get a cup of decaf coffee, and not from one of those Earth-destroying Keurig machines. Do it right, with French Press.

One of our visitors - Martin Vasko - suggested deleting the directory from command prompt - takes a fraction of the time! Great tip, especially if you don't need a break and know how to do it from the command line!

Make sure to grind the beans coarsely for best flavor, heat the water to 200 degrees (not boiling), and steep for 4 minutes. Any longer, and you're wasting time; any less - and you're not getting the full flavor.

TIP: Fill your mug with left-over hot water while the coffee is steeping. This way it'll be hot and keep your coffee hot longer. Obviously, dump the water before pouring the coffee in the mug.

While you're waiting for the OfficeFileCache to empty out, take a look at your ODB file structure and consider splitting it up into several document libraries. This way you'll be able to do selective sync on libraries that truly must be available offline - use that as a guide in designing your new structure. Which files & folders are actively used? Which ones are there just for archiving purposes? Archived files should not be synchronized.

Rationalize your document library according to your new design, if possible.

Now, start ODB, re-establish ODB sync for your library, and the problem should be resolved.


Have more questions? Submit a request


  • Avatar
    Esther Althaus

    Ilya, thanks so much for your information above. You saved me a fortune of money and time!

    In particular, your coffee instructions were very much appreciated and the tip was priceless ;)

    Good luck with whatever you do and and keep sharing.

  • Avatar

    For anyone like me who has had this problem and tried every solution Google delivers, this is the only one that worked for me. Not only did it immediately resolve the problem, but I now realise ODB had been failing over time and ODB now works as it should.

  • Avatar
    Rafael Gonzalez

    Thanks a lot Ilya! I went through so many solutions, including completely re installing office several times, trying 32 and 64 bit versions, removing the MSOSYNC.EXE and MSOUC.EX and running the fix tool of microsoft, without resolving the problem. The only one that worked is this one!!!

  • Avatar
    Ilya Lehrman

    Glad to hear this works for you! Don't forget to find us on Facebook and like the page - and if you create an account here we will (eventually) send an occasional, friendly, and useful newsletter to nice people like you. :)

  • Avatar
    Martin Vasko

    Ilya, thanks a lot. It helped.
    I have one upgrade regarding waiting time. I had more than 100K files in OfficeFileCache so it freezed for a long time (half an hour and more) so I stopped it and deleted files using command prompt (#del *). It took 1s :)

  • Avatar
    Paul Shaddick

    Thanks, that sorted my issues.

  • Avatar
    Kevin Dondrea

    The step removing the files doesn't have to take that long. Someone posted on another forum something I never thought of. Instead of deleting the files you can do the following. This takes a whole lot less time then deleting the files.

    rd /s /q %localappdata%\Microsoft\Office\SPW
    rd /s /q %localappdata%\Microsoft\Office\15.0\OfficeFileCache

    md %localappdata%\Microsoft\Office\SPW
    md %localappdata%\Microsoft\Office\15.0\OfficeFileCache

    Any file that can be deleted is but any that cannot are not. The /Q switch (Quiet) makes it nice. I've incorporated this into some of the programs I've made. Before doing this, one of my programs, when I ran it from a specific folder it worked Great. If I ran it from the desktop it deleted everything on my desktop. After this change, no matter where I run it from it only deletes temp files.

  • Avatar
    Kevin Dondrea

    Oh yes and "Thank You". This solved my problem too.

  • Avatar
    Kevin Dondrea

    Your comment about the coffee "Course Ground"... Is this a fact or your opinion? The reason I ask is because I always course ground my coffee and I liked it that way but... When I moved to Europe, all their coffees are fine ground. It's like dust :). Do you know what the difference in the taste is? Some of their coffee tastes the same as in the US but other's seem a bit bitter. I was curious if the fine ground makes it more bitter. Thanks again.

  • Avatar
    Ilya Lehrman

    Kevin, thanks for your comment - and glad to hear the article helped you with your OneDrive for Business issue!

    For slow-steeped beverages the coarse-grind is important because the particle has larger sides from which water can extract flavor. Finely-ground coffee works best where water is quickly passed through the medium, usually under pressure (espresso, for example, or any of the single-serving machines like the evil Keurig). I'm sure there's a chemical / physical explanation for this, and I don't have one handy. Having said that, one method doesn't necessarily make an objectively better coffee than the other; I find that I prefer the character of coffee that has been coarsely ground and steeped in near-boiled water for ~4 minutes. If you conduct any experiments, do share the results! :)

  • Avatar

    Thank you. Your article solved this perplexing problem for me.

  • Avatar
    Tom Tichy

    worked for me,Thanks!

  • Avatar
    Martin Patsov

    The error I was receiving was: "Microsoft OneDrive for Business is trying to recover your information..."
    Deleting everything in %localappdata%\Microsoft\Office\SPW worked like a charm!
    Many thanks!

  • Avatar

    Thank you so much.

Powered by Zendesk