Pcornel
Windows · Microsoft Defender

Scans

Cheat sheet · https://pcornel.dk/topic.php?topic=3214

Back to the Topic

Answer

Defender scans include quick scan of common malware locations, full scan of all files, custom scan of chosen paths and offline scan that runs before Windows starts, such as Start-MpScan -ScanType FullScan.

Remember

  • Quick scan covers common locations; full scan covers all files.
  • Offline scan runs before Windows starts and finds rootkits.
  • Schedule regular scans.

First 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

Verify in this order

scan → files checked → detections

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=3214

Confirmation

Confirm action

Continue?