Force sync in OneDrive

Anonymous
2024-02-13T08:24:30+00:00

Is there any way of forcing OneDrive to sync? Let's say a user uploads a document on one client, and user 2 wants to access that document immediately on his client, but onedrive haven't synced that folder yet.

Is there a way to force a manual sync? Ideally with like a .bat file or something that i can pin to the taskbar that the user can just click to run just to speed up the process

Microsoft 365 and Office | OneDrive | Other | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

92 answers

Sort by: Newest
  1. Anonymous
    2024-12-28T20:28:39+00:00

    Indeed, and you can do it with just one click using the following batch file:

    cd %userprofile%\AppData\Local\Microsoft\OneDrive

    OneDrive.exe /shutdown

    OneDrive.exe /background

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2024-12-28T14:02:38+00:00

    Simplest solution for me:

    1. Pause syncing
    2. Resume synging

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2024-12-26T20:42:05+00:00

    Try this:

    cd %userprofile%\AppData\Local\Microsoft\OneDrive

    OneDrive.exe /shutdown

    OneDrive.exe /background

    exit

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  4. Anonymous
    2024-12-26T19:10:35+00:00

    Does not work for me:

    C:\Users\willi>cd %userprofile%\OneDrive

    C:\Users\willi\OneDrive>onedrive.exe /sync

    'onedrive.exe' is not recognized as an internal or external command,

    operable program or batch file.

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments
  5. Anonymous
    2024-12-18T22:29:21+00:00

    Worked perfectly. It immediately started syncing after following all of the steps and hitting the pause button the second time (seems counter intuitive but worked). No hammer required.

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments