logo
search
OneDrive File Issues

How to Fix OneDrive Automatically Moving New Files to the Recycle Bin

John WilsonJohn Wilson Oct 10, 2026 870 views

Question details

Users experience an issue where newly created files and folders are automatically moved to the recycle bin by OneDrive shortly after creation.

How to Fix OneDrive Automatically Moving New Files to the Recycle Bin
Product
Microsoft OneDrive
Device & OS
Windows
Scenario
Syncing newly created desktop folders and files to OneDrive on a Windows laptop.
Observed behavior
OneDrive syncs the newly created items and then automatically moves them to the local and web recycle bin after a few minutes, requiring manual restoration.
Before you start

Ensure you temporarily pause OneDrive syncing from the system tray icon to prevent any more newly created files from being moved to the recycle bin while you troubleshoot.

Solution 1Recommended

Disable Windows Storage Sense and Reset OneDrive

Windows Storage Sense can automatically clean up files to free up space, and a corrupted OneDrive cache can cause aggressive deletion behavior. Disabling the feature and resetting the app often resolves this issue.

Windows Storage Sense is designed to optimize local storage by automatically removing older files or making synced files online-only. Sometimes, it malfunctions and targets newly created files. Additionally, resetting the OneDrive client forces it to rebuild its sync cache, which clears up unexplainable deletion loops.

1
Disable Storage Sense

Click the Windows Start menu, open 'Settings', navigate to 'System', and click on 'Storage'. If 'Storage Sense' is turned on, toggle it to the 'Off' position to prevent automatic file cleanup.

2
Open the Run Dialog

Press the Windows key + R simultaneously on your keyboard to open the Run dialog box.

3
Execute the Reset Command

Type %localappdata%\Microsoft\OneDrive\onedrive.exe /reset into the Run window and press Enter. The OneDrive cloud icon in your taskbar will disappear and reappear after a minute or two.

4
Restart OneDrive Manually (If Needed)

If the OneDrive icon does not reappear after a few minutes, open the Start menu, type 'OneDrive', and click on the app to launch it again.

Disable Windows Storage Sense and Reset OneDrive
Recovering Deleted Files: You can restore files that were already deleted by logging into your account on the OneDrive website, navigating to the Recycle Bin on the left sidebar, and restoring them.
Free Microsoft Office alternative

Experience Reliable File Management with WPS Office

While you troubleshoot Microsoft OneDrive sync issues, you need a stable and reliable office suite to manage your local and cloud documents safely. WPS Office is a lightweight, fully compatible alternative to Microsoft Office that offers seamless integration with various cloud drives, ensuring your work remains secure.

  1. 1. Download WPS Office: Visit the official WPS Office website and click the free download button for your operating system.
  2. 2. Install the Application: Run the downloaded installer file and follow the straightforward on-screen instructions to set up the suite.
  3. 3. Connect to Cloud Storage: Open WPS Office, navigate to the 'Open' menu, and sign in to your preferred cloud storage service to securely manage your files directly from the app.
Highly compatible with Microsoft Office formats including Word, Excel, and PowerPoint documents.Lightweight design that runs smoothly on older hardware or recently reset laptops.Built-in WPS Cloud provides a stable, alternative backup solution without unexpected automated deletions.Completely free to use with a familiar, easy-to-navigate tabbed interface.
microsoft office alternative - wps office

Frequently Asked Questions

Why is OneDrive deleting files from my hard drive automatically?

This usually happens due to Windows Storage Sense aggressively attempting to free up local space, conflicts from third-party antivirus software quarantining new files, or a corrupted OneDrive synchronization cache that misinterprets new files as items needing deletion.

How do I recover files that OneDrive automatically deleted?

Log in to the OneDrive website using your web browser, navigate to the Recycle Bin on the left sidebar, select the automatically deleted files or folders, and click 'Restore' to return them to their original local and cloud locations.

Can reinstalling Windows cause OneDrive sync issues?

Yes, if a laptop's operating system was recently reinstalled and reconnected to an existing OneDrive account, the app might experience synchronization conflicts between the old cloud state and the new local environment. Resetting the OneDrive app usually resolves this mismatch.