How to Delete an Unremovable Microsoft 365 or OneDrive Folder
Question details
The user needs to delete a specific folder in Microsoft 365 or OneDrive but is prevented from doing so due to system or access limitations.

- Product
- Microsoft 365 and OneDrive
- Device & OS
- not provided
- Scenario
- Attempting to remove a cloud storage directory that refuses to delete through normal methods.
- Observed behavior
- The folder cannot be deleted because of permission restrictions, locked files actively in use, synchronization issues, or browser-related glitches.
Ensure that no files within the target folder are currently open in any desktop or web applications, and verify that your device has an active internet connection to communicate properly with OneDrive servers.
Delete the Folder via OneDrive Online
Using the web version of OneDrive often bypasses local file-locking glitches and Windows Explorer synchronization errors.
Local file explorer processes can sometimes hold a folder hostage even if it appears empty. Deleting the folder directly from the web interface forces the cloud server to execute the command.
Open your preferred web browser and log in to your Microsoft 365 or OneDrive account online.
Navigate through your directory to find the specific folder you want to remove.
Select the folder by clicking the circular checkbox on the item, click 'Delete' on the top menu bar, and confirm your choice.
If you need to permanently remove the folder and free up space immediately, go to the 'Recycle bin' on the left sidebar, select the folder again, and click 'Delete'.

Check Permissions and File Lock Status
Verify that you have the administrative rights to delete the folder and that no internal files are currently in use.
Troubleshoot Browser and App Issues
Clear corrupted cache data or switch devices to rule out localized application errors.
Switch to WPS Office for Reliable File Management
If you frequently struggle with Microsoft 365 synchronization errors, locked files, or complex permission issues, consider switching to WPS Office. It provides a lightweight, user-friendly environment with powerful cloud management capabilities.
- 1. Download and Install: Visit the official WPS website to download and install WPS Office for your specific operating system.
- 2. Sign In for Cloud Access: Create a free account or log in to automatically activate your complimentary WPS Cloud storage.
- 3. Manage Files Seamlessly: Open, edit, and safely delete your synchronized documents directly within the application without background lock errors.

Frequently Asked Questions
Why does OneDrive say the folder is in use when it is empty?
This usually happens because a hidden system file (like a thumbnail cache) or a background synchronization process is currently accessing the folder. Pausing the OneDrive sync client or deleting the folder via the web interface usually resolves this.
What happens if I delete a shared folder in Microsoft 365?
If you delete a folder that someone else shared with you, it simply removes the folder from your view. However, if you are the owner of the folder, deleting it will remove access for all users you have shared it with.
Can I recover a folder after deleting it from OneDrive?
Yes, deleted folders are moved to the OneDrive Recycle Bin. You can access the Recycle Bin from the left menu on the OneDrive website and restore the folder within 30 days (or 93 days for Microsoft 365 work/school accounts) before it is permanently erased.
How do I force delete a folder locally using Command Prompt?
If the folder is stuck on your local Windows PC, you can open Command Prompt as an administrator and use the command 'rmdir /s /q "C:\path\to\folder"'. Be extremely careful with this command, as it permanently deletes the directory and all its contents without confirmation.




