Skip to content
WETNav
SecuritySystem Change

Event ID 6421: A request was made to enable a device

A request was made to enable a device.

Channel
Security
Logged by default
No
Written on
Any host
Volume
Low
Audit subcategory
Plug and Play Events
Needs a SACL
No

To have this event

  • Enable Plug and Play Events: auditpol /set /subcategory:"Plug and Play Events" /success:enable /failure:enable

Key fields

Exact XML field names, as they appear in <Data Name="…"> and in SIEM field extractions.

SubjectUserNameAccount requesting device enable
SubjectDomainNameDomain of the account
DeviceIdDevice identifier
DeviceDescriptionDescription of the device
Have one of these events? Paste it into the decoder

Pull this event

Retrieval queries for a live host, a collected .evtx file and common SIEMs. Filter further on the key fields above.

Get-WinEvent -LogName 'Security' -FilterXPath "*[System[(EventID=6421)]]" -MaxEvents 50 |
  Select-Object TimeCreated, Id, MachineName, Message

-FilterXPath supports exact matches only. For substring matching, filter in Where-Object.

Common questions

What does Windows event ID 6421 mean?
A request was made to enable a device. It is written to the Windows Security log (Security).
Is event 6421 logged by default?
No. It must be enabled before it is recorded. It is controlled by the "Plug and Play Events" Advanced Audit Policy subcategory (Detailed Tracking).

A request was made to enable a device. Needs the "Plug and Play Events" audit subcategory. Key fields, logging requirements, ATT&CK mapping and ready-to-run queries.