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
    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
  2. 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
  3. Anonymous
    2024-06-28T17:37:59+00:00

    Wow I am mesmerized by how user-unfriendly this product is coded. Super disapointed that my employer is forced into your ecosystem. I hope we will be freed one day from the shackles that are Microsoft ⛓️

    Was this answer helpful?

    10+ people found this answer helpful.
    0 comments No comments
  4. Anonymous
    2024-09-05T12:08:11+00:00

    I solved the problem for myself. I deleted Onedrive and downloaded Google One. Now I'm all backed up and have 15 GB available versus 5 GB.

    Was this answer helpful?

    10 people found this answer helpful.
    0 comments No comments
  5. Anonymous
    2025-03-06T10:21:27+00:00

    This is so daft. Microsoft is a huge developer of PC software. Cornerstone of Windows 11 is OneDrive. It doesn't synchronise files. The main thing it needs to do!

    So a clue to the maintenance programmers.

    For hours I tried all the ideas above here and hit a wall every time so I went into maintenance program mode. Isolate the problem.

    My file was created on PC1. It shows on OneDrive online and can be opened in Excel online.

    It is not shown on PC2 in OneDrive. 4 hours later it still is not shown but I can see it in OneDrive online on PC2.

    Ok download it, then move it to its correct location on my local disk on PC2. Make a small change. Look on PC1 and it has synched. Make a small change on PC1 and then check back on PC 2. It has synched.

    So the problem lies in the PC code that finds new files on the server. Now reproduce this on your development system Add some trace code and figure it out. If you can't reproduce it. Find an irate user like me. Ask if I can run some test code for you!

    Basic life as a maintenance coder. The life blood of the industry. Fix the little things then all the big things will work.

    Was this answer helpful?

    7 people found this answer helpful.
    0 comments No comments