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: Oldest
  1. Anonymous
    2025-01-30T09:31:50+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

    The only way to manually trigger a Sync would be to either Pause the OneDrive client App, wait 2Mins then unpause. If you dont have the 2Mins then kill the process in via Task Manager then reopen the OneDrive Client App.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2025-01-30T19:55:27+00:00

    I tried using the CMD prompt, but there is no "onedrive.exe /sync" in the OneDrive folder or subfolders. There are no executables in the OneDrive folder/subfolders...

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2025-01-30T20:00:44+00:00

    Yep, indeed, "/sync" is not working, but you don't have to manually pause and wait for 2 minutes to restart or kill the process via Task Manager.

    There is simple and convenient way to trigger synchronization with the following batch file:

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

    OneDrive.exe /shutdown

    OneDrive.exe /background

    • this works just fine. Enjoy!

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments
  4. Anonymous
    2025-01-30T20:01:53+00:00

    Onedrive.exe location - %userprofile%\AppData\Local\Microsoft\OneDrive

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2025-02-01T02:41:39+00:00

    You really don't need to wait 2 mins .... just PAUSE it, wait 10secs and RESTART ... works for me every time.

    Was this answer helpful?

    0 comments No comments