How to Recover a File Quarantined by Windows Defender on Windows 10

If Microsoft Defender Antivirus on Windows 10 quarantined a file you trust, the best place to recover it is Windows Security, not a third-party undelete tool. Open Virus & threat protection > Protection history, inspect the detection, and use Restore only when you are confident the file is a false positive. Microsoft notes that restoring a quarantined file can cause Defender to detect it again; if that happens, you must review the new alert and choose Allow on device only if you are sure the file is safe.

Security warning: Do not restore or allow a file merely because you need it. Confirm the file's source, path, publisher or signature when available, and why Defender flagged it. If you are unsure, leave it quarantined and obtain a clean copy from a trusted source.

How to restore a quarantined file in Windows Defender

  1. Open Windows Security. Select Start, search for Windows Security, and open the app.
  2. Open Protection history. Select Virus & threat protection, then choose Protection history. Microsoft says administrator privileges are required to review threat details, and Protection history keeps events for about two weeks.
Windows 10 Windows Security Virus and threat protection page with Protection history highlighted
Open Protection history from the Virus & threat protection page to review what Defender did with the file.
  1. Find the quarantined item. Expand the relevant card and verify the affected file path and detection. If the page offers filtering, choose the quarantined-items view to narrow the list.
  2. Choose Restore. For an entry labeled Threat quarantined, open Actions and select Restore. This puts the file back on the device.
Windows 10 Protection history showing a Threat quarantined card with the Restore action selected
Use Restore only for a quarantined item that you have verified is safe.
  1. Handle the new detection if Defender flags the file again. Microsoft documents that a restored file may immediately create a new Threat found - action needed entry. Open that alert, select Actions, and choose Allow on device only if you are certain the detection is a false positive.
Windows 10 Protection history showing Threat found action needed with Allow on device highlighted
After a restore, Allow on device prevents Defender from blocking the same verified file again.

For Microsoft's current instructions, see Protection History in the Windows Security app and Restore quarantined files in Microsoft Defender Antivirus.

Restore, Allow on device, and Remove are not the same

ActionWhat it doesWhen to use it
RestoreReturns a quarantined file to the device.When you have verified the quarantined file is safe.
Allow on deviceLets Defender accept the item instead of blocking it again.Only for a confirmed false positive.
RemoveDeletes the quarantined threat from the device.When you do not trust or need the file.

If Protection history says Threat blocked rather than Threat quarantined, Microsoft says the threat has already been blocked and removed. In that state, choosing Allow affects what happens the next time Defender sees the file; it does not restore the already removed copy. If the source is trusted, allow it and download a fresh copy from the original source.

What if Defender already removed the file?

If the file is no longer available in quarantine and you cannot download it again, first check your normal backup or File History. For a file that was deleted from local storage and is not in the Recycle Bin, Microsoft's Windows File Recovery command-line app can be a last-resort option.

Stop using the source drive as much as possible before recovery. Deleted-file data can be overwritten by normal computer activity. Microsoft also requires the recovery destination to be on a different drive from the source.

For example, to search a recently deleted NTFS system drive for Word documents and write recovered files to drive E:, a typical command is:

winfr C: E: /regular /n *.docx

Administrator Command Prompt showing a Windows File Recovery winfr command from drive C to drive E for DOCX files
Windows File Recovery uses a different destination drive so recovery activity does not overwrite data on the source drive.

Use Regular mode for recently deleted files on a healthy NTFS drive. Microsoft recommends Extensive mode when a file was deleted longer ago, the disk was formatted or corrupted, or the source uses FAT or exFAT. Recovery is never guaranteed, especially after the free space has been overwritten. See Microsoft's Windows File Recovery guide for the current syntax and mode guidance.

If the Restore option is missing

  • Make sure you opened an item labeled Threat quarantined; a Threat blocked item may already be gone.
  • Check the date. Protection History keeps events for about two weeks, so older entries can disappear.
  • Use an administrator account to view full threat details and actions.
  • On a work or school PC, security policy may restrict these controls; contact your IT administrator instead of disabling protection.

Avoid turning off real-time protection or adding broad folder exclusions just to recover one file. A narrow decision on a verified false positive leaves the rest of Defender's protection in place, and you can later review allowed items from the Allowed threats page.

A note about Windows 10 in 2026

Microsoft ended standard Windows 10 support on October 14, 2025. Windows 10 PCs still run, and eligible systems can use Extended Security Updates, but Microsoft recommends moving to a supported Windows version where possible. See Microsoft's Windows 10 end-of-support guidance for current options.

Leave a Comment

How to Play Minecraft Offline on Windows 10: Java and Bedrock

How to Play Minecraft Offline on Windows 10: Java and Bedrock

Prepare Java or Bedrock on Windows 10 for offline single-player, enable the right Xbox setting, and back up your local Minecraft worlds.

How to Change a File Type Icon in Windows 10

How to Change a File Type Icon in Windows 10

Change a file type icon in Windows 10 while keeping its current default app. Follow the FileTypesMan steps, handle icon picker issues, and restore the original setting.

How to Set PhysX Configuration in NVIDIA Control Panel on Windows 10

How to Set PhysX Configuration in NVIDIA Control Panel on Windows 10

Set PhysX in NVIDIA Control Panel on Windows 10, understand Auto-select vs. CPU or GPU, and learn when to use Windows Graphics settings instead.

Best Free Office Software: 6 Alternatives to Word, Excel, and PowerPoint

Best Free Office Software: 6 Alternatives to Word, Excel, and PowerPoint

Compare six free office suites for documents, spreadsheets, and presentations, including browser-based collaboration and offline desktop options.

How to Get Line Numbers in Notepad on Windows 10

How to Get Line Numbers in Notepad on Windows 10

Turn on Notepad’s Status Bar to see the current line and column in Windows 10, troubleshoot a disabled option, and learn when you need a line-number gutter.

How to Show a Message Box on Windows 10 (PowerShell and Batch)

How to Show a Message Box on Windows 10 (PowerShell and Batch)

Display a custom Windows dialog with a short PowerShell command, Command Prompt, or a reusable .bat or .ps1 file, including a title, icon, and buttons.

How to Fix Windows 10 Update Error 0x80071160

How to Fix Windows 10 Update Error 0x80071160

Fix Windows 10 update error 0x80071160 with Microsoft’s troubleshooter, a safe update-cache reset, DISM and SFC repairs, and a careful manual-install check.

How to Install Windows 10 From a UEFI Bootable USB

How to Install Windows 10 From a UEFI Bootable USB

Create a Windows 10 UEFI installer with Microsoft’s Media Creation Tool or Rufus, then boot and install safely without wiping the wrong drive.

How to Hide Microsoft Edge Tabs from Alt+Tab in Windows 10

How to Hide Microsoft Edge Tabs from Alt+Tab in Windows 10

Stop individual Edge tabs from crowding the Windows 10 Alt+Tab switcher. Change one Multitasking setting, limit recent tabs, and check why the option may be missing.

How to Fix PDF Thumbnails Not Showing in Windows 10

How to Fix PDF Thumbnails Not Showing in Windows 10

Enable Adobe’s PDF thumbnail handler, correct File Explorer’s icon settings, rebuild the thumbnail cache, and check OneDrive files that are not stored locally.