Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security, Veeam & DevOps

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form

How to restore quarantined files in Microsoft Defender Antivirus

Posted on 25/07/202216/08/2026 Matthew By Matthew No Comments on How to restore quarantined files in Microsoft Defender Antivirus
  1. Home
  2. Security | Vulnerability Scans and Assessment
  3. How to restore quarantined files in Microsoft Defender Antivirus

Learn how to restore quarantined files after encountering false positives or malware issues with Microsoft Defender Antivirus. Malicious documents or infected executables can disrupt your system.

Featured-image-8
Windows Security threat flag

Ensuring computer users’ safety and preserving PC health, antivirus software diligently thwarts potential threats, aiming to neutralize them proactively. Occasionally, this vigilance may lead to unintended file losses, prompting the need to know ‘How to restore quarantined files.’ Additionally, antiviral tools can produce false positives, triggered by factors such as digital signature mismatches, revocation, or expiration.

There are several forms of viruses that can infiltrate and deactivate our devices’ built-in antivirus software. In a situation like this, you can use the built-in Windows Security Offline feature designed to help remove tough viruses, see How to find and remove Malware with Microsoft Defender Offline to learn more.

So how can you restore files quarantined by Microsoft Defender antivirus, and how can you reduce the number of future incidents?

Here are other related guides: How to find and remove Malware with Microsoft Defender Offline, How to turn on Windows 10 Tamper Protection for Microsoft Defender, Microsoft Endpoint Manager: How to manage Microsoft Defender Antivirus with Group Policy and Microsoft Malware Protection via the Command Line Utility, and Smart App Control and how to enable Phishing Protection: Windows 11 New Security Features.

In this informative guide, we’ll explore How to restore quarantined files using Microsoft Defender. Plus, discover the savvy trick of adding files to the Exclusion list to safeguard them from quarantine, all in the context of Windows 11 (though equally effective on Windows 10).

View and restore quarantined files in Microsoft Defender Antivirus

Windows Security always quarantines any suspicious file before deleting it, briefly outlining the nature of the probable threat and the potential threat level that threat may pose.

By default, the virus storage in Windows Security is located under the following path: C:\ProgramData\Microsoft\Windows Defender\Quarantine. However, we advise that you only interact with them through the Windows Security interface since it is far more reliable.

Unlock the secret to recovering your system’s safety! Embrace the power of How to restore quarantined files. Begin by invoking the magic with a press of the Windows key + I key combo, revealing the Settings menu. Navigate to Privacy and Security, and there, on the right side, lies the key to your digital fortress—select the Windows Security item.

file recovery
Windows Settings

Under Windows Security, select the Open Windows Security option.

antivirus quarantine
Opening Windows Security in Settings

In the Windows Security click Virus and Threat Protection.

restore deleted files
Windows Security

Under Current threats click Protection history. Here you can see the complete list of available and eliminated threats that Windows Defender placed in quarantine. Quarantined items are absolutely harmless while they’re held in quarantine.

Microsoft Defender
Opening Protection history

If you are certain a quarantined file is not a threat, and you want to restore it. In the list of all recent items, filter on Quarantined Items. Select an item you want to keep, and take an action, such as restore.

Restore file from quarantine using Command Prompt

You can roll back and remove a file from quarantine if you’ve determined that it’s clean after an investigation. Run the following command on each device where the file was quarantined.

Go to Start and type cmd. Then right-click Command prompt and select Run as administrator.

file recovery
Opening command prompt in Start

Enter the following command, and press Enter:

"%ProgramFiles%\Windows Defender\MpCmdRun.exe" -Restore -Name EUS:Win32/CustomEnterpriseBlock -All
antivirus quarantine
Command Prompt

How to add files to Exclusions

Imagine you’re eager to know how to restore quarantined files when you’re certain a specific file is harmless. Here’s the trick: manually tackle false positive detections by adding the file to the exclusions list, preventing future removal by Windows Security.

In the Virus and Threat Protection window, please scroll down and find Virus and Threat Protection Settings, under it click on Manage settings.

image4.0
Opening manage setting for Virus & threat protection settings

Scroll down and find the Exclusions option and click on Add or remove exclusions.

image4.01
Adding files to Exclusions in Windows Security

Click Add an exclusion and select the type.

image4.1
Exclusion window

Discover the art of exclusion: Choose How to restore quarantined files, and pinpoint the path to the file, folder, file type, or process you want to protect.

image4.2
Exclusion added

If you’ve found yourself grappling with Windows Defender’s false positives, here’s a nifty trick: gather those mistakenly flagged programs, and within this bundle of digital underdogs, lies a secret. Craft a sanctuary for them within a special folder, a place where misjudgment won’t tread. This ingenious move ensures that, moving forward, these files shall dance free, untouched by future detections. How to restore quarantined files? This is how.

Important: We strongly advise you not to upload files obtained from unreliable sources to the Exclusion folder. Nobody wants a virus to take control of their computer. Such negligence can have far-reaching effects.

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
Security | Vulnerability Scans and Assessment, Windows Tags:AntiMalware, AntiVirus, malware, Microsoft Defender Antivirus, Microsoft Windows, scan, Windows 10, Windows 11, Windows Defender, Windows Defender Antivirus

Post navigation

Previous Post: How to Run a Program in Windows as the Local System Account
Next Post: Create and Delete Registry Keys via PowerShell in Windows

Related Posts

  • ios microsoft remote desktop app
    Remote Desktop can not find the computer FQDN and this might mean that FQDN does not belong to the specified network Windows
  • linkyourandriodtoyourpc
    Microsoft Phone Link: Connect Android to Windows 11 Windows
  • HyperV VM disk size increase
    How to Increase Disk Size in Hyper-V Virtualization
  • App Locker
    Harden your Veeam Backup Server with Microsoft AppLocker Windows
  • Screensaver
    How to Enable or Disable Screen Saver on Windows Windows
  • image 10
    How to use Microsoft SQL Server Management Studio to Export and Import your MsSQL database from Azure to local computer AWS/Azure/OpenShift

More Related Articles

ios microsoft remote desktop app Remote Desktop can not find the computer FQDN and this might mean that FQDN does not belong to the specified network Windows
linkyourandriodtoyourpc Microsoft Phone Link: Connect Android to Windows 11 Windows
HyperV VM disk size increase How to Increase Disk Size in Hyper-V Virtualization
App Locker Harden your Veeam Backup Server with Microsoft AppLocker Windows
Screensaver How to Enable or Disable Screen Saver on Windows Windows
image 10 How to use Microsoft SQL Server Management Studio to Export and Import your MsSQL database from Azure to local computer AWS/Azure/OpenShift

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

Veeam Vanguard

  • banner
    How to Import Data from a GitHub Repository to Postman Backup
  • AZURE Kubernetes Service upgrade
    AZURE Kubernetes Service (AKS) upgrade minor version from 1.32.3 to 1.33.7 AWS/Azure/OpenShift
  • Gfeature
    How to install Googler on a Linux System Linux
  • Various Msiexec.exe Command Line Switches
    Various Msiexec.exe Command Line Switches Windows Server
  • ADV Guide 1 e1782748488737
    Azure Virtual Desktop: Deploy host pools and session hosts in the Azure [Part 01] AWS/Azure/OpenShift
  • BitLocker beviour when MBAM Agent is removed No uninstall options in control panel to remove app
    BitLocker behavior when MBAM agent is removed: No Uninstall Option in Control Panel Windows
  • System Center e1773748034580
    Integrate Hyper-V: Install System Center Virtual Machine Manager Virtualization
  • Slide2
    How to Clear Cache on Windows 10 Windows

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,762 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Contact
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon
  • Bsky

Tags

Active Directory Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2026 TechDirectArchive

Loading Comments...

You must be logged in to post a comment.