Pcornel
Browse topics
Options
Recent
Favorites
Windows · Technical reference

Defender Troubleshooting

Direct 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.

When to use this

Use this when Defender doesn't protect or behaves oddly.

First 30 seconds

1. Get-MpComputerStatus — what is off?

2. Defender events: 1116 detection, 5001 RTP disabled, 2001 update failure.

3. Policy conflicts: gpresult/Intune.

4. Third-party AV causing passive mode.

5. MpCmdRun -GetFiles for support.

Operational verification

policy → service → engine → signatures → events

Context & applicabilityCommon mistakes · platform/version boundaries
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
Scope / prerequisiteUse this when Defender doesn't protect or behaves oddly.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

3 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Known-good, broken and when it is fixed Verify boundary

Known-good means Defender reports the intended real-time/cloud/protection settings, current security intelligence/engine state, no unresolved health errors and successful completion of the original scan/update/remediation path. Broken evidence is stale signatures, disabled protection, policy conflict or repeated operational error. Re-read effective settings after policy refresh and confirm any temporary diagnostic change was reverted. The limit of what it shows: a clean quick scan does not show the host is compromise-free; it shows only that the selected scan completed without the measured detection.

Step 2 Common mistakes Narrow the fault
  • Third-party AV conflicting with Defender.
Step 3 Native failure isolation and next-check logic Narrow the fault

If Defender reports unhealthy protection, identify which capability is disabled or stale rather than reinstalling blindly. If signatures will not update, separate network/proxy/update-source failure from engine/service failure. If a scan fails or repeatedly detects the same item, inspect path/access, exclusion policy, quarantine state and remediation events. If a setting cannot be changed, determine whether tamper protection or managed policy owns it. For performance complaints, correlate scan activity with the workload and validate a narrow, justified exclusion only when evidence supports it; never use broad exclusions as first-line troubleshooting.

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
  • With another antivirus, Defender may run in passive mode.
  • Tamper protection blocks local setting changes.
  • Several policies can conflict.
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
ReferenceHow it works1 section · depth on demand

How it works

Microsoft Defender Antivirus runtime state is composed from service/engine health, security intelligence versions, real-time protection settings, cloud-delivered protection, exclusions, tamper protection and policy from local/Group Policy/MDM sources. A healthy UI icon does not show every protection layer is enabled or that a scan can access all content. Policy precedence can make a local change appear to revert. Exclusions deliberately remove inspection scope and therefore must be treated as security-impacting configuration. Record engine/platform/signature versions, active policy source, protection flags and relevant Defender operational events before changing exclusions or disabling protection.

ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

State first

PS C:\> Get-MpComputerStatus | Select AMServiceEnabled, AntivirusEnabled, RealTimeProtectionEnabled, AMRunningMode, AntivirusSignatureLastUpdated, AntivirusSignatureAge, IsTamperProtected
AMServiceEnabled            : True
AntivirusEnabled            : True
RealTimeProtectionEnabled   : True
AMRunningMode               : Normal
AntivirusSignatureAge       : 0
IsTamperProtected           : True
AMRunningModeMeaning
NormalDefender is the active antivirus
PassiveAnother AV is primary (or Defender for Endpoint passive mode) — no real-time protection from Defender
EDR Block ModePassive AV, but EDR can block
SxS PassiveLimited periodic scanning alongside another AV

MpCmdRun essentials

The Defender command-line documentation covers:

"%ProgramFiles%\Windows Defender\MpCmdRun.exe" -SignatureUpdate
"%ProgramFiles%\Windows Defender\MpCmdRun.exe" -Scan -ScanType 1        # 1 quick, 2 full, 3 custom
"%ProgramFiles%\Windows Defender\MpCmdRun.exe" -GetFiles               # MpSupportFiles.cab for support

Common problems

SymptomCheck
Signatures not updating-SignatureUpdate output; WSUS/Intune/UNC source order (Get-MpPreference \| Select SignatureFallbackOrder); proxy
Settings revertGPO or Intune owns them; tamper protection blocks local changes
High CPU (MsMpEng.exe)Scans of busy folders; Performance Analyzer: New-MpPerformanceRecording then Get-MpPerformanceReport
Application blockedEvent 1116/1117 (detection/action), ASR events 1121/1122, Controlled Folder Access 1123
Exclusions not workingWrong path form, exclusions managed by policy, or tamper protection

Event log

Microsoft-Windows-Windows Defender/Operational holds detections (1116), actions (1117), update failures (2001), real-time protection changes (5001, 5007 configuration changed).

Exclusions with care

Add exclusions only for documented vendor paths (databases, Hyper-V VM files, backup targets) and prefer process exclusions scoped narrowly. Broad folder exclusions such as C:\Temp are a common malware hiding place.

*The Defender status values are illustrative indicators, not a security assessment of an actual endpoint.*

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Method

Microsoft Defender troubleshooting handles protection that is off, updates that fail, false positives and performance impact.

Get-MpComputerStatus | Select-Object AMRunningMode, AntivirusEnabled, RealTimeProtectionEnabled, IsTamperProtected, AntivirusSignatureLastUpdated
Update-MpSignature
Get-MpThreatDetection | Select-Object -First 10
& "$env:ProgramFiles\Windows Defender\MpCmdRun.exe" -GetFiles     # collect support logs
Get-WinEvent -LogName 'Microsoft-Windows-Windows Defender/Operational' -MaxEvents 30
SymptomCheck
Passive modeAnother AV installed or EDR in passive configuration
Settings revertTamper protection, Intune/GPO policy overriding local
Signature updates failProxy, WSUS/update source configuration
False positiveSubmit file to Microsoft; narrow exclusion only if justified
High CPUScanning of large build/database folders — performance analyzer (New-MpPerformanceRecording)

Use the performance analyzer to find which files and processes drive scan load before adding exclusions.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
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 → Defender Troubleshooting. 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?