Fix SharePoint or OneDrive Error 6009 When Deleting a File
Question details
The user needs to delete a file in SharePoint or OneDrive that returns error 6009.

- Product
- Microsoft SharePoint or OneDrive
- Device & OS
- not provided
- Scenario
- Deleting a file after closing Office applications and confirming that the file is not checked out.
- Observed behavior
- Error 6009 prevents deletion even though no other user has access to the file.
Close any browser tabs and applications that may have the file open. Check the OneDrive sync status and note whether the error affects one file or multiple files.
Finish syncing and delete the file from the web
Use this approach when OneDrive may still be syncing the file or treating it as open.
Select the OneDrive cloud icon in your device's notification or menu area and check its sync status. If files are syncing, wait for them to finish.
From the OneDrive cloud icon, open the settings or help menu and choose Quit OneDrive. If Quit is unavailable, use the available pause-sync option instead.
Sign in to OneDrive on the web or open the SharePoint document library, select the file, and choose Delete from the toolbar or file menu.
Open the OneDrive app again, or select Resume syncing from its cloud icon menu if you paused it.

Ask an administrator to investigate a persistent file lock
Use this option if error 6009 continues after you have waited and retried deletion.
Edit Office Files with WPS Office
WPS Office is a free, lightweight alternative for working with Office documents. Its familiar interface and Microsoft Office format compatibility make it easy to move between office suites. It does not resolve SharePoint or OneDrive file locks.

Frequently Asked Questions
Why does error 6009 appear when nobody else has the file open?
OneDrive or SharePoint may still consider a previous session active, or OneDrive may be stuck syncing the file. Close applications and browser tabs, check the OneDrive cloud icon for sync activity, and retry deletion on the web.
Where can I delete the file without using the OneDrive sync app?
Sign in to OneDrive on the web or open the SharePoint document library, select the file, and choose Delete from the toolbar or file menu.
How long should I wait for a file lock to clear?
There is no guaranteed expiration time. Try again later; in the reported case, the file could be deleted after 24 hours. If the error persists, contact your site administrator.
Can Version history show who currently has the file open?
Not necessarily. In the SharePoint file menu, choose Version history to see recorded changes and their authors, but that information may not reveal a current lock.




