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
    2025-02-11T16:27:39+00:00

    'onedrive.exe' is not recognized as an internal or external command,

    operable program or batch file.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2025-02-11T18:16:39+00:00

    You have to provide correct path to it.

    Standard location for onedrive.exe on Windows 11 - %userprofile%\AppData\Local\Microsoft\OneDrive

    You can use DIR to check if the file is indeed there.

    If for some reason onedrive.exe is not there - search for one of my previous messages in this thread where I explained how to figure it out for any particular Windows installation (detailed step-by-step instructions with screenshots).

    Here is the batch file I'm using to manually sync OneDrive folders on my rig:

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

    OneDrive.exe /shutdown

    OneDrive.exe /background

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2025-02-14T02:05:47+00:00

    What do you mean by "press Enter to navigate to the OneDrive folder."? I f I press enter I just see the previous line again

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2025-02-21T18:59:02+00:00

    I found it was easiest to right click the OneDrive icon, Quit, wait 10 seconds and restart OneDrive (not the computer).

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2025-02-24T03:11:13+00:00

    Thank your lucky stars!

    Was this answer helpful?

    0 comments No comments