Pcornel
Browse topics
Options
Recent
Favorites
Command · Windows

Inspect recent Windows logon success/failure events

Get-WinEvent -FilterHashtable @{LogName='Security';Id=4624,4625} -MaxEvents 50

Operational command for Inspect recent Windows logon success/failure events. Focus fields: event id, time, account, logon type, source workstation/address and failure status/substatus.

Execution context

Windows / PowerShell; run only against the intended target and bounded scope

Use when

Use as the prior manifest-approved bounded observation/validation surface for this exact Topic.

Then verify

correlate the event with identity provider/DC/MFA/policy state and then verify application authorization separately

Privilege Use an account/context authorized for this observation; do not broaden scope unnecessarily.State impact Read-onlyProduction Unknown

Operational impact: Read-only observation/validation intent; runtime cost still depends on scope and provider behavior.
Command detailsSafety model · family · platform · verification · bundle
PrivilegeUse an account/context authorized for this observation; do not broaden scope unnecessarily.
Execution contextWindows / PowerShell; run only against the intended target and bounded scope
State impactRead-only
Safe during productionUnknown
Categoryauthentication
Evidence levelmixed
Primary DomainWindows
Technically verifiedNeeds verification date
FamilyAuthentication
PlatformWindows
PrerequisiteWindows / PowerShell; run only against the intended target and bounded scope
Output fields

Field glossary

Important fields projected from persisted Command guidance.

successful/failed logon events, account, logon type, source and failure context

Important persisted output field; use surrounding guidance for interpretation.

Command → Topic semantics

Used in these Topics

Each relation carries both placement role and operational semantic: verifies, configures, troubleshoots, collects evidence, changes state or general.

Find another Command

Reference enrichment

Evidence boundary

What this output can establish — and where you must not over-claim.

Proves

Exposes successful/failed logon events, account, logon type, source and failure context at the exact bounded observation/validation boundary restored from.

Does not prove

Does not by itself prove root cause, adjacent dependency health, policy correctness outside the selected scope, or end-to-end workload recovery.

Next check

correlate the event with identity provider/DC/MFA/policy state and then verify application authorization separately

Depth when you need it

Command guidance

Execution context

Windows / PowerShell; run only against the intended target and bounded scope

Use when

Use as the prior manifest-approved bounded observation/validation surface for this exact Topic.

Important fields

successful/failed logon events, account, logon type, source and failure context

Common problems

Wrong target/context, stale state, missing provider/tool or treating one command as universal root-cause proof.

Operational impact

Read-only observation/validation intent; runtime cost still depends on scope and provider behavior.

Runtime cautions

Record target identity, runtime/tool version and timestamp separately if live output is captured as Evidence.

Technical context

Restores exact/ ownership only; this authored guidance is not observed production Evidence.

Command Output Deep Dive

Variants · known-good and broken output

Read the stored sample against its authored expected state and interpretation, then return to the Command evidence boundary for what the observation can and cannot prove.

Known-good · 1Broken · 1Transitional · 1Observed · 0
1 · Observe the exact persisted fields/state.2 · Compare with authored known-good, broken or transitional samples.3 · Apply the Command evidence boundary; output is not end-to-end proof.4 · Run the next discriminating check and repeat the original workload/test when relevant.
Illustrative Known-good interpretationKnown-good · Windows
Illustrative state cue only; not captured output: expected logons succeed with the intended account/logon type and no matching repeated failures
Expected state

healthy

Interpretation

Inspect recent Windows logon success/failure events — Known-good. Inspect event id, time, account, logon type, source workstation/address and failure status/substatus. Observed cue: expected logons succeed with the intended account/logon type and no matching repeated failures. This supports only the state returned by Get-WinEvent -FilterHashtable @{LogName='Security';Id=4624,4625} -MaxEvents 50 for the selected object and time window. It does not establish root cause or prove the next dependency. Next check: correlate the status/substatus with account/DC/credential-path evidence and determine whether NTLM was actually used. Correlate the result with the same workload/test before declaring recovery.

Evidence boundary

Exposes successful/failed logon events, account, logon type, source and failure context at the exact bounded observation/validation boundary restored from.

Does not prove: Does not by itself prove root cause, adjacent dependency health, policy correctness outside the selected scope, or end-to-end workload recovery.
Next check

correlate the event with identity provider/DC/MFA/policy state and then verify application authorization separately

Illustrative Transitional interpretationTransitional · Windows
Illustrative state cue only; not captured output: The command returns the expected object, but one or more state/counter fields are still moving toward a terminal result.
Expected state

transitional

Interpretation

Inspect recent Windows logon success/failure events — Transitional. Inspect event id, time, account, logon type, source workstation/address and failure status/substatus. Observed cue: The command returns the expected object, but one or more state/counter fields are still moving toward a terminal result.. This supports only the state returned by Get-WinEvent -FilterHashtable @{LogName='Security';Id=4624,4625} -MaxEvents 50 for the selected object and time window. It does not establish root cause or prove the next dependency. Next check: correlate the status/substatus with account/DC/credential-path evidence and determine whether NTLM was actually used. Correlate the result with the same workload/test before declaring recovery.

Evidence boundary

Exposes successful/failed logon events, account, logon type, source and failure context at the exact bounded observation/validation boundary restored from.

Does not prove: Does not by itself prove root cause, adjacent dependency health, policy correctness outside the selected scope, or end-to-end workload recovery.
Next check

correlate the event with identity provider/DC/MFA/policy state and then verify application authorization separately

Illustrative Broken interpretationBroken · Windows
Illustrative state cue only; not captured output: 4625 failures align with the user/time/source and expose a status/substatus requiring follow-up
Expected state

broken

Interpretation

Inspect recent Windows logon success/failure events — Broken. Inspect event id, time, account, logon type, source workstation/address and failure status/substatus. Observed cue: 4625 failures align with the user/time/source and expose a status/substatus requiring follow-up. This supports only the state returned by Get-WinEvent -FilterHashtable @{LogName='Security';Id=4624,4625} -MaxEvents 50 for the selected object and time window. It does not establish root cause or prove the next dependency. Next check: correlate the status/substatus with account/DC/credential-path evidence and determine whether NTLM was actually used. Correlate the result with the same workload/test before declaring recovery.

Evidence boundary

Exposes successful/failed logon events, account, logon type, source and failure context at the exact bounded observation/validation boundary restored from.

Does not prove: Does not by itself prove root cause, adjacent dependency health, policy correctness outside the selected scope, or end-to-end workload recovery.
Next check

correlate the event with identity provider/DC/MFA/policy state and then verify application authorization separately

Confirmation

Confirm action

Continue?