How to Bulk Delete More Than 100,000 Files in OneDrive
Question details
The user needs to delete a massive volume of files (over 100,000) from their OneDrive root folder but is encountering selection limits on the website.

- Product
- Microsoft OneDrive
- Device & OS
- not provided
- Scenario
- Attempting to clean up cloud storage by removing a very large number of unwanted files at once.
- Observed behavior
- The OneDrive website restricts selecting or processing such a massive quantity of files simultaneously, requiring an alternative bulk deletion method.
Verify that the files you intend to delete are truly unwanted duplicates or temporary files, as managing huge bulk deletions can be difficult to reverse once the Recycle Bin is emptied.
Use the OneDrive Local Sync Client
Syncing files to your local device allows you to bypass the web interface's selection limits and use File Explorer to delete massive amounts of files easily.
By utilizing Windows File Explorer (or Mac Finder), your operating system can handle much larger file selections than a web browser can.
Ensure you have enough local storage to temporarily sync the file index before beginning the deletion process.
Open the OneDrive sync client on your computer and ensure the folders containing the unwanted files are set to sync to your local drive.
Press Windows Key + E to open File Explorer and navigate to your local OneDrive folder from the left sidebar.
Highlight the massive batch of unwanted files using 'Ctrl + A' or by holding 'Shift' and clicking, then press the 'Delete' key on your keyboard to move them to the Recycle Bin.
OneDrive will likely display a prompt warning you that a large number of files are being deleted. Click 'Remove' or 'Continue' to confirm the deletion across your cloud storage.

Delete Files via OneDrive.com Extension Search
If you cannot sync files locally, you can use the web version's search function to isolate specific file types and delete them in manageable batches.
Manage Your Documents Seamlessly with WPS Office
While resolving large file cleanups in cloud storage like OneDrive, you may need a reliable productivity suite that doesn't consume excessive system resources. WPS Office is a fast, lightweight, and completely free alternative to Microsoft Office that handles documents, spreadsheets, and presentations with ease.
- 1. Download WPS Office: Visit the official WPS website and download the free installation package for your operating system.
- 2. Install the software: Run the installer and follow the on-screen prompts to set up WPS Office on your device.
- 3. Connect your cloud storage: Open WPS Office, navigate to the 'Open' menu, and link your preferred cloud storage to edit files directly without cluttering your local drive.

Frequently Asked Questions
Why can't I select all 100,000 files on the OneDrive website at once?
The OneDrive web interface imposes processing limits on file selections to prevent browser crashes and server timeouts. Handling over 100,000 file metadata requests simultaneously exceeds standard browser memory limits, making the desktop sync client the preferred method.
Will deleting files from my computer's OneDrive folder remove them from the cloud?
Yes. As long as your OneDrive desktop application is running and connected to the internet, any deletions made in your local OneDrive folder will automatically sync to the cloud, moving those online files into the OneDrive Recycle Bin.
How long does it take for OneDrive to sync a 100,000 file deletion?
While the files will disappear from your local File Explorer almost instantly, the OneDrive client must process each deletion request with the Microsoft servers. Depending on your internet connection and PC speed, syncing 100,000 deletions can take anywhere from a few minutes to several hours.
Can I recover the files if I accidentally delete the wrong folder in bulk?
Yes. OneDrive moves deleted items to its online Recycle Bin, where they are retained for 30 days for personal accounts (or up to 93 days for business/school accounts). You can log into OneDrive.com, navigate to the Recycle Bin, and restore them before this period expires.




