Pcornel
Windows · Windows Troubleshooting

Login Failure

Cheat sheet · https://pcornel.dk/topic.php?topic=3381

Back to the Topic

Answer

Sign-in failures on Windows happen at one of these steps: the logon screen itself, credential check against the domain or local account database, account state (locked, disabled, expired), loading the user profile, or starting the desktop session. Security event 4625 shows the reason code.

Remember

  • A successful credential check does not prove profile loading or shell startup; a failed sign-in does not by itself distinguish bad credentials from account, trust, DC or profile problems.
  • Keep the symptom, observed state and inferred cause as separate statements.
  • Prefer evidence from the first failed boundary over broad configuration changes.
  • A successful local check does not automatically prove the next dependency or end-to-end workload.

First checks

  • Get-WinEvent -FilterHashtable @{LogName='System';Level=1,2;StartTime=(Get-Date).AddHours(-24)} — system errors last 24h
  • Get-WinEvent -FilterHashtable @{LogName='Application';Level=1,2;StartTime=(Get-Date).AddHours(-24)} — application errors
  • Get-ComputerInfo -Property OsName,OsBuildNumber,CsDomain — system context
  • Get-HotFix | Sort InstalledOn -Desc | Select -First 5 — recent updates

Commands

Get-WinEvent -FilterHashtable @{LogName='Security';Id=4625} -MaxEvents 50
Operational command for Inspect recent failed Windows logons. Focus fields: time, account, logon type, workstation/sour…

Verify in this order

credentials → account → rights → DC → profile

Where it usually breaks

First mismatch in source/package/image/device identity → servicing/setup configuration → installation/activation → reboot/boot/runtime → system/component health → user/workload validation; preserve identity/native error/pre-state before mutation.

Windows Troubleshooting → Login Failure reference map

BoundaryMeaningEvidence limit
SymptomWhat the user/workload reportsStarting point, not root cause
Local stateWhat Windows reports at this boundaryDoes not prove adjacent dependency
Correlated evidenceMultiple sources agree in one timelineStrengthens hypothesis, not automatic causation
VerificationOriginal test succeeds after controlled changeRequired to close the troubleshooting loop

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3381

Confirmation

Confirm action

Continue?