Skip to content

Event ID 4625: An account failed to log on

Windows Event ID Lookup: What Windows event IDs mean: 4625, 4624, 4740, 6008, 41, 7045, 1102 and 3,000 more, with Windows' own message text, the fields and what to check.

Look up a Windows event ID from Event Viewer, a SIEM alert or a log export: what it means, the fields it records, and what to check. Many IDs are used by more than one source (event 41 is both a Kernel-Power crash and a boot error), so every definition is shown, the one people usually mean first. The message text is Windows' own, read from the event providers of Windows 10.0.26200.0, 2026-10-28; the notes are ours, based on Microsoft's security auditing reference.

Try: 4625, 4624, 4740, 6008, 41, 1074, 7045, 1102, 4104, 1149

An account failed to log on.

Event 4625
Security-Auditing
Security log
Audit Failure

A logon attempt failed. The Status and Sub Status codes say why: wrong password, unknown user, locked or disabled account, outside allowed hours, and so on.

What to check: Read Sub Status first (it's the precise reason), then Source Network Address and Logon Type. Many failures from one address with different account names is password spraying; many for one account from one place is usually a stale saved password (mapped drive, service, phone).

Logon types

2InteractiveAt the keyboard (or a KVM / console session).
3NetworkAccess over the network: file shares, IIS with Windows authentication, most remote management.
4BatchA scheduled task or batch job.
5ServiceA service started under this account.
7UnlockThe workstation was unlocked.
8NetworkCleartextNetwork logon with the password sent in clear text (IIS basic authentication, some scripts). Worth eliminating.
9NewCredentialsrunas /netonly: the local identity stays, other credentials are used for network access.
10RemoteInteractiveRemote Desktop (Terminal Services) logon.
11CachedInteractiveLogon with cached domain credentials, without reaching a domain controller (laptops off the network).
12CachedRemoteInteractiveRemote Desktop logon with cached credentials.
13CachedUnlockUnlock with cached credentials.

Status and Sub Status codes

0xC0000064The user name doesn't exist.
0xC000006AThe user name is right but the password is wrong.
0xC000006DGeneric: bad user name or authentication information. Sub Status has the specific reason.
0xC000006EAccount restriction (see Sub Status).
0xC000006FLogon outside the account's allowed hours.
0xC0000070Logon from a workstation the account isn't allowed to use.
0xC0000071The password has expired.
0xC0000072The account is disabled.
0xC0000133The clocks of the computer and the domain controller are too far apart.
0xC000015BThe user hasn't been granted this logon type (e.g. "Allow log on through Remote Desktop Services").
0xC0000193The account has expired.
0xC0000224The user must change their password at next logon.
0xC0000234The account is locked out.
0xC0000413An authentication firewall (selective authentication on a trust) blocked the logon.

Related: 4624, 4740, 4771, 4776

Message and fields (as Event Viewer shows them)
An account failed to log on.

Subject:
	Security ID:		…
	Account Name:		…
	Account Domain:		…
	Logon ID:		…

Logon Type:			…

Account For Which Logon Failed:
	Security ID:		…
	Account Name:		…
	Account Domain:		…

Failure Information:
	Failure Reason:		…
	Status:			…
	Sub Status:		…

Process Information:
	Caller Process ID:	…
	Caller Process Name:	…

Network Information:
	Workstation Name:	…
	Source Network Address:	…
	Source Port:		…

Detailed Authentication Information:
	Logon Process:		…
	Authentication Package:	…
	Transited Services:	…
	Package Name (NTLM only):	…
	Key Length:		…

This event is generated when a logon request fails. It is generated on the computer where access was attempted.

The Subject fields indicate the account on the local system which requested the logon. This is most commonly a service such as the Server service, or a local process such as Winlogon.exe or Services.exe.

The Logon Type field indicates the kind of logon that was requested. The most common types are 2 (interactive) and 3 (network).

The Process Information fields indicate which account and process on the system requested the logon.

The Network Information fields indicate where a remote logon request originated. Workstation name is not always available and may be left blank in some cases.

The authentication information fields provide detailed information about this specific logon request.
	- Transited services indicate which intermediate services have participated in this logon request.
	- Package name indicates which sub-protocol was used among the NTLM protocols.
	- Key length indicates the length of the generated session key. This will be 0 if no session key was requested.