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
    2024-05-24T03:21:58+00:00

    what is it with these people...how many ways can a manual sync be ineptly described by MS employee...don't you read it when people say "...it doesn't work..."???

    Was this answer helpful?

    30+ people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2024-06-03T16:32:42+00:00

    Thanks much. I had done this in the past (intuitively?) and then forgotten it. Worked for what I needed to do; not sure it would work for all of the other posters.

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2024-06-03T22:03:50+00:00

    I wish the manual sync option worked for me, but it just says that onedrive.exe doesn't exist in that folder. However, even though it's hugely inconvenient, the unlink option worked. Thank you!

    Was this answer helpful?

    10+ people found this answer helpful.
    0 comments No comments
  4. Anonymous
    2024-06-08T13:39:21+00:00

    EXE is not located in OneDrive folder under %userprofile%.

    It is in fact located in The Program Files folder under Microsoft OneDrive.

    \Program Files\Microsoft OneDrive

    you can copy paste cd C:\Program Files\Microsoft OneDrive (NOTE: if you did not install to C: replace drive letter to your install directory)

    then enter the command as above - onedrive.exe /sync

    your OneDrive folder will open and then begin to synchronize to your OneDrive cloud.

    Was this answer helpful?

    30+ people found this answer helpful.
    0 comments No comments
  5. Anonymous
    2024-06-10T16:16:48+00:00

    There doesn't seem to be a /sync command line parameter for onedrive for business - so Nhiel's answer didn't help.

    Pause and Unpause options work but require lots of clicks:

    I've made a .bat batch file based on guidance elsewhere:

    @echo off

    cd "C:\Program Files\Microsoft OneDrive"

    OneDrive.exe /shutdown

    start OneDrive.exe /background

    exit

    I've made a windows shortcut to this and run the shortcut minimised:

    see here for further information:

    https://superuser.com/questions/1742608/batch-script-to-pause-and-resume-one-drive-synchttps://superuser.com/questions/1151464/how-to-force-onedrive-to-synchronize

    Was this answer helpful?

    10+ people found this answer helpful.
    0 comments No comments