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: Most helpful
  1. Anonymous
    2025-03-06T08:17:36+00:00

    Unfortunately OneDrive.exe does not exist in that folder on my machine. (I have hidden files shown, so that's not the issue I believe)

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2025-02-11T16:27:39+00:00

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

    operable program or batch file.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  3. 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
  4. 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
  5. 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