Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

How to Recover a File Quarantined or Removed by Microsoft Defender

Check Defender’s event status, use Restore for a verified quarantined file, and look for backups when the contents have already been removed.

Table of Contents

If Microsoft Defender removed a file, first check Protection history to find out what happened. A quarantined file may have a Restore action. A file already removed is different: choosing Allow does not bring its deleted contents back.

1. Inspect the detection before restoring anything

  1. Open Windows Security.
  2. Select Virus & threat protection > Protection history.
  3. Expand the relevant event and read the detection name, path, time, and status.
  4. If available, filter for Quarantined items.

How to Recover Files Deleted by Windows Defender Picture 1

Administrator permission may be needed. The history is a record of actions, not a folder holding every deleted file. Record the details promptly because events are retained for a limited period.

2. Restore only a verified false positive

If the item is quarantined and you have independently established that it is safe, select the item and choose Restore where offered. Follow Microsoft's quarantined-file restoration instructions.

Do not judge safety from the filename or your need for the file alone. Check its source and ask the software publisher or your organization's IT team to investigate a suspected false positive.

Restoring can cause Defender to detect the file again. Allow on device changes how the detection is handled; it is a security decision, not a generic recovery button. Microsoft's event-status guide explains the difference.

3. If the file was removed, check backups

If Defender has already removed the contents, there may be nothing to restore from quarantine. A trusted backup or a clean replacement from the publisher may be the appropriate route after the detection has been reviewed.

For a personal document covered by File History before the loss:

  1. Connect the drive or location holding the backup.
  2. In File Explorer, right-click the folder that previously contained the file.
  3. Select Restore previous versions; on Windows 11 it may be under Show more options.
  4. Choose a version from before the loss and preview it.
  5. Recover the required item, preferably to another location first to avoid overwriting current work.

How to Recover Files Deleted by Windows Defender Picture 2

How to Recover Files Deleted by Windows Defender Picture 3

Enabling File History now cannot create a backup of a file already lost. An empty Previous Versions tab means no suitable version is available through that view. See Microsoft's File History guide for supported restore options.

Do not use exclusions as a routine recovery fix

Excluding a folder or turning off protection can let harmful content run and does not recover deleted bytes. Keep uncertain items quarantined and resolve the detection rather than suppressing it.

On a managed PC, contact IT before restoring or allowing a detected item. After any approved recovery, confirm the file is the intended version and that your protection remains active.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.