Fix Cannot Delete a File from OneDrive (Causes & Solutions)
Question details
The user is unable to delete a file from OneDrive because the delete option is either missing or returns an error stating the action cannot be completed.

- Product
- Microsoft OneDrive
- Device & OS
- not provided
- Scenario
- Trying to remove a file from the OneDrive mobile app or desktop synchronized folder.
- Observed behavior
- The file deletion fails due to the file being locked, actively synchronizing, checked out, restricted by permissions, or affected by an organizational retention policy.
Ensure you are connected to a stable internet connection and verify that you have edit or administrative permissions for the file you are attempting to delete.
Close Applications and Delete via OneDrive Web
Files are often locked by background processes on mobile or desktop apps. Deleting the file through the web interface circumvents local app glitches.
If a file is open in any Office application across your devices, OneDrive will lock it to prevent data loss. Using the web version ensures you are communicating directly with the server.
Fully exit the file and any related Microsoft Office applications on your current device, as well as on any other computers or mobile devices linked to your account.
Open your preferred web browser and log in to the official OneDrive website using your Microsoft credentials.
Navigate to the file's location, select the checkbox next to it, and click the 'Delete' option located in the top menu bar.

Resolve Checkout Status and Permissions
If a file is checked out in SharePoint or restricted by specific permissions, it cannot be deleted until it is checked back in or access rights are granted.
Review Organization Retention Policies
Work or school accounts are often governed by strict retention policies that prevent data deletion for compliance reasons.
Manage Your Cloud Files Effortlessly with WPS Office
If you frequently encounter file locks or synchronization issues with Microsoft Office, consider switching to WPS Office. It is a powerful, lightweight alternative that simplifies local and cloud document management without frustrating background lockups.
- 1. Download the software: Visit the official WPS website and download the free WPS Office installer for your operating system.
- 2. Install and launch: Run the setup file to install the suite, then open WPS Office from your desktop or application menu.
- 3. Connect cloud services: Navigate to the 'Cloud' or 'Open' tab to sign in and link your existing cloud storage accounts for easy file management.

Frequently Asked Questions
Why does OneDrive say a file is in use when I try to delete it?
This error occurs if the file is still open in an Office application on one of your devices, or if the OneDrive client is actively syncing the file in the background. Ensuring the file is completely closed on all devices usually resolves this.
Can I force delete a file from the OneDrive mobile app?
You cannot forcefully bypass server-side restrictions or active sync locks directly from the mobile app. The most effective workaround is to log into the OneDrive website via a browser and delete it there.
What should I do if a shared file cannot be deleted?
If a file was shared with you and you only have 'View' access, you do not have permission to delete it from the server. You must ask the original owner to delete it, or you can select 'Remove from shared list' to hide it from your view.
Does deleting a file from the OneDrive website remove it from my computer?
Yes. If your computer is actively linked and synchronizing with your OneDrive account, deleting the file from the cloud will automatically remove the local copy and send it to your computer's Recycle Bin.




