Use Event IDs to build precise filters, correlate known provider event types and create repeatable troubleshooting queries without treating the number as standalone truth.
Event IDs
Windows Event IDs help classify recurring event types, but numeric IDs are not globally unique across all providers. Provider/version/channel and payload fields determine operational meaning.
1. Note Log, Provider (Source) and Event ID together.
2. Same ID can mean different things for different providers.
3. Read the full message and Details XML.
4. Look up provider documentation.
5. Filter: Get-WinEvent -FilterHashtable @{LogName='System';Id=7031}.
provider + Event ID → defined message → context in event data
Validate payload/context and correlate with runtime evidence.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
Do not search the web for an Event ID number without provider context and assume the first match applies. Avoid building alerts on only EventID when provider and payload are available.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
Open one representative event in XML, capture provider and schema fields, then construct the filter. For fleet automation, validate the event shape across supported Windows versions/roles before relying on field positions.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Event ID is scoped by provider, not globally unique.
- Provider versions can change event schema/message details over time.
- Event ID + provider + channel is much stronger than Event ID alone.
- Payload fields often contain the object/account/error code needed for diagnosis.
- Community lists are shortcuts; verify against the actual provider/event XML on the target system.
Get-WinEvent -LogName System -MaxEvents 50— recent System eventsGet-WinEvent -FilterHashtable @{LogName='Application';Level=2;StartTime=(Get-Date).AddHours(-1)}— errors last hourGet-WinEvent -ListLog * | ? RecordCount— logs with entrieswevtutil gl <log>— log size and retention
ReferenceWhat it is1 section · depth on demand
Core model
Event IDs are designed for machines and administrators to identify provider-specific event types. The same number can appear in unrelated providers with completely different semantics.
ReferenceImportant terms & boundaries2 sections · depth on demand
What the evidence shows
The safe shorthand is Provider + Event ID + Channel + Version/payload. When documenting a “known Event ID,” include provider and the field(s) that distinguish the condition you actually care about.
In depth
Event IDs are only unique per provider: ID 4624 from Microsoft-Windows-Security-Auditing differs from 4624 in another provider. Always filter by log/provider and ID.
Practical references: Microsoft's "Events to monitor" (AD security), the Security log encyclopaedia (ultimatewindowssecurity.com), and Sysmon event IDs (1 process create, 3 network connection, 11 file create, 13 registry value set, 22 DNS query) for deeper telemetry.
Get-WinEvent -ListProvider Microsoft-Windows-Security-Auditing | Select -Expand Events | ? Id -eq 4625 | Select Id,Description
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Event Logging → Event IDs. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/windows/win32/wes/windows-event-log · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
Event Logging → Event IDs reference map
Fast lookup boundaries for Event Logging → Event IDs.
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Provider | Namespace/owner of event template | mandatory context |
| Event ID | Template identifier | not globally unique |
| Version | Schema version | fields can differ |
| Task/Opcode | Additional classification | provider-defined |
| EventData/UserData | Structured payload | often carries diagnostic object/error |