But recently, more and more users reported that OneDrive keeps deleting files automatically without any permission.
Is Microsoft OneDrive necessary for you?
This post will show you some detailed information about OneDrive.
![]()
As an online cloud storage service, keeping users data safe is whats more important.
Tip: you could try anothersync alternative MiniTool ShadowMaker.
Besides, an outdated OneDrive client may cause the error.

The way may fail but worth trying.
Step 1: Right-choose the OneDrive icon from the right-bottom side of the systems tray and chooseHelp and parameters.
Step 2: ChooseSettingsand then go to theAccounttab.

After you finish these steps, you may have restored your files.
How to recover permanently deleted files from Windows 11/10?
you’re able to learn some practical methods from this post.
![]()
How to Prevent OneDrive from Deleting Files Automatically?
Step 1: Typecmdin the Search box and runCommand Promptwith administrative rights.
Step 2: When the window pops up, inputchkdsk #: /f /r /xand pressEnter.

Note: c’mon replace#:with the drive letter you want to check.
Then you wait until the check ends and reset your gear.
Step 1: TypeControl Panelin Search and open it.

Step 2: ClickUninstall a programunderPrograms.
Step 3: Find Microsoft OneDrive from the app list, then right-click it and selectUninstall.
ClickYesif you see the User Account Control interface.

Go to the OneDrive download page: https://www.microsoft.com/en-us/microsoft-365/onedrive/download.
Then, click theDownloadbutton to download the OneDriveSetup file on your rig.
Step 6. initiate the setup file to reinstall OneDrive.

After that, you’re free to peek if your OneDrive still deletes files automatically.
Fix 3: Update Windows
The last method is to update Windows.
The specific steps are as follows.
Go toStart > controls > Update & Security > Windows Update > Check for updates.
Then Windows will automatically check for available newer updates for your machine.
Besides, it is hard to say that your files can get back every time.
The best method to help you cope with the OneDrive deleting files automatically issue is backup.
you might back up your files in advance withMiniTool ShadowMaker.
It is not only a sync tool but also a backup expert.
Go to download and install this tool and you will get a 30-day free trial version.
Step 1: initiate the program and clickKeeps Trial.
Then go toDESTINATIONto choose where you want to back up to.
Step 3: ClickBack Up NoworBack Up Laterto initiate the backup task.
The delayed backup task is in theManagetab.
This article can help you fix the OneDrive deleting files automatically issue with simple steps.
This post has given you some methods to help patch up the issue.
Hope this article can be useful for you.
If you need any help when using MiniTool software, you may contact us via[email protected].