logo
search
OneDrive File Issues

How to Delete a OneDrive Folder and Fix 'On Hold' Errors

Bushra ParveenBushra Parveen Oct 12, 2026 871 views

Question details

The user needs to delete a OneDrive folder containing nested files and subfolders, but encounters an error preventing the deletion of confidential information.

How to Delete a OneDrive Folder and Fix 'On Hold' Errors
Product
Microsoft OneDrive
Device & OS
not provided
Scenario
Deleting a directory with nested files via a web browser to remove confidential research data.
Observed behavior
The deletion fails, and an error message appears stating 'Item was not deleted. If attempting to delete a non-empty folder, it is possible that it is on hold'.
Before you start

Before proceeding, ensure you have locally backed up any essential files, as deleting a folder will move all its nested contents to the recycle bin. If using a school or work account, be aware that organizational data retention policies may restrict file deletion.

Solution 1Recommended

Delete a OneDrive Folder and Empty the Recycle Bin

The standard procedure to remove a folder and all its contents using the OneDrive web interface.

1
Open OneDrive

Log in to your Microsoft OneDrive account through your preferred web browser.

2
Select the Folder

Locate the main folder you wish to delete, hover your cursor over it, and click the circular checkmark box that appears to select it.

3
Delete the Item

Click the 'Delete' button located on the top navigation bar. The folder and all its nested subfolders will be moved to the recycle bin.

4
Empty the Recycle Bin

Navigate to the 'Recycle bin' on the left sidebar menu and click 'Empty recycle bin' to permanently erase the confidential files.

Delete a OneDrive Folder and Empty the Recycle Bin
Free Microsoft Office alternative

Switch to WPS Office for Hassle-Free Document Management

If you are frustrated with strict Microsoft 365 restrictions and complex retention policies, consider switching to WPS Office. It provides a lightweight, flexible, and completely free environment to manage your confidential research documents locally without unexpected cloud lock-ins.

  1. 1. Download WPS Office: Visit the official WPS website and download the free installation package for your operating system.
  2. 2. Install the Software: Run the downloaded installer and follow the straightforward on-screen instructions to set up the suite on your device.
  3. 3. Manage Your Files: Open WPS Office to create, edit, and organize your documents securely on your local drive, free from restrictive cloud policies.
Free and lightweight alternative to Microsoft OfficeFully compatible with Microsoft Word, Excel, and PowerPoint formatsWork offline with your confidential files to avoid cloud syncing and retention issuesIntuitive interface for a seamless transition and excellent local document organization
microsoft office alternative - wps office

Frequently Asked Questions

Why am I receiving an 'Item was not deleted' error in OneDrive?

This happens when your organization's Microsoft 365 administrator has enabled a retention policy or legal hold on your account. It is designed to preserve digital records for compliance reasons and prevents users from permanently deleting folders or files.

Can I manually bypass the OneDrive retention policy to delete my files?

No, end-users do not have the necessary permissions to bypass or turn off organizational retention policies. You must contact your IT support or network administrator to request the removal of the hold.

Will switching to a different cloud storage resolve this issue?

While switching to services like Dropbox gives you a fresh environment for new files, it will not delete the existing files stored in your university or corporate OneDrive account. The original files will remain under the retention policy until the administrator intervenes.