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-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
  2. 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
  3. 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
  4. Anonymous
    2025-03-06T19:30:54+00:00

    Here is the way to figure out OneDrive.exe location on Windows 11 PC.

    1. Type "onedrive" into Search control on your taskbar - you'll see OneDrive App in the "Best match".
    2. Right-click on OneDrive App, in the context menu select second option - "Open file location" command
    3. Explorer opens ...\Windws\Start Menu\Programs folder - and you'll see there "OneDrive" - but this is not yet what you need, this only the shortcut - the LNK file, not the EXE.
    4. Now right-click on the LNK file and in the context menu open "Properties" (alternatively, select OneDirve.LNK and press Alt+Enter) - this will open properties dialog box (Shortcut tab)
    5. You have now in the top section third line "Target:" field - and that is exactly what you need.

    On my PC I see there "C:\Users\andre\AppData\Local\Microsoft\OneDrive\OneDrive.exe", first part (C:\Users\andre) is my user profile folder, represented by %userprofile% variable in my batch file.

    Hope this helps - you should see the correct location of the OneDrive.exe file on your PC following the steps above.

    Was this answer helpful?

    2 people found 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