Skip to content
WETNav

Event ID 6423: The installation of this device is forbidden by system policy

The installation of this device is forbidden by system policy.

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

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=6423)]]" -MaxEvents 50 |
  Select-Object TimeCreated, Id, MachineName, Message

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

ATT&CK mapping

Techniques this event can help detect. Most of these depend on specific field values; the event alone does not mean the technique happened.

Common questions

What does Windows event ID 6423 mean?
The installation of this device is forbidden by system policy. It is written to the Windows Security log (Security).
Is event 6423 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).

The installation of this device is forbidden by system policy. Needs the "Plug and Play Events" audit subcategory. Key fields, logging requirements, ATT&CK mapping and ready-to-run queries.