Windows
Inspect recent failed Windows logons
Get-WinEvent -FilterHashtable @{LogName='Security';Id=4625} -MaxEvents 50
Operational command for Inspect recent failed Windows logons. Focus fields: time, account, logon type, workstation/source address, status and substatus.
Use when working the canonical Topic windows--windows-troubleshooting-login-failure and the matching failure boundary.
follow the exact status with account/DC/Kerberos/NTLM evidence for the same login attempt
Privilege Use an account/context authorized for this observation; do not broaden scope unnecessarily.State impact Read-onlyProduction Unknown
Field glossary
Important fields projected from persisted Command guidance.
time, account, logon type, workstation/source address, status and substatusImportant persisted output field; use surrounding guidance for interpretation.
Used in these Topics
Each relation carries both placement role and operational semantic: verifies, configures, troubleshoots, collects evidence, changes state or general.
Evidence boundary
What this output can establish — and where you must not over-claim.
This command directly exposes time, account, logon type, workstation/source address, status and substatus for the selected object/context at execution time.
It does not by itself prove root cause, health of an adjacent dependency, or end-to-end workload recovery.
follow the exact status with account/DC/Kerberos/NTLM evidence for the same login attempt
Command guidance
Execution context
Windows
Use when
Use when working the canonical Topic windows--windows-troubleshooting-login-failure and the matching failure boundary.
Important fields
time, account, logon type, workstation/source address, status and substatus
Common problems
Common mistakes: wrong object, node, VRF/namespace, time window, or treating a management-plane status as workload proof.
Operational impact
Read-only observation; runtime cost still depends on platform and result size.
Runtime cautions
Capture the command, selected scope and timestamp so the result can be correlated with the original test.
Technical context
Known-good: no matching failure exists for the controlled successful login or the failure code is understood. Suspicious: repeated matching failures expose a specific status/substatus and source path. Next discriminating check: follow the exact status with account/DC/Kerberos/NTLM evidence for the same login attempt.
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.
Illustrative Known-good interpretationKnown-good · Windows
Illustrative state cue only; not captured output: no matching failure exists for the controlled successful login or the failure code is understoodhealthy
Inspect recent failed Windows logons — Known-good. Inspect time, account, logon type, workstation/source address, status and substatus. Observed cue: no matching failure exists for the controlled successful login or the failure code is understood. This supports only the state returned by Get-WinEvent -FilterHashtable @{LogName='Security';Id=4625} -MaxEvents 50 for the selected object and time window. It does not establish root cause or prove the next dependency. Next check: follow the exact status with account/DC/Kerberos/NTLM evidence for the same login attempt. Correlate the result with the same workload/test before declaring recovery.
This command directly exposes time, account, logon type, workstation/source address, status and substatus for the selected object/context at execution time.
Does not prove: It does not by itself prove root cause, health of an adjacent dependency, or end-to-end workload recovery.follow the exact status with account/DC/Kerberos/NTLM evidence for the same login attempt
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.transitional
Inspect recent failed Windows logons — Transitional. Inspect time, account, logon type, workstation/source address, status and 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=4625} -MaxEvents 50 for the selected object and time window. It does not establish root cause or prove the next dependency. Next check: follow the exact status with account/DC/Kerberos/NTLM evidence for the same login attempt. Correlate the result with the same workload/test before declaring recovery.
This command directly exposes time, account, logon type, workstation/source address, status and substatus for the selected object/context at execution time.
Does not prove: It does not by itself prove root cause, health of an adjacent dependency, or end-to-end workload recovery.follow the exact status with account/DC/Kerberos/NTLM evidence for the same login attempt
Illustrative Broken interpretationBroken · Windows
Illustrative state cue only; not captured output: repeated matching failures expose a specific status/substatus and source pathbroken
Inspect recent failed Windows logons — Broken. Inspect time, account, logon type, workstation/source address, status and substatus. Observed cue: repeated matching failures expose a specific status/substatus and source path. This supports only the state returned by Get-WinEvent -FilterHashtable @{LogName='Security';Id=4625} -MaxEvents 50 for the selected object and time window. It does not establish root cause or prove the next dependency. Next check: follow the exact status with account/DC/Kerberos/NTLM evidence for the same login attempt. Correlate the result with the same workload/test before declaring recovery.
This command directly exposes time, account, logon type, workstation/source address, status and substatus for the selected object/context at execution time.
Does not prove: It does not by itself prove root cause, health of an adjacent dependency, or end-to-end workload recovery.follow the exact status with account/DC/Kerberos/NTLM evidence for the same login attempt