Event ID 400: Device was configured
Written in the Kernel-PnP Configuration channel when Plug and Play configures a device, recording its instance ID and the driver that was bound. Useful for corroborating when a device was first set up on the host.
- Channel
- Microsoft-Windows-Kernel-PnP/Configuration
- Logged by default
- Yes
- Written on
- Any host
- Volume
- Moderate
- Provider
- —
- Needs a SACL
- No
Key fields
Exact XML field names, as they appear in <Data Name="…"> and in SIEM field extractions.
| Field | What it tells you |
|---|---|
| DeviceInstanceId | PnP instance ID of the device (e.g. USBSTOR\Disk&Ven_...\<serial>); the trailing segment is often the device serial |
| DriverName | Driver package (INF) bound to the device |
| DriverVersion | Version of the bound driver, when recorded |
Analyst notes
- 01The DeviceInstanceId carries the same serial recorded in the registry Enum keys, so 400 helps corroborate USB device history and timing from the event log side.
- 02First configuration of a device produces this event; a device configured for the first time at an unexpected time is worth checking against the Partition Diagnostic 1006 record.
- 03Message text and exact wording vary by build; use the DeviceInstanceId as the stable identifier.
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 'Microsoft-Windows-Kernel-PnP/Configuration' -FilterXPath "*[System[(EventID=400)]]" -MaxEvents 50 |
Select-Object TimeCreated, Id, MachineName, Message-FilterXPath supports exact matches only. For substring matching, filter in Where-Object.
Where it shows up
Investigations, attack signals and lateral movement techniques that rely on this event.
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.
Related events
Common questions
- What does Windows event ID 400 mean?
- Written in the Kernel-PnP Configuration channel when Plug and Play configures a device, recording its instance ID and the driver that was bound. Useful for corroborating when a device was first set up on the host. It is written to the Device and storage logs log (Microsoft-Windows-Kernel-PnP/Configuration).
- Is event 400 logged by default?
- Yes, a default Windows installation records it.
- Where is event 400 recorded?
- In the Microsoft-Windows-Kernel-PnP/Configuration channel on the any host.
Decode a real event
Paste the XML and every value gets explained. Nothing leaves your browser.
Open decoderWritten in the Kernel-PnP Configuration channel when Plug and Play configures a device, recording its instance ID and the driver that was bound. Useful for corroborating when a device was first set up on the host. Key fields, logging requirements, ATT&CK mapping and ready-to-run queries.