Fixed: OneDrive Deleted My Local Files
If you are experiencing OneDrive deleted my local files issue, keep reading this article to get 3 effective methods to fix it & bonus tips to stop OneDrive from deleting files.
The problem: OneDrive deleted my local files
“I installed OneDrive a while ago on my work computer and copied a lot of different files to the OneDriver folder. When I look at the local folder that is NOT synced with OneDrive, many of the files are gone - just like that - GONE. OneDrive deleted my local files. There is no way to get the files back and all my recent work is lost. How do I get my local files that has now been deleted by OneDrive and stop OneDrive from deleting my local files?”
-Question from Microsoft Community
OneDrive comes with Windows 10 and 11 by default, but it is blank unless you sign in with your account. So, if you are experiencing OneDrive deleted my local files, there's a good chance you've already done that.
If you accidentally delete a file, or someones does, OneDrive will delete local files using the same account as well as files on your tablet or phone. Because it’s a two-way sync software designed to keep files in different destinations the same. Nevertheless, we found 3 effective ways to recover deleted files from OneDrive.
The best way to fix OneDrive deleted my local files
Whether you delete OneDrive files locally or online, they will be moved to Recycle Bin folder. If you find OneDrive restore deleted files not in recycle bin, you can check the Recycle Bin folder on onedrive.com. Besides, Microsoft 365 also offer users a “Restore your OneDrive” feature to undo changes within 30 days, even for permanently deleted files (if you have Microsoft 365 account).
If both of them are not working, you still can try powerful data recovery software like MyRecover to get your files back.
Way 1. Restore OneDrive deleted local file from Recycle Bin
Step 1. Double-click on the Recycle Bin icon from the desktop. Or you can search for “recycle bin” in the File Explorer address bar to open it.
Step 2. Locate the OneDrive files that needed to be recovered and right-click on them.
Step 3. Choose Restore to get back the deleted files. If your files are not there, check the Recycle Bin folder on onedrive.com. It allows you to restore all items or specific files you want.
Note: The deleted files in OneDrive Recycle Bin can only be kept for 30 days. Afterward, your files will be deleted permanently. In this case, you can try Restore your OneDrive feature or powerful data recovery software like MyRecover.
Way 2. Recover permanently deleted files from OneDrive
Step 1. Go to onedrive.com and click Settings at the top right corner. Then, select Restore your OneDrive under OneDrive.
Step 2. In the Restore your OneDrive page, go to Select a date and click the drop-down menu. You can select a specific data or Custom date and time.
Step 3. View and highlight the change you want to undo recently and click the Restore button to recover permanently deleted files from OneDrive.
Way 3. Recover deleted OneDrive files after 30 days via data recovery tool
OneDrive does a lot in data recovery, but some users still cannot recover deleted files from OneDrive. In this case, you can try one all-inclusive data recovery software to scan local disk for deleted OneDrive files and restore files from OneDrive to PC. MyRecover is a good choice because of its two advanced scanning methods and high success rate.
- Quick Scan & Deep Scan: Two advanced scanning methods are able to scan local disk and recover deleted OneDrive files, even after 30 days.
- 200+ file types: With it, you can recover deleted Word documents, Excel files, PPT, pictures, videos, compressed files etc.
- User friendly: The recovered files retain their original name, format, quality, and path so you can easily find and identify it.
Before start, download, install and launch data recovery software MyRecover on Windows 7, 8, 10, 11, etc or Windows Server, depending on the operating system you are currently using.
Step 1. Select the drive containing OneDrive folder and click Start Scan. Usually, the OneDrive folder is installed on C: drive.
Step 2. The software will automatically scan the selected drive and display all the deleted files. To preview or recover deleted OneDrive files, expand the Deleted Files tab and go to your OneDrive folder location.
Step 3. Select the OneDrive folder or specific files in it and click Recover xx files. You don’t need to wait for the final scanning result if you find the OneDrive files need to recover.
Note: MyRecover displays the number of files to be recovered and their full size. You can use this to determine if you have selected all the deleted OneDrive files.
Step 4. Select a new folder to store all the OneDrive files and click Select Folder to confirm this operation. It will automatically recover deleted OneDrive files on this folder. Don’t save them to original location as it may cause data corruption or permanent data loss.
✍ MyRecover allow users to recover permanently deleted files from OneDrive up to 30MB each time. To recover unlimited files, try advanced editions.
✍ You still can use it to recover data from formatted drive and other data loss scenarios, such as corrupted partitions, system crashes, virus attacks, etc.
How to stop OneDrive from deleting local files
There are few ways that may help stop OneDrive from deleting local files. Let’s take a look at them.
Way 1. Use Unlink this PC in OneDrive
Unlinking your account on this PC helps solve OneDrive deleted all my files problem. It will not delete your OneDrive files. If you want to access files online, you can choose to sign in to OneDrive.com.
Step 1. Click the OneDrive icon in the System Tray, from the More menu, clicking Settings.
Step 2. On the Account tab, click Unlink this PC and then Unlink account.
Way 2. Update the OneDrive client
You may also update the OneDrive client to fix this problem.
Step 1. Under Control Panel > Programs > Programs and Features, right-click Microsoft OneDrive software and click Change.
Step 2. Select Online Repair and click Repair to update your OneDrive client.
Way 3. Backup your OneDrive files automatically
You are able to save pictures, videos, documents, etc in OneDrive and sometimes you may find OneDrive deleted your files. To prevent this problem, it’s suggested to backup your OneDrive files to another location, such as external disk, USB drive, network drive, etc. Try free backup software for Windows - AOMEI Backupper Standard to help you.
Step 1. Download, install and launch free backup software for Windows - AOMEI Backupper Standard. Choose Backup and File Backup subsequently.
Step 2. Type a new task name to distinguish it from other backup tasks. Click Add File or Add Folder to select the OneDrive folder or important files in it.
Step 3. Click the second box and select a local path, share or NAS or another cloud drive to save another copy of your OneDrive files.
Step 4. To backup OneDrive files automatically, click Schedule Backup and enable Daily, Weekly, Monthly, Event trigger, or USB plug in options.
Step 5. Confirm all the configured backup settings and click Start Backup to backup your OneDrive files or folder. It will create a full backup first and then backup only changed files at the scheduled backup time.
FAQs about OneDrive delete local files only
✍ Why did OneDrive delete my local files?
If you delete OneDrive files online with the same account, it will delete local files as well. In addition, unchecking important folder containing local files will remove them. To keep them locally, you’d better move them out of OneDrive folder or save another copy of your files.
✍ Why is my local Documents folder not syncing to OneDrive?
That’s because you don’t check the Documents folder when setting up important folder. You can click OneDrive > Settings > Backup and select Manage backup, then check Documents and hit Start backup.
✍ How to recover deleted OneDrive files after 30 days
OneDrive offers you two restore feature, but they are limited to 30 days. To recover deleted OneDrive files after 30 days, you can only use data recovery software like MyRecover.
This post primarily introduces how to fix OneDrive deleted my local files and stop OneDrive from deleting files to prevent data loss in the future. Normally, there are three ways. Please check the Recycle Bin folder first. You can then try Restore your OneDrive feature or use the professional data recovery too -MyRecover.
To prevent this error, the best practice is to create another copy of your OneDrive files. It gives you a chance to restore OneDrive files from backup easily and quickly when you find OneDrive deleted your files.