The user gets the information of the issue when he gets a message that he had deleted files from OneDrive or when he opens OneDrive and finds his files missing. The issue is reported on Windows PCs as well as on Mac systems. Both, i.e. Personal and Business/Office 365, versions of OneDrive are reported to be affected. Although there are some instances on individual folders, a major blow was reported on shared folders. The severe damage was reported by the user where folders were present in the OneDrive client but files in the folders have vanished. Additionally, the issue is also reported by the users who were able to solve the issue priorly. Before moving on with the solutions to stop OneDrive from deleting your files, make sure the date and time of your system are correct. Moreover, it is a good idea to avoid nested folders in OneDrive because some users reported that OneDrive was not able to handle the nested folders well. Furthermore, unlink your OneDrive from all PCs (during the troubleshooting process) except the problematic one.

Solution 1: Restore Your Deleted Files

The first step in the troubleshooting process should be to restore the deleted files. Follow the steps mentioned below to try to restore the files (this process can be a bit tedious): If you are encountering the file deletion issue with the Office 365 version of OneDrive, then you can use Files Restore to restore your files. But keep in mind it will not only restore the affected/deleted files but all other files, so, create a backup of the files you do not want to revert.

Solution 2: Check Your System’s Hard Disk for Bad Sectors

You may encounter the error at hand if your hard disk (or SD card, in case of a phone) is failing or has bad sectors (because it may reject the changes and revert to the default file system). In this context, running the ChkDsk command may solve the problem.

Solution 3: Update Windows and OneDrive Client of Your System to the Latest Build

Windows and OneDrive are updated regularly to add new features and patch their known bugs. Your OneDrive may not function properly if you are using an outdated version of Windows or OneDrive client. In this scenario, updating Windows and OneDrive may solve the problem.

Solution 4: Create a New User Account

You may encounter the error under discussion if your user account is corrupt. In this case, creating another user account on your system and using that account to sync to OneDrive may solve the problem.

Solution 5: Reset the OneDrive Client to Defaults

Your OneDrive client may delete the files if it has a corrupt installation. In this case, resetting it to the defaults may solve the problem. But keep in mind that the reset process may take a while according to the data to be synced. If the issue persists, then either perform a clean install of the Windows on your system or try to use OneDrive on another PC. If the issue is still there, then you may have to use NAS storage with remote access or another cloud storage service (Google Drive, Dropbox, etc.).

Known Folder Move Feature will let Users Send Files to OneDrive with a Single…Fix: High CPU Usage by OneDrive ‘OneDrive.exe’[Fix] Files in Windows 10 Automatically CompressingHow to Identify Shared Files and Directories on OneDrive? Fix  OneDrive Automatically Deleting Files from OneDrive Folder - 28Fix  OneDrive Automatically Deleting Files from OneDrive Folder - 4Fix  OneDrive Automatically Deleting Files from OneDrive Folder - 3Fix  OneDrive Automatically Deleting Files from OneDrive Folder - 15Fix  OneDrive Automatically Deleting Files from OneDrive Folder - 70Fix  OneDrive Automatically Deleting Files from OneDrive Folder - 60Fix  OneDrive Automatically Deleting Files from OneDrive Folder - 41Fix  OneDrive Automatically Deleting Files from OneDrive Folder - 78Fix  OneDrive Automatically Deleting Files from OneDrive Folder - 87Fix  OneDrive Automatically Deleting Files from OneDrive Folder - 3Fix  OneDrive Automatically Deleting Files from OneDrive Folder - 71Fix  OneDrive Automatically Deleting Files from OneDrive Folder - 71Fix  OneDrive Automatically Deleting Files from OneDrive Folder - 48Fix  OneDrive Automatically Deleting Files from OneDrive Folder - 34Fix  OneDrive Automatically Deleting Files from OneDrive Folder - 57