Quarantine
Cheat sheet · https://pcornel.dk/topic.php?topic=3215
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.
Remember
- Quarantine isolates files; it does not delete them immediately.
- Restore only confirmed false positives.
- Actions are logged.
First checks
Get-MpComputerStatus— Defender state and signature ageGet-MpPreference— configuration incl. exclusionsGet-MpThreat / Get-MpThreatDetection— threats and detectionsUpdate-MpSignature— update signaturesStart-MpScan -ScanType QuickScan— run a scan
Verify in this order
detection → quarantine → restore or remove
Where it usually breaks
First mismatch in identity/token/certificate → policy source → security provider/enforcement → target resource → audit/detection evidence; preserve identity/native error/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3215