Windows 10 Deleting Files Automatically: How to Fix the Issue & Recover Data (2024)

Need personalized advice?

Share your issue and get tips from others in our community section.

Visit Forum

Many Windows users report facing a problem in which the computer deleted files by itself. There can be a multitude of reasons for this issue, and we’ll take a look at the most common ones. This article will describe how you can resolve the issue as well as get back any missing files.

🗨️

Click here if you want to skip the introduction part and go to the recovery guide.

Can a Computer Delete Files by Itself?

Yes, it’s absolutely possible that your PC may delete files without your consent. Now, this could be due to enabling certain settings, malware infections, or a hardware malfunction. In some cases, antivirus software can falsely flag safe files as malware, and subsequently delete them as a safety measure.

The following table delves into possible cases of files getting deleted automatically on Windows 10 and the reasons for them:

Case

Reason

Solutions

Files getting deleted automatically when clicked

A malfunctioning mouse or trackpad, a stuck delete key on the keyboard, or firmware/driver issues.

Connect a different mouse, ensure the delete key isn’t stuck, and reinstall/update mouse drivers using Device Manager.

Files getting deleted automatically after Windows restart

A misconfigured Windows Defender, using a temporary user account, or a corrupt user account.

Perform an SFC scan, add an exclusion to Windows Defender, and use a new user account.

Windows deleting downloaded files automatically

Storage Sense has been configured to clean up the Downloads folder

Modify Storage Sense settings to not clean up the Downloads folder. You can also recover previously deleted files from the Downloads folder.

Files automatically going to Recycle Bin

This ties in with hardware or firmware malfunction with your input devices, or a possible case of malware.

Use a different mouse and perform a full antivirus scan of your computer. Perform Recycle Bin recovery.

EXE files automatically deleted

The antivirus detects the EXE file as a virus or there is an actual malware infection on your computer.

Add an exclusion for EXE files to Windows Defender, but first perform a full scan for malware.

How to Recover Files That Were Deleted Automatically

It’s quite easy to recover the various files deleted automatically on Windows 10. Your best bet is using third-party data recovery software. Not only are these programs easy to use, they also provide the best bang for your buck, even when compared to professional data recovery services.

We’ll take a look at two of the best data recovery programs and how you can get back automatically deleted files on Windows 10.

Option A: Disk Drill

Windows 10 Deleting Files Automatically: How to Fix the Issue & Recover Data (1)The first data recovery software, we’ll take a look at, is Disk Drill. A few standout features of the program include–a market-leading data recovery rate, an easy-to-use UI, and in-built tutorials within the program. Windows users also get a free trial that offers up to 500 MB of data recovery at no cost.

🔗

For an in-depth look at Disk Drill’s functionality, check out our review of Disk Drill.

Let’s take a look at the process for retrieving deleted files using Disk Drill:

  1. Download Disk Drill and run the downloaded setup file.
  2. Simply click on Install to begin the installation. You need administrative privileges to do so.
  3. After installing the program, run Disk Drill.
  4. Now, select the storage device or the partition you want to scan for automatically deleted files. Click on Search for lost data.Windows 10 Deleting Files Automatically: How to Fix the Issue & Recover Data (2)
  5. Wait for Disk Drill to finish scanning.
  6. Click on Review found items If you want to recover specific types of files, e.g. photos, simply click on Pictures or any other file type on the same screen.Windows 10 Deleting Files Automatically: How to Fix the Issue & Recover Data (3)
  7. Select the files you want to recover, by ticking the checkbox next to them. Disk Drill will display the recovery chances for each file next to it.
  8. Click on Recover.Windows 10 Deleting Files Automatically: How to Fix the Issue & Recover Data (4)
  9. Choose a recovery destination for the files. Click on OK.Windows 10 Deleting Files Automatically: How to Fix the Issue & Recover Data (5)
  10. After data recovery is complete, click on Show recovered data in Explorer to view the recovered files in Windows Explorer.Windows 10 Deleting Files Automatically: How to Fix the Issue & Recover Data (6)

Option B: Recuva

Windows 10 Deleting Files Automatically: How to Fix the Issue & Recover Data (7)Recuva is another well-reviewed data recovery program. Its wizard-based approach to data recovery is helpful for new users, while a good data recovery rate provides you with peace of mind. It also has a filter feature along with secure delete to permanently delete any sensitive files.

Here’s an overview of how to recover data using Recuva:

  1. Download Recuva and install the program.
  2. Launch Recuva.
  3. You’ll be greeted with a data recovery wizard screen. Click Next.Windows 10 Deleting Files Automatically: How to Fix the Issue & Recover Data (8)
  4. Now, select the file types of you want to recover. We’ll choose All files for this tutorial.Windows 10 Deleting Files Automatically: How to Fix the Issue & Recover Data (9)
  5. Select a scan location. Leave I’m not sure selected to scan your entire PC for automatically deleted files. Click on Next.Windows 10 Deleting Files Automatically: How to Fix the Issue & Recover Data (10)
  6. On the next screen, ensure that Enable Deep Scan is ticked for a more thorough scan. Click on Start to begin the scan.Windows 10 Deleting Files Automatically: How to Fix the Issue & Recover Data (11)
  7. Again, using the checkbox next to each file, select the files you want to recover. Click on Recover.Windows 10 Deleting Files Automatically: How to Fix the Issue & Recover Data (12)
  8. Browse for a location to save the files you want to recover. Click on OK.
  9. Recuva will recover the selected files.

How to Stop Windows 10 Deleting Files Automatically

While data recovery software can help you recover deleted files on Windows 10, ideally, you should aim to resolve the issue of Windows 10 deleting files automatically. Let’s take a detailed look at how to diagnose and fix the automatic deletion problem in Windows 10:

Method #1: Configure or Turn Off Storage Sense

Storage Sense is a feature that automatically frees up space on your computer. It can also delete useful files if not properly configured, especially from the Downloads folder. You can configure it to not delete essential files or turn it off entirely:

  1. Right-click on the Start button and click on Settings.
  2. Click on System.Windows 10 Deleting Files Automatically: How to Fix the Issue & Recover Data (13)
  3. Click on Storage in the left navigation pane.
  4. Select Configure Storage Sense or run it now.Windows 10 Deleting Files Automatically: How to Fix the Issue & Recover Data (14)
  5. Now, you could either turn off Storage Sense entirely using the slider or set the Delete files in my Downloads folder if they haven’t been opened for more than: to Never.Windows 10 Deleting Files Automatically: How to Fix the Issue & Recover Data (15)
  6. You can also turn off the automatic deletion of files in the Recycle Bin using the drop-down menu on the same screen.

Method #2: Add an Exclusion to Windows Defender

Windows Defender can sometimes falsely flag a file, and thereby result in files getting deleted automatically on Windows 10. The simplest way to solve this problem is by adding an exclusion for the folder or file to Windows Defender.

⚠️

Note: Only do this if you’re sure the file or folder is completely safe and devoid of any viruses and other malware.

  1. On Windows Search (Windows Key + S), type Windows Security, and open the app from the search results.
  2. Click on Virus & threat protection.Windows 10 Deleting Files Automatically: How to Fix the Issue & Recover Data (16)
  3. Under Virus & threat protection settings, click on Manage settings.Windows 10 Deleting Files Automatically: How to Fix the Issue & Recover Data (17)
  4. Scroll down to find the Exclusions section. Here, click on Add or remove exclusions.Windows 10 Deleting Files Automatically: How to Fix the Issue & Recover Data (18)
  5. Click Add an exclusion and browse for the file or folder you want to exclude from Windows Defender. Click Open to add it to the exclusion list.Windows 10 Deleting Files Automatically: How to Fix the Issue & Recover Data (19)

Method #3: Diagnose Hardware and Firmware Issues

If you experience that clicking a file automatically deletes it, your mouse or trackpad may be malfunctioning, or there’s a faulty driver involved. The first step of action should be to connect a different mouse to the computer and see if the error persists. Additionally, check if the Delete key of your keyboard isn’t stuck.

If you’re still experiencing the files getting deleted automatically error, it may be worthwhile to update or reinstall the drivers for your mouse. You can do this using Device Manager:

Update Mouse Drivers

  1. Press Windows Key + R to open the Run application.
  2. Type devmgmt.msc in the text box and press Enter.Windows 10 Deleting Files Automatically: How to Fix the Issue & Recover Data (20)
  3. Expand the Mouse and other pointing devices section.
  4. Right-click on your mouse and select Update driver.Windows 10 Deleting Files Automatically: How to Fix the Issue & Recover Data (21)
  5. On the next window, click on Search automatically for drivers option.Windows 10 Deleting Files Automatically: How to Fix the Issue & Recover Data (22)
  6. Windows will search for and download the latest drivers for your mouse.

Reinstall Mouse Drivers

  1. Again, open Device Manager using steps 1 and 2 in the section above.
  2. Ensure you expand the Mouse and other pointing devices section.Windows 10 Deleting Files Automatically: How to Fix the Issue & Recover Data (23)
  3. Right-click on the name of your mouse and click Uninstall device.
  4. In the prompt that appears, tick the Delete the driver software for this device checkbox. Click on Uninstall,Windows 10 Deleting Files Automatically: How to Fix the Issue & Recover Data (24)
  5. Reboot your computer and Windows will reinstall the drivers again. Your mouse may not work after you uninstall the drivers, so use the ALT+F4 shortcut to close any windows and shut down your PC.

Method #4: Try Running an SFC Scan and Scan for Malware

Now, there are various reasons why Windows may be deleting your files automatically after you reboot your computer. It could be due to a failure in loading your user file, a faulty update, or Windows Defender deleting safe files. You can fix the last one by adding an exclusion to Windows Defender.

Run SFC Scan

A good first step to fix this issue is to run a System File Checker (SFC) scan:

  1. In Windows Search (Windows Key + S), type cmd. Right-click on Command Prompt and select Run as administrator.Windows 10 Deleting Files Automatically: How to Fix the Issue & Recover Data (25)
  2. In the Command Prompt console, type sfc /scannow and press Enter.Windows 10 Deleting Files Automatically: How to Fix the Issue & Recover Data (26)
  3. Wait for Windows to scan and fix the integrity of your system files.
  4. Once it’s done, Reboot your PC to see if the problem persists.

Create a New User Account

It’s possible that Windows fails to load your user profile and logs you in with a temporary user account instead. A good way to fix this would be to create a new user account and then see if the problem of files getting deleted automatically on Windows 10 still remains.

Here is a simple way to create a new user account on Windows:

  1. Click on Start > Settings.
  2. On the Settings dashboard, click on Accounts.Windows 10 Deleting Files Automatically: How to Fix the Issue & Recover Data (27)
  3. On the Accounts window, click on Family & other users in the left navigation pane.
  4. Click on Add someone else to this PC. Enter the required credentials and Windows will create a new user account.Windows 10 Deleting Files Automatically: How to Fix the Issue & Recover Data (28)

Scan for Malware

Computer viruses can impede the normal functioning of your Windows PC and this includes the issue of files getting deleted automatically. It’s recommended you use a good antivirus program and perform regular full computer scans. Windows Defender does a decent job at protecting you from viruses.

But, it only performs Quick Scans regularly. Users have to manually perform a full scan using Windows Defender:

  1. In Windows Search (Windows Key + S), type Windows Security and open the app.
  2. On the Windows Security dashboard, select Virus & threat protection.Windows 10 Deleting Files Automatically: How to Fix the Issue & Recover Data (29)
  3. Under Current Threats, click on Scan options.Windows 10 Deleting Files Automatically: How to Fix the Issue & Recover Data (30)
  4. Select Full Scan and then click on Scan now.Windows 10 Deleting Files Automatically: How to Fix the Issue & Recover Data (31)
  5. It may take a while for Windows Defender to scan your entire hard disk drive. Also, your computer may work slower than usual during the scan.

FAQ

Why does Windows 10 keep deleting files?

There are numerous reasons why your Windows 10 computer is automatically deleting files. Some of them include–Storage Sense being turned on, the drivers for your mouse being faulty, a malware infection, and harmless files being detected as a virus.

How come, when I click on files, they automatically get deleted?

The main reason for files getting deleted as soon as you click on them is a faulty mouse or keyboard. This could either be a hardware issue (such as a stuck delete key on your keyboard), or a firmware/driver problem.

Why are my files getting deleted automatically on Windows 11?

The reasons for automatic file deletion in Windows 11 are largely the same as in Windows 10–a misconfigured Storage Sense feature, false flagging of files by Windows Defender, malfunctioning drivers, and faulty input devices such as mice and keyboards. If you recently updated to Windows 11, it is a possibility that the deleted files were stored in the Windows.old folder, which Windows automatically deletes after a certain period of time.

You can use programs like Disk Drill to recover deleted files from Windows 11 as well.

Why my laptop is automatically deleting files?

Your laptop may be running low on space, prompting Storage Sense to clear up files. You could either modify Storage Sense settings or clear up space manually by deleting unused files. Other common reasons could be–computer viruses, or a problematic touchpad.

Conclusion

It can sometimes be tricky to narrow down the exact cause behind why your Windows 10 is automatically deleting files. Even if you have lost some important files, it’s important not to panic, because data recovery programs can help you recover those lost files. You can then go about determining the reason for Windows 10 deleting files automatically.

About article

Staff Writer Manuviraj Godara

This article was written by Manuviraj Godara, a Staff Writer at Handy Recovery Advisor. It was also verified for technical accuracy by Andrey Vasilyev, our editorial advisor.

Curious about our content creation process? Take a look at our Editor Guidelines.

How do you rate the article? Submitted:

Windows 10 Deleting Files Automatically: How to Fix the Issue & Recover Data (2024)
Top Articles
Mining with AMD Ryzen 9 7900X3D 12-Core Processor
Pokémon Indigo Disk's Map Size Compared To Teal Mask DLC & Paldea Region
English Bulldog Puppies For Sale Under 1000 In Florida
Katie Pavlich Bikini Photos
Gamevault Agent
Pieology Nutrition Calculator Mobile
Hocus Pocus Showtimes Near Harkins Theatres Yuma Palms 14
Hendersonville (Tennessee) – Travel guide at Wikivoyage
Compare the Samsung Galaxy S24 - 256GB - Cobalt Violet vs Apple iPhone 16 Pro - 128GB - Desert Titanium | AT&T
Vardis Olive Garden (Georgioupolis, Kreta) ✈️ inkl. Flug buchen
Craigslist Dog Kennels For Sale
Things To Do In Atlanta Tomorrow Night
Non Sequitur
Crossword Nexus Solver
How To Cut Eelgrass Grounded
Pac Man Deviantart
Alexander Funeral Home Gallatin Obituaries
Energy Healing Conference Utah
Geometry Review Quiz 5 Answer Key
Hobby Stores Near Me Now
Icivics The Electoral Process Answer Key
Allybearloves
Bible Gateway passage: Revelation 3 - New Living Translation
Yisd Home Access Center
Pearson Correlation Coefficient
Home
Shadbase Get Out Of Jail
Gina Wilson Angle Addition Postulate
Celina Powell Lil Meech Video: A Controversial Encounter Shakes Social Media - Video Reddit Trend
Walmart Pharmacy Near Me Open
Marquette Gas Prices
A Christmas Horse - Alison Senxation
Ou Football Brainiacs
Access a Shared Resource | Computing for Arts + Sciences
Vera Bradley Factory Outlet Sunbury Products
Pixel Combat Unblocked
Movies - EPIC Theatres
Cvs Sport Physicals
Mercedes W204 Belt Diagram
Mia Malkova Bio, Net Worth, Age & More - Magzica
'Conan Exiles' 3.0 Guide: How To Unlock Spells And Sorcery
Teenbeautyfitness
Where Can I Cash A Huntington National Bank Check
Topos De Bolos Engraçados
Sand Castle Parents Guide
Gregory (Five Nights at Freddy's)
Grand Valley State University Library Hours
Hello – Cornerstone Chapel
Stoughton Commuter Rail Schedule
Nfsd Web Portal
Selly Medaline
Latest Posts
Article information

Author: Saturnina Altenwerth DVM

Last Updated:

Views: 5874

Rating: 4.3 / 5 (44 voted)

Reviews: 91% of readers found this page helpful

Author information

Name: Saturnina Altenwerth DVM

Birthday: 1992-08-21

Address: Apt. 237 662 Haag Mills, East Verenaport, MO 57071-5493

Phone: +331850833384

Job: District Real-Estate Architect

Hobby: Skateboarding, Taxidermy, Air sports, Painting, Knife making, Letterboxing, Inline skating

Introduction: My name is Saturnina Altenwerth DVM, I am a witty, perfect, combative, beautiful, determined, fancy, determined person who loves writing and wants to share my knowledge and understanding with you.