Close Open Files to Fix OneDrive Sync
Question details
The user needs to close files that are preventing OneDrive from completing synchronization or repair.

- Product
- OneDrive for Business
- Device & OS
- Windows; version not provided
- Scenario
- OneDrive reports that files are open while the user is trying to synchronize or repair a work or school folder.
- Observed behavior
- Synchronization or repair does not finish, even after the user signs out on other computers.
Check the OneDrive notification area icon for the names and locations of affected files. Save any open edits and make sure you have your work or school account credentials available if you need to reconnect.
Close the Affected Files and Restart OneDrive
Use this approach first when an application on the current PC may still have a file open.
Select the OneDrive cloud icon in the Windows notification area and open the sync activity or error details to identify the affected files.
Save and close each affected file in its application, such as Word, Excel, or WPS Office. Close any File Explorer preview of the file as well.
Press Ctrl+Shift+Esc to open Task Manager. If an application that used an affected file is still running, close it normally; use End task only if necessary, since unsaved work may be lost.
Select the OneDrive cloud icon, open its settings menu, and choose Quit OneDrive or Close OneDrive. Then open Start, search for OneDrive, and launch it again.
Select the OneDrive cloud icon again and check whether the affected files finish syncing or whether an error remains.

Reconnect the Affected OneDrive for Business Folder
Use this if files are closed but an older OneDrive for Business client still cannot sync the affected folder.
Edit Office Files with WPS Office
WPS Office is a free, lightweight alternative with a familiar interface for working with Office files. Open compatible documents in WPS, save and close them before OneDrive syncs, and move between familiar file formats. WPS does not repair OneDrive sync itself.

Frequently Asked Questions
Why does OneDrive still say a file is open after I close it?
An application process or a File Explorer preview may still be using the file. Close the preview and check Task Manager for the application that opened it, then restart OneDrive.
Does signing out on another computer close files on my PC?
No. Check and close the affected files in the applications running on your current PC, even if you have signed out on other computers.
Should I disable OneDrive in Startup apps?
If the older OneDrive for Business client keeps starting and you are switching to the current sync app, open Task Manager and disable the old client's entry under Startup apps. Disabling startup does not stop a client that is already running.
How do I reconnect a SharePoint library to OneDrive?
Open the SharePoint or Teams document library in your browser and select Sync. Sign in to the OneDrive sync app with your work or school account if prompted.




