Helping millions of people navigate the world of technology.

Why Is Windows 11 Automatically Deleting My Files?

Quick Tips
  • Turn Storage Sense off until you’ve checked you’re happy with the settings.
  • Check Windows Defender exclusions and use this area to exclude files that absolutely cannot be deleted.
  • Roll back to a previous Windows update and re-install the most recent one to fix any lingering issues.

With Windows 11, you can store files on your computer or via Microsoft’s cloud-based storage service, OneDrive. But with Windows 11 automatically deleting files from time to time, how can you trust that your data is safe while using Microsoft services?

Well, it turns out that in most cases, Windows 11 is actually following instructions to delete files, and not going rogue. Services like Storage Sense are set up to automatically delete files, while Windows Defender may track a file as being potentially harmful.

Thankfully, it’s pretty easy to configure your settings to protect your files and even roll back to a previous update if necessary.

Why Is Windows 11 Automatically Deleting Files: Storage Sense

Storage Sense is a service designed to automatically delete temporary files and downloads to keep your storage to a minimum. If you catch Windows 11 automatically deleting files, it’s more than likely the Storage Sense settings that need changing.

Step 1. Search for Storage Sense or follow this path: Settings > System > Storage > Storage Sense.

Why Is Windows 11 Automatically Deleting My Files 1

Step 2. If you’re confident that you can manage storage on your computer yourself, you can simply turn the service off. You may also want to do this while you familiarize yourself with the settings.

Why Is Windows 11 Automatically Deleting My Files 2

Step 3. Check all your Storage Sense settings. Firstly, check how often the cleanup is occurring. You can set it to only run when disk space is low. If the cleanup is running daily, that might explain why you’re losing files, particularly if you have a habit of leaving items in your Downloads folder.

Why Is Windows 11 Automatically Deleting My Files 3

Step 4. Decide how often you want your Recycle Bin emptied and how often or if you want your Downloads folder cleared. If you set the “Delete files in my Downloads folder…” option to “Never,” you should find that files stop being deleted automatically.

Why Is Windows 11 Automatically Deleting My Files 4

Windows Security Settings

Default security apps like Microsoft Defender offer effective firewall and virus protection tools, but can inadvertently identify files as harmful when they’re not. You can set exclusions to get around this.

Step 1. Search for Windows Security and open the relevant app.

Why Is Windows 11 Automatically Deleting My Files 5

Step 2. Go to Virus & threat protection by clicking the option on the left-hand menu, then click Manage settings.

Why Is Windows 11 Automatically Deleting My Files 6

Step 3. Scroll until you see Exclusions, then click on Add or remove exclusions.

Why Is Windows 11 Automatically Deleting My Files 7

Step 4. Click on Add an exclusion and choose a file, file type, process, or folder. This essentially tells Windows Security to ignore these files/folders while doing security checks.

Why Is Windows 11 Automatically Deleting My Files 8

Step 5. Select the file or folder you want to protect. Choosing a folder might be a smart move as you can move anything critical into this folder.

Why Is Windows 11 Automatically Deleting My Files 9

Step 6. You’ll now see the relevant folder path in your Windows Security exclusions list. At any time, you can add or remove exclusions here.

Why Is Windows 11 Automatically Deleting My Files 10

Faulty Windows 11 Update

If Windows continues to delete files, try rolling back to an earlier update and reinstalling the most recent one.

Step 1. Go to Settings > Windows Update. Alternatively, search for Windows Update from the task bar.

Why Is Windows 11 Automatically Deleting My Files 11

Step 2. Click on Update history, then Uninstall updates.

Why Is Windows 11 Automatically Deleting My Files 12

Step 3. Click on the most recent update. If you can’t see a date, it will be the one at the top labeled “Update for Windows.” Click Uninstall, and follow the onscreen prompts.

Why Is Windows 11 Automatically Deleting My Files 13

Restart your computer, and you should find that the problem with Windows 11 automatically deleting files has been fixed. You can follow the same settings route to reinstall the latest updates as needed.

Was this helpful?

Thanks for your feedback!

Last updated on 27 February, 2026

Leave a Reply

Your email address will not be published. Required fields are marked *

The article above may contain affiliate links which help support Guiding Tech. The content remains unbiased and authentic and will never affect our editorial integrity.