Skip to content
WETNav
SecuritySystem Change

Event ID 6422: A device was enabled

A device was enabled.

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 that enabled the device
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=6422)]]" -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 6422 mean?
A device was enabled. It is written to the Windows Security log (Security).
Is event 6422 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 device was enabled. Needs the "Plug and Play Events" audit subcategory. Key fields, logging requirements, ATT&CK mapping and ready-to-run queries.