When you start a repair of the Microsoft OneDrive for Business sync 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 Business 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 Business sync connections, go to Repair sync connections with the OneDrive for Business sync app.
Still need help? Go to Microsoft Community.