Note: This article applies only to the previous OneDrive for work or schoolsync app (groove.exe). In most cases, we recommend that you use the newer OneDrive sync app (onedrive.exe) instead. Which OneDrive app?
When you start a repair of the Microsoft OneDrivesync app, you receive the following error message:
We can't start this repair.
We can't repair your synced libraries because a file is open. Please close all files in your synced library folders and try again.
To resolve this issue, exit all open applications, and then try running the Repair command again. If you still receive this message, restart the computer, and then run Repair in the OneDrive for work or school sync app before you open any files or applications.
This issue occurs when your computer recognizes the file as open even after you've closed it.
For more information about how to repair OneDrive for work or school sync connections, go to Repair sync connections with the OneDrive sync app.
Still need help? Go to Microsoft Community.