How to Fix: OneDrive Deleted All My Files from My Computer
You can follow the detailed instructions in this post to resolve the issue "OneDrive deleted all my files from my computer." If you have a similar problem, keep reading to find the solutions.
The issue: OneDrive deleted all my files from my computer
I use OneDrive to back up my data for a long time. But today I found that OneDrive deleted all my files from my computer! How can I fix this problem and restore the deleted files?”
- Question from OneDrive Forum
Even though you didn't remove any of those files, your computer may display a notice saying that you recently deleted a ton of files. OneDrive may have automatically removed all the data from your computer. We will discuss how to retrieve your deleted files and resolve the error “OneDrive deleted my files from computer automatically” in this post.
How to recover deleted OneDrive files
Restoring the deleted files should be the initial step in the troubleshooting procedure. To restore the files, use the methods listed below.
Method 1. Recover deleted files from OneDrive Recycle Bin
How to recover deleted OneDrive files? Firstly you should check the OneDrive Recycle Bin.
Step 1. Go to the OneDrive website and log in to your OneDrive account.
Step 2. On the left side, select the Recycle Bin. Next, click Restore after selecting the files or folders you want to recover.
Now you can go to the original location to check your files and folders.
- If you are logged into OneDrive with a Microsoft account, items will be automatically erased from the recycle bin after 30 days.
- If you are logged into OneDrive with a work or school account, items will be automatically erased from the recycle bin after 93 days.
If you can’t find your deleted files in the Recycle Bin, they may be moved to the Second-stage- recycle bin.
Step 1. Scroll down the Recycle Bin page and click Second-stage recycle bin at the bottom.
Step 2. Choose the files or folders you want to restore and press Restore. All of the chosen files will be put back where they were originally.
Method 2. Restore OneDrive to a previous time
If the method above does work, you can restore OneDrive to a previous time and get the deleted files or folders back.
Step 1. Log in to your OneDrive account. Click Settings > Restore your OneDrive from the drop-dowm menu.
Step 2. On the next page, choose a date that the files had not been deleted yet, and click Restore.
Method 3. Recover deleted OneDrive files with a professional tool
If your files are permanently deleted from OneDrive and find no access to recover them. Now you need the help of a professional Windows data recovery tool MyRecover. This software offers you comprehensive solutions to all data loss situations, including file deletion. The distinguished advantages of AOMEI Data Recovery software are listed below.
- Easy-to-use. It has easy operations, you can recover data from Windows within only 3 steps.
- All-inclusive. It offers comprehensive solutions to save you from all data loss situations. In addition to recovering deleted data, it can also recover data from formatted disk, crashed system, etc.
- Efficient. Embedding an advanced scanning algorithm, it will scan and recover your data quickly.
- Safe. It is 100% secure and trustworthy with a virus-free guarantee.
- Compatible. It supports NTFS, FAT32, exFAT, ReFS in Windows 11/10/8/7 and Windows Server.
On your computer, install MyRecover. Then, let's begin the process of recovering deleted files.
Step 1. Launch the software on your computer, choose the hard drive you want to recover your data from, and then click Start Scan.
Step 2. The software will quickly and thoroughly scan your drive. Then, a list of lost files will appear. You can find the target files directly by entering the file name into the search box in the top right corner.
Step 3. Select the target files and click Recover x files to get them back at once.
Bonus tip: How to fix OneDrive is automatically deleting files
Unexpected automated file deletion in OneDrive is an annoying problem. Windows outdated drivers or corrupt operating system files may be the reason for the issue. Another possibility is a corrupted or outdated OneDrive client. In this part, we offer you feasible ways to fix this problem properly.
Method 1. Check hard disk for bad sectors using CHKDSK
You man encounter the error if your hard drive is corrupted with bad sectors. Using CHKDSK command can fix this problem.
Step 1. Press Win + R and enter CMD to launch Command Prompt.
Step 2. Enter CHKDSK to check if there are bad sectors in your hard drive.
Step 3. Enter the command chkdsk #: /f /r/x to fix the bad sectors. (Replace # with the letter of your disk you want to check)
Method 2. Update the OneDrive client
You may encounter the problem “OneDrive deleted all my files from my computer automatically” if you are using an outdated version of OneDrive client. In this case, updating the OneDrive client may 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.
Method 3. Update Windows operating system
An outdated Windows operating system also can be the reason for OneDrive computer file deletion. You can use this method to check and update your Windows system.
Go to Settings > Update & Security > Windows Update, click Check for updates and install any available updates. Reboot your computer after that.
Facing the same problem “OneDrive deleted all my files from my computer”? Hope the methods above can help you solve the problem. To avoid this issue happen again, we advise you use another trustworthy Windows backup software AOMEI Backupper to safeguard your data from any data corruption.