Pcornel
Browse topics
Options
Recent
Favorites
Windows · Technical reference

Quarantine

Direct answer

Defender quarantine isolates detected files so they cannot run, allowing review, restore or permanent removal. Manage it in Windows Security protection history or with MpCmdRun -Restore.

When to use this

Use this when restoring or removing quarantined items.

First 30 seconds

1. Get-MpThreat / Protection history.

2. Restore only if confirmed false positive.

3. Remove: Remove-MpThreat.

4. Submit false positives to Microsoft.

5. Investigate source of real threats.

Operational verification

detection → quarantine → restore or remove

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common mistakes
  • Restoring quarantined files because "the user needs them" without analysis.
  • Not checking where the file came from (download, email, USB).
  • Ignoring repeated detections of the same threat (persistence still present).
Platform / version applicability
Windows security
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformWindows security
Key commandGet-MpThreat
Scope / prerequisiteUse this when restoring or removing quarantined items.
What next?2 suggested next steps
Evidence1
On this pageJump to a specific section
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • Quarantine isolates files; it does not delete them immediately.
  • Restore only confirmed false positives.
  • Actions are logged.
Key checks
  • Get-MpComputerStatus — Defender state and signature age
  • Get-MpPreference — configuration incl. exclusions
  • Get-MpThreat / Get-MpThreatDetection — threats and detections
  • Update-MpSignature — update signatures
  • Start-MpScan -ScanType QuickScan — run a scan
ReferenceImportant terms & boundaries1 section · depth on demand

In depth

Quarantine stores detected files encrypted so they cannot run.

Get-MpThreat
Get-MpThreatDetection | Select ThreatID,ActionSuccess,Resources
& "$env:ProgramFiles\Windows Defender\MpCmdRun.exe" -Restore -ListAll
& "$env:ProgramFiles\Windows Defender\MpCmdRun.exe" -Restore -Name 'Trojan:Win32/Example'
Remove-MpThreat

Restore only after confirming a false positive (submit to Microsoft), and add an indicator/allow rule centrally instead of a broad exclusion.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
ReferenceConfiguration & state1 section · depth on demand

Commands

Get-MpThreat
"%ProgramFiles%\Windows Defender\MpCmdRun.exe" -Restore -ListAll
"%ProgramFiles%\Windows Defender\MpCmdRun.exe" -Restore -Name "<threat name>"

Documented example, not captured output. Restore only after confirming a false positive, and submit the file to Microsoft. Quarantined items are encrypted under C:\ProgramData\Microsoft\Windows Defender\Quarantine.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docWindows security current

Authoritative/upstream documentation reviewed for bounded claims in Microsoft Defender → Quarantine. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://learn.microsoft.com/en-us/defender/ · confidence 94%
Confirmation

Confirm action

Continue?