Please note that this policy does not apply to the built-in administrator account.
It will never be locked out. This is another very good reason to rename the administrator
account..
Activating this policy does
not automatically write events to the Windows
Event Log when a user is locked out by the system, so you will not yet see any
evidence just by turning it on. To see the evidence, you also need to turn on
auditing. This is done with the same tool, under the “Local Policies”, “Audit
Policy”. There, you need to at least enable “Success” audits for the “Audit account
management”. This is circled in the screenshot below.
Please note that I have also enabled Logon-related events in the screenshots.
We will later see why I have done this.
With these settings, we will receive a security event 644 as soon as an account
is locked out.
Screen-shot of the 644 Event
Important: our testing has shown that the 644 security event does
not
occur under all Windows versions. While testing with Windows 2000 without a service
pack, these events did not occur. After applying service pack 3, they appeared.
So be sure to check that the events occur in your environment.
If the 644 event is not generated on your systems and you are not able to patch
it to the service pack level that makes it appear, you can alternatively look
into the 693 logon failure events. When someone tries to use a locked out account,
they look as follows:
Please note the reason text (circled in red). This specific reason only is given
when an account is locked out. However, this reason only occurs
after the
account has been locked out. The login failure leading to the lockout still has
the normal “invalid password” text in it. As such, lockouts may be left undetected,
or detected only after the incident, when using this event as notification. We
highly recommend to apply the most recent service pack (not only for this reason).
Filtering these Events
If you would like near-real-time alerts, I assume that you somehow move the event
log data off your server to a central location, or have some local agent that
supplies real-time notifications. I will state the general principle here:
Read
the entire article