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-03-06T09:52:53+00:00

    Three hours ago I created a small Excel file on my travel laptop and then moved up to my office onto my heavier PC. Since then I have been trying to get OneDrive to show the file on my "Office" pc.

    The file is on the OneDrive server. I can down load it fine but I need to sync any changes.

    This is busted. Its been busted for a long while according to this blog. If I cannot trust file sharing software to either work or give a clue as to the problem how can I trust the security of any of Windows 11 products.

    As a programmer if you can't maintain existing code you should not be working on new code. Maintenance programming is where you learn the glads and sads about your development tools.

    I am going to have to revert to FTP to get a clear simple working way to share files. At some random time my file will pop up in OneDrive but who knows when or why. I ran a team developing production critical software. This is a nightmare. You don't know what is broken or what will break when further releases are made. Like taking a trip on an under tested rocket to a space station.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2025-03-06T08:51:11+00:00

    This problem is still occurring one year later. There seems no solution in sight. So I down load online and then will the two versions now synch?

    Fix the bug. Oh first recreate the bug then fix it. Basic practice. It may be hard so get a clever guy on it until its fixed.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2025-03-06T08:17:36+00:00

    Unfortunately OneDrive.exe does not exist in that folder on my machine. (I have hidden files shown, so that's not the issue I believe)

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  4. Anonymous
    2025-03-05T23:50:12+00:00

    OneDrive.exe located in %userprofile%\AppData\Local\Microsoft\OneDrive - not in Windows system folders.

    (%userprofile% variable points to C:\Users"your_username" - for example, on my computer it would expand to

    C:\Users\andre\AppData\Local\Microsoft\OneDrive)

    To force synchronization manually for your OneDrive files you can use the following batch file -

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

    OneDrive.exe /shutdown

    OneDrive.exe /background

    Store the batch file somewhere on your computer, then save the shortcut to it on your desktop - and you will be able to force-sync files with just one double-click on this shortcut.

    Hope this helps, best regards,

    Andre

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2025-03-05T22:40:34+00:00

    I cannot find a onedrive.exe (presumably in Windows System folders. I can only find OneDriveSetup.exe.

    C:\Windows\WinSxS\wow64_microsoft-windows-onedrive-setup_31bf3856ad364e35_10.0.19041.1_none_e585f901f9ce93e6

    Microsoft Windows [Version 10.0.19045.5247]

    I would prefer a CLI command, if a GUI option was FFS not made available, however that suggestion has to be valid. If there are caveats to its presence, then the one offering the info should know if and offer up such advise in their position as "expert".

    Looking for other methods, as I have already share files and feel disconnecting from the drive may break those links.

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments