Defender Troubleshooting
Cheat sheet · https://pcornel.dk/topic.php?topic=3217
Answer
Troubleshoot Defender with Get-MpComputerStatus for engine, signature and protection state, the Windows Defender Operational event log, MpCmdRun -GetFiles for diagnostics, and checks for third-party antivirus or tamper protection.
Remember
- With another antivirus, Defender may run in passive mode.
- Tamper protection blocks local setting changes.
- Several policies can conflict.
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
policy → service → engine → signatures → events
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=3217