6420 Security log · Plug and Play medium severity low volume

Windows Event ID 6420 — A device was disabled

A hardware device was disabled.

Why event 6420 matters

Same context as 6419 — device was actually disabled (vs. request only).

How to detect it

Alert: security hardware disabled. Alert: network adapter disabled to affect monitoring.

Log source
Security
Advanced Audit Policy — enable the 'Plug and Play' subcategory (Success and/or Failure).
Fields to pivot on
SubjectUserNameTargetUserNameLogonTypeIpAddressWorkstationName

Detection queries

Starting points — adapt the log source, projected fields and thresholds for your environment.

Sentinel / Defender KQL
SecurityEvent
| where EventID == 6420   // A device was disabled
| project TimeGenerated, Computer, SubjectUserName, TargetUserName, LogonType, IpAddress, WorkstationName
| sort by TimeGenerated desc
Splunk SPL
index=* sourcetype="WinEventLog:Security" EventCode=6420
| stats count earliest(_time) as first_seen latest(_time) as last_seen by ComputerName
| sort - count   `# A device was disabled — add EventData fields: SubjectUserName, TargetUserName, LogonType, IpAddress`
Hunt event 6420 in Sentinel/Defender →
Build a KQL query for this event in the KQL Query Builder.
Search all event IDs →
Open the interactive Windows Event ID lookup.

Related Plug and Play events

6416 A new external device was recognized by the system 6419 A request was made to disable a device 6421 A request was made to enable a device 6422 A device was enabled 6423 The installation of this device is forbidden by system policy 6424 The installation of this device was allowed after a policy override

Frequently asked questions

What is Windows Event ID 6420?

A device was disabled. A hardware device was disabled.

Which log records event 6420?

Event 6420 is written to the Security channel by Microsoft-Windows-Security-Auditing. Advanced Audit Policy — enable the 'Plug and Play' subcategory (Success and/or Failure).

How do you detect activity around event 6420?

Alert: security hardware disabled. Alert: network adapter disabled to affect monitoring.