Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Deleted Files Keep Coming Back in Windows 10? Fixes

· 5 min read · Home Tech

In this article
  1. Why Deleted Files Come Back
  2. Check OneDrive Sync First
  3. Disable File History and Backup Tools
  4. Clear the Recycle Bin and Check for Sync Conflicts
  5. Run Disk and File System Checks
  6. Disable Antivirus Restore Features
  7. Frequently Asked Questions

If you delete a file in Windows 10 and it reappears later, the usual causes are OneDrive sync, File History, or a failing storage device. This article explains why files resurrect and gives step-by-step fixes for each cause.

Why Deleted Files Come Back

Windows 10 does not immediately erase a deleted file. It moves it to the Recycle Bin, and the space is only marked as available. If you see a file return after you empty the Recycle Bin, something is actively restoring it. The most common culprits are:

  • OneDrive sync: If the file is in a OneDrive folder, deleting it on one device deletes it everywhere, but a sync conflict or a paused sync can make it reappear from the cloud.
  • File History or backup software: A scheduled backup can restore a file that was deleted after the last backup ran.
  • Antivirus quarantine: Some security programs restore files they consider safe after a scan, even if you deleted them.
  • Faulty storage or file system corruption: A failing drive or a corrupted file system can cause the directory entry to persist.

Check OneDrive Sync First

OneDrive is the most frequent reason files reappear, especially if you use multiple devices. When you delete a file in a OneDrive-synced folder, Windows 10 sends a deletion request to the cloud. If the sync is interrupted (e.g., you delete while offline), the cloud still has the file, and when sync resumes, it downloads again.

  1. Right-click the OneDrive icon in the notification area and choose Settings.
  2. Go to the Account tab and click Choose folders. Ensure the folder containing the file is not set to “make available online-only”.
  3. If the file is in a shared folder, check if someone else has re-added it. OneDrive shared folders sync changes from all members.
  4. To permanently delete a file from OneDrive, go to the OneDrive website, open the Recycle Bin, and delete it there. This prevents it from syncing back.

Disable File History and Backup Tools

File History in Windows 10 automatically backs up files in Libraries, Desktop, Contacts, and Favorites. If you delete a file and then File History runs, it may restore the file because it still exists in the backup. To stop this:

  1. Open Settings > Update & Security > Backup.
  2. Click More options under “Back up using File History”.
  3. Scroll to “Back up now” and click Stop.
  4. To disable it entirely, go back to the Backup page and toggle off “Automatically back up my files”.

If you use a third-party backup tool, check its settings for “restore deleted files” or “sync back”. Some tools have a feature that mirrors deletions, but others only add new files, so a deleted file can reappear on the next backup.

Clear the Recycle Bin and Check for Sync Conflicts

If you deleted a file but it still shows in the Recycle Bin, you haven’t actually removed it. Empty the Recycle Bin by right-clicking its icon and selecting Empty Recycle Bin. If a file reappears after that, it is not coming from the Recycle Bin.

Sync conflicts can also cause files to reappear with names like “filename (conflicted copy)”. These are created when two devices edit the same file offline. To avoid this, make sure all devices are online when you delete files, and check the OneDrive website to see if the file is still in the cloud.

Run Disk and File System Checks

A failing hard drive or a corrupted file system can make deleted files reappear because the deletion was never written to disk. Run these built-in tools:

  • Check Disk (chkdsk): Open Command Prompt as administrator and run chkdsk C: /f. This scans for file system errors and fixes them. You may need to restart.
  • System File Checker (sfc): Run sfc /scannow in an elevated Command Prompt. This repairs corrupted Windows system files that might interfere with file operations.
  • Check drive health: Use the Reliability Monitor or third-party tools like CrystalDiskInfo to see if your drive is failing. If the drive is failing, back up your data immediately.

Disable Antivirus Restore Features

Some antivirus programs quarantine a file when you delete it, then restore it after a scan if they think it was safe. This can look like the file is coming back. To check:

  1. Open your antivirus program and look for a Quarantine or Restore section.
  2. If the deleted file is there, restore it once and then delete it again, but this time choose “Permanently delete” if the option exists.
  3. Disable any “auto-restore” or “healing” settings that automatically restore files.

Frequently Asked Questions

Why do my deleted files come back after restart?

If files reappear after a restart, it is often because OneDrive or another cloud sync service is downloading them again. Check the OneDrive activity log (right-click the icon and choose “View online”) to see if the file was recently uploaded. Also, check if your backup software runs at startup and restores files.

How do I permanently delete a file in Windows 10?

To permanently delete a file without sending it to the Recycle Bin, select the file and press Shift + Delete. Confirm the prompt. However, this does not bypass OneDrive sync; if the file is in a synced folder, it will still go to the OneDrive Recycle Bin unless you delete it from the website.

Can a virus make deleted files come back?

Yes, some malware can hide files or restore them from a backup. If you suspect a virus, run a full scan with Windows Defender or a reputable third-party scanner. Also, check if your system has a hidden “shadow copy” that might be restoring files.

Does emptying the Recycle Bin permanently delete files?

No. Emptying the Recycle Bin removes the file from the bin, but the data remains on the disk until overwritten. Recovery tools can often recover it. To prevent recovery, use a secure deletion tool that overwrites the space.

Why do files reappear in a shared folder?

In a shared OneDrive or network folder, another user may have re-added the file. Check the folder’s version history or activity log to see who made changes. If you have permission, you can remove the file permanently from the shared location.

What if the file is on an external drive?

If the external drive is connected to a device with OneDrive or backup software, the same sync rules apply. Also, some external drives have built-in backup software that can restore files. Disconnect the drive and delete the file, then reconnect and check if it reappears.