3 Ways to Stop OneDrive From Deleting Files Automatically on Windows 11
Ankita enjoys exploring and writing about technology. Starting as a script and copywriter, her keen interest in the digital world pulled her towards technology. With GT, she has found her calling in writing about and simplifying the world of tech for others. On any given day, you can catch her chained to her laptop, meeting deadlines, writing scripts, and watching shows (any language!).
Basic Fixes:
Fix 1: Turn off Storage Sense on Windows
Windows Storage Sense tracks the storage space available on your device. Once this space runs low, it deletes temporary files automatically. This can also be why OneDrive files keep getting deleted from your desktop. To stop this, turn off Storage Sense on Windows. Here’s how.
Step 1:Use the Windows + I key to openSettings. From the menu options, click onSystem>Storage.
Step 2:Turn off theStorage Sense toggle.
Also Read:How to fix OneDrive not showing up in File Explorer on Windows
Fix 2: Unlink and Relink OneDrive
If OneDrive accidentally deletes files from your computer due to sync issues, you can unlink the account. Then, link it back again and establish a new connection, resolving any issues that might have occurred previously. Here’s how to do it.
Step 1:Go to theWindows taskbar> click on theOneDrive icon. Then, click on thecogwheel icon> selectSettings.
Step 2:From the menu options, click onAccount>Unlink this PC.
Step 3:Here, click onUnlink account.
Step 4:Now,restart OneDriveand enter yourregistered email IDto re-link the account. Once done, click onSign in.
Step 5:Enter theMicrosoft account password> click onSign in. Finish signing in and check OneDrive to see if any files are missing.
Fix 3: Use Command Prompt to Reset OneDrive
If OneDrive is automatically deleting files due to a setting or error, resetting the OneDrive app might help fix it. It can also help fix other issues caused by a corrupt cache or bad update. Follow the below steps to reset OneDrive using Command Prompt.
Step 1:Open theCommand Prompt with administrator privilegeson Windows 11. When prompted, click onYes.
Step 2:Now, enter the followingcommandand pressenterto execute it.
Wait for OneDrive to reset. Then, open OneDrive and observe if more files are missing.
Was this helpful?
Last updated on 17 May, 2024
Leave a ReplyCancel reply
Your email address will not be published.Required fields are marked*
Name*
Email*
Comment*
Δ
Read Next
The article above may contain affiliate links which help support Guiding Tech. The content remains unbiased and authentic and will never affect our editorial integrity.
More in Windows
23 Tips for Using OneNote Effectively in 2024
6 Best Microsoft Outlook Calendar Tips & Tricks to Manage It Better
JOIN THE NEWSLETTER
Get Guiding Tech articles delivered to your inbox.
© 2024 Guiding Tech Media. All Rights Reserved.