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.

SOLUTION

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.

MORE INFORMATION

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 the following Microsoft website: