How to Stop Windows 10 Deleting Files Automatically

Tracy King updated on Feb 23, 2020 to File Recovery | How-to Articles

Summary

Are you trying to find a way to stop Windows 10 from deleting files on your computer after the system upgrade? Does Windows 10 Defender remove your downloaded files from PC without confirmation? Here on this page, you’ll find useful methods to restore deleted files on Windows 10 and stop Windows 10 from deleting files without asking by simple clicks.

on this page, you'll find handy solutions to restore deleted files on Windows 10 and stop Windows 10 from deleting files without asking.

Workable Solutions Step-by-step Troubleshooting
Fix 1. Stop Windows Defender Open Windows Defender > click Virus & Threat protection > click Exclusions...Full steps
Fix 2. Turn off Storage Sense Go to Settings > System > Storage > toggle Storage Sense to "Off"...Full steps
Fix 3. Uninstall faulty updates Open Control Panel > click Programs and Features > click View Installed Updates...Full steps

Q: Windows Defender Keeps Deleting Files

"Hi, I'm having an issue that my computer is automatically deleting files without asking me for confirmation. I use some programs with .exe extension. But Windows defender reads those as a virus, and it deletes them while I still want them! How do I stop Windows defender from deleting files that I want to keep?" 

Are you having the same issue that Windows defender keeps deleting files, such as downloaded videos, documents, or .exe programs? Or is your Windows 10 automatically deleting downloaded files and data without asking for confirmation? Although it sounds senseless, it is true. Windows 10 may keep deleting programs and documents after restart because of the defender or the new storage sense feature in Windows 10. But, you don't have to worry since you can easily recover deleted files Windows 10 using a professional data recovery tool, after that, you can use the helpful methods demonstrated below to stop Windows from deleting files automatically.

Notice:
If you've got important files deleted by Windows 10, which you can restore from nowhere, go to Part 1 and recover those lost files first. And then You can follow Part 2 with provided methods to stop Windows 10 from deleting your files without asking your permission or giving any notification.

Part 1. Restore Files Deleted by Windows 10 

If your important files got removed or deleted by Windows 10 and you can't get them back anyhow, don't worry. One of the best file recovery software - EaseUS Data Recovery Wizard can simply recover your lost files within three steps. It allows you to restore files deleted from the recycle bin, HDD, SSD, USB flash drive, external hard drive, digital camera, and more. 

Now, download and install this software on your PC and follow the next steps to restore the removed files deleted by Windows 10.

Step 1. Is it a local hard drive disk or a removable storage device from which the files were deleted? Choose the exact file location and then click the "Scan" button to continue.

select a location and click scan

Step 2. Wait for the scan to completes. After the process, you can preview the found files and select what you need. There is no limit in number.

scan deleted files

Step 3. Now, click the "Recover" button to save the restored files to another location rather than the original one. Then, click "OK" to finish the recovery.

select files and click recover

Part 2. Fix Windows 10 Automatically Delete Files Error

After getting all your lost files deleted by the Windows system, now you can follow solutions here to fix Windows 10 from deleting files problem. 

Method 1. Stop Windows Defender from Deleting Files Automatically

1. Open "Windows Defender" > Click on "Virus & threat protection".

Stop Windows Defender deleting files in Windows 10.

2. Scroll down and click "Virus & threat protection" settings.

Set Defender to stop deleting files.

3. Scroll down to "Exclusions" and click "Add or remove exclusions".

4. Click + plus icon to add an exclusion and select File, Folder, File Type, or Process, then specify the exact files, folders, or even file types that you don't want to get them deleted or removed by Windows Defender.

Stop Windows Defender deleting files on Windows 10.

5. Save all changes. If you don't want Windows Defender to remove the .dll files, click "File Types" and type in the .dll and .exe file extension, click "Add". After this, those files that you’ve set to be excluded won’t be removed or deleted again. 

Method 2. Turn off Storage Sense to Stop Windows 10 Deleting Files Automatically

Storage Sense in Windows 10 is a new feature. When you enable it, Windows will automatically delete unused files when the computer is low on disk space. For instance, it can automatically delete files older than 30 or 60 days from the Recycle Bin or delete temporary files to free up some space. It also can delete older files in the Downloads folder.

But If you don't want the Storage Sense to delete files by itself, you can change its default settings to prevent Windows 10 from automatically deleting files when you want to keep them

Step 1. Open the "Settings" app. Click the "System" > "Storage". You can flip the Storage Sense switch to "Off".

stop Windows 10 deleting files automatically - storage sense

Step 2. If you don't want to disable this feature totally, you can re-configure Storage Sense by click "Change how we free up space automatically".

Step 3. Click the box under "Delete files in my recycle bin if they have been there for over"  and select "Never". Also, click the box under "Delete files in my Downloads folder if they have been there for over" and choose "Never".

stop Windows 10 deleting files automatically - set storage sense

Method 3. Uninstall Faulty Updates that Delete Files on Windows 10

As we all know that sometimes the newly installed Windows system would remove or delete files on the computer without asking you for permission. It seems that if you’ve installed an incompatible or faulty Windows 10 update, it will remove or delete your files on PC. SO the most straight-forward way is to uninstall the faulty updates that remove files on your Windows 10 computer.
Here are the detailed steps about how to uninstall faulty updates:

Step 1. Press Windows + X keys and select "Control Panel".

Uninstall faulty update that deletes files on Windows 10.

Step 2. Click "Programs and Features" and select "View Installed Updates".

Stop Windows 10 deleting files without asking.

Find faulty update that removed files on Windows 10.

Step 3. Click the "Installed On" column header to sort the updates by dates.

Step 4. Locate and right-click on the large-sized, major updates that you’ve recently downloaded, and select "Uninstall".

Uninstall faulty update that removes files on Windows 10 PC.

Step 5. When the uninstall process completes, reboot your PC.

PS: If you want to install the latest Windows 10 update, you can refer to Microsoft Windows 10 update official website to download Windows 10 ISO and install it on your PC then.

 
 

100% of people found this article helpful.

 

Frequently Asked Questions

1. Why choose EaseUS Data Recovery Wizard?

"EaseUS Data Recovery Wizard is the best we've seen. It's far from perfect, partly because today's advanced disk technology makes data-recovery more difficult than it was with the simpler technology of the past, but it's fast and efficient..."PCMag

"The first thing you'll notice about EaseUS Data Recovery Wizard Pro is that its interface is very clear and uncluttered, with only a small collection of self-explanatory controls. You won't find lots of extra options hidden in a system of hidden menus, either; what you see really is what you get."techradar

"Recover lost files, even after deleting a partition or formatting your drive."Macworld

2. Why cannot I recover 2GB data for free?

It is recommended to check the version installed is Free or Trial because they are different versions.

Trial has data preview function but cannot save any files, while the Free version enables to recover 2 GB files. The default free space is 500 MB and you may share the product on social media to get another 1.5 GB.

3. Why cannot the recovered files be opened?

A file is saved as 2 parts on the storage device: directory info (which is comprised by file name, time stamp and size info, etc.) and data content.

If the files with original file names and folder structures cannot be opened, one possible reason is the corrupted directory info. There is still a chance to recover the data content with the RAW Recovery method in our software.

4. Why isn't it suggested to recover the files back to the original drive?

The storage structure of the lost files would be altered or damaged by any changes on the drive. If you save the recovered files back to the same drive, the original data structures and data content would be corrupted or overwritten, which causes permanent data loss. So you should prepare another disk to save the files.

5. How can I check whether my data is recoverable or not before purchase?

The Free version helps you save 2GB files to better verify the recovery quality of our product before purchase.

6. How long does it take to scan the drive?

It strongly depends on the capacity of your hard drive and the performance of your computer. As reference,most drive recoveries can be completed in around 10 to 12 hours for a 1-TB healthy hard drive in general conditions.

About Data Recovery Wizard

It's super easy to recover 250+ types of files after deletion, disk formatting and virus infection. Click the links and compare the difference of each version.