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-10-04T16:22:35+00:00

    The whole point of having a backup is to have files ready in an emergency immediately, not when Microsoft decides they will be ready.

    When you move a file from one location to another you expect it to be there.

    What is the point of paying for high speed internet only to be stopped on the server side?

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2024-10-10T05:31:00+00:00

    Batch file idea seems good, but implementation is not quite.

    I suggest the following batch file which should work -

    @echo off

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

    OneDrive.exe /background /sync

    exit

    Was this answer helpful?

    0 comments No comments
  3. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  4. Anonymous
    2024-10-10T14:38:49+00:00

    my computer does not recognize onedrive.exe /sync

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2024-10-10T19:39:42+00:00

    Did you switch to the correct directory with the following command? I suspect the issue is with the file location.

    The location where onedrive.exe normally should be found - %userprofile%\AppData\Local\Microsoft\OneDrive

    Batch file I recommend to use for manual syncing:

    @echo off

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

    OneDrive.exe /background /sync

    exit

    To debug the issue if onedrive.exe is not recognized you can check it existence in the folder by using DIR command.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments