Event ID 4625
– This event is generated when a logon request fails. It is generated on the computer where access was attempted.
– This event is controlled by the security policy setting Audit logon events. See this article https://www.morgantechspace.com/2013/10/enable-active-directory-logonlogoff.html to know about how to enable active directory logon, logoff, failure events.
Event ID 4625 sample source
Description: An account failed to log on. Subject: Security ID: SYSTEM Account Name: MyPC$ Account Domain: TestDomain Logon ID: 0x0 Logon Type: Account For Which Logon Failed: Security ID: S-1-5-21-822115511-2935354860-794628881-500 Account Name: Administrator Account Domain: TestDomain Failure Information: Failure Reason: Unknown user name or bad password. Status: 0xc000006d Sub Status: 0xc0000064 Process Information: Caller Process ID: 0x0 Caller Process Name: - Network Information: Workstation Name: Source Network Address: Source Port: Detailed Authentication Information: Logon Process: NtLmSsp Authentication Package: NTLM Transited Services: - Package Name (NTLM only): - Key Length: 0 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.
Failure code and Reason for the event 4625
The following table lists the Failure Status codes and its equivalent error message for the Event ID 4625 whereas in 2003 based system we will get individual events for every type of logon failures.
Failure code | Description |
0xC0000064 | Given user name not exist. |
0xC000006A | User name is correct but the password is wrong. |
0xC0000234 | User is currently locked out. |
0xC0000072 | Account is currently disabled. |
0xC000006F | User tried to logon outside his day of week or time of day restrictions. |
0xC0000070 | Workstation restriction |
0xC0000193 | Account expired |
0xC0000071 | Password expired |
0xC0000133 | clocks between DC and other computer too far out of sync |
0xC0000224 | User is required to change password at next logon |
0xc000015b | The user has not been granted the requested logon type at this machine |
Note : This article is applies to Windows Server 2008,Windows Server 2008 R2, Windows Server 2012, Windows 7 and Windows 8.
Thanks,
Morgan
Software Developer
Advertisement