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
    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
  2. 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
  3. Anonymous
    2025-01-29T21:18:56+00:00

    The "onedrive.exe /sync" command does not work for me. I get " sync is not recognized as an internal or external command, operable program or batch file

    Was this answer helpful?

    0 comments No comments
  4. 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

  5. Anonymous
    2025-01-01T07:36:33+00:00

    I agree with the pages and pages of frustrated (but dedicated Microsoft users) that say why can't we have simple "Sync Now" button but alas if you click the OneDrive icon on the right hand side of the task bar, then click Settings, then click "Pause Syncing" (for say 2 hours) and then immediately click "Resume Syncing" and it will fire up and you will see your changed files updating. I find photos get updated immediately.

    However I also want to sync other folders and files from my C: drive without having that file sit inside the Documents folder (which OneDrive automatically syncs). So I use the MKLINK cmd (syntax below).

    eg. mklink /J "%UserProfile%\OneDrive\mystuff" "C:\mystuff"

    It works for a while then stops working ... it's incredibly frustrating. Does anyone else have a solution please to this (an alternative to using MKLINK?

    Oh, and if anybody still lives that created XTREE GOLD can you please update it so it runs on MS Windows. Happy to crowd fund!

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments