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
    2024-10-11T00:22:18+00:00

    Thank you for your reply. I am not “tech savvy.” I am a part time worker in the church office with no tech on site. I’m just trying to be sure my ESL class folder gets backed up. I don’t know why it won’t sync. 🥺 I tried to follow the directions I found and they didn’t work. 🫤

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2024-10-10T23:40:56+00:00

    The second part of your answer DOES NOT work at least in the implementation we have. Onedrive.exe is not in that location, and I suspect that's standard.

    The first part I did last night, after one hour of messing with settings. It also doesn't work.

    Make sharepoint sync work properly with a button. For Pete's sakes. Or do I have to copy in your board to get it fixed.

    Was this answer helpful?

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