OneDrive Error Codes

Fix SharePoint or OneDrive Error 6009 When Deleting a File

Steve KSteve K Nov 14, 2026 868 views

Question details

The user needs to delete a file in SharePoint or OneDrive that returns error 6009.

Fix SharePoint or OneDrive Error 6009 When Deleting a File
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.
Before you start

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.

Solution 1Recommended

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.

1
Check synchronization

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.

2
Quit OneDrive

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.

3
Delete the file online

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.

4
Restart synchronization

Open the OneDrive app again, or select Resume syncing from its cloud icon menu if you paused it.

Finish syncing and delete the file from the web
If the file is still locked: A lingering session or lock may take time to expire. Try deleting the file again later; in the reported case, deletion worked after 24 hours.
Free Microsoft Office alternative

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.

Open and edit documents, spreadsheets, and presentations in one suiteWork with Microsoft Office formats including DOCX, XLSX, and PPTXUse a familiar interface for an easier transition from Microsoft OfficeAccess a free, lightweight suite for everyday file editing
microsoft office alternative - wps office

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.