A Microsoft file hosting and synchronization service.
'onedrive.exe' is not recognized as an internal or external command,
operable program or batch file.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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
A Microsoft file hosting and synchronization service.
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.
'onedrive.exe' is not recognized as an internal or external command,
operable program or batch file.
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
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
I found it was easiest to right click the OneDrive icon, Quit, wait 10 seconds and restart OneDrive (not the computer).
Thank your lucky stars!