Warning: iconv_mime_decode() [function.iconv-mime-decode]: Malformed string in /home/secureg/public_html/lib/standard.lib.php on line 2251
Account Lockout Policies
Account Lockout Policies

Account Lockout Policies

Secure Home | Search | About
 Microsoft Applications Security    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content add this group's latest topics to your Google content
Subject Author Date
Account Lockout Policies bm 08-30-2007
Posted by =?Utf-8?B?Ym0=?= on August 30, 2007, 1:14 am
If you were  Registered and logged in, you could reply and use other advanced thread options
My apologies if I'm not posting in the correct newsgroup. My question is if
there's a way to set up a security policy on Windows 2003 DC which is lockout
or disable a user that dosn't log into the domain for a specified amount of
time. For example a user that hasn't logged into the domain for 30 days will
be locked out???

Thanks

Posted by Florian Frommherz [MVP] on August 30, 2007, 1:57 am
If you were  Registered and logged in, you could reply and use other advanced thread options
Howdie!

bm schrieb:
> My apologies if I'm not posting in the correct newsgroup. My question is if
> there's a way to set up a security policy on Windows 2003 DC which is lockout
> or disable a user that dosn't log into the domain for a specified amount of
> time. For example a user that hasn't logged into the domain for 30 days will
> be locked out???

Not that I knew of. There is no builtin functionality for this.

You could write yourself a script and run it on a daily basis. That
would check all user accounts and their last logon date and time.

See:
http://www.rlmueller.net/freecode4.htm - that could start you off.

cheers,

Florian
--
Microsoft MVP - Windows Server - Group Policy.
eMail: prename [at] frickelsoft [dot] net.
blog: http://www.frickelsoft.net/blog.

Posted by Roger Abell [MVP] on August 30, 2007, 2:16 am
If you were  Registered and logged in, you could reply and use other advanced thread options
> My apologies if I'm not posting in the correct newsgroup. My question is
> if
> there's a way to set up a security policy on Windows 2003 DC which is
> lockout
> or disable a user that dosn't log into the domain for a specified amount
> of
> time. For example a user that hasn't logged into the domain for 30 days
> will
> be locked out???
>

Not built-in, however something close would not be impossible to implement.

One point however, lockout is usually a temporary account state triggered
by invalid login attempt, and lockout duration (or its being non-temporary)
may only be set the same of all accounts of the domain.

I think you were perhaps meaning disable the account after non-use for
so long. You would need to determine, such as in a script or your in-use
enterprise mgmt suite, which accounts have not logged in for 30 days.

This might not be as simple as it sounds as the last login timestamps do
not reflect all valid authenticated uses of an account. Attempting to use
event logs to fill this gap would imply logging of successful domain logins
(which is often not enabled due to the huge volume of events generated)
and would mean monitoring/reading the security logs on all DCs.

That said, if you can define a satisfactory determination logic, disabling
the so determined account is trivial/simple such as run in a nightly task.

Perhaps your more direct option would be to adjust the days of nonuse
and password change intervals so they are the same, and then nightly
read accounts with expired passwords and verify they are disabled.

Roger



Posted by =?Utf-8?B?Ym0=?= on August 30, 2007, 6:36 am
If you were  Registered and logged in, you could reply and use other advanced thread options
Thank you both so much! I really thought there was a built-in way of doing
this -- I guess not. I'll have to revert to doing a little scripting.

Thanks again!



"Roger Abell [MVP]" wrote:

> > My apologies if I'm not posting in the correct newsgroup. My question is
> > if
> > there's a way to set up a security policy on Windows 2003 DC which is
> > lockout
> > or disable a user that dosn't log into the domain for a specified amount
> > of
> > time. For example a user that hasn't logged into the domain for 30 days
> > will
> > be locked out???
> >
>
> Not built-in, however something close would not be impossible to implement.
>
> One point however, lockout is usually a temporary account state triggered
> by invalid login attempt, and lockout duration (or its being non-temporary)
> may only be set the same of all accounts of the domain.
>
> I think you were perhaps meaning disable the account after non-use for
> so long. You would need to determine, such as in a script or your in-use
> enterprise mgmt suite, which accounts have not logged in for 30 days.
>
> This might not be as simple as it sounds as the last login timestamps do
> not reflect all valid authenticated uses of an account. Attempting to use
> event logs to fill this gap would imply logging of successful domain logins
> (which is often not enabled due to the huge volume of events generated)
> and would mean monitoring/reading the security logs on all DCs.
>
> That said, if you can define a satisfactory determination logic, disabling
> the so determined account is trivial/simple such as run in a nightly task.
>
> Perhaps your more direct option would be to adjust the days of nonuse
> and password change intervals so they are the same, and then nightly
> read accounts with expired passwords and verify they are disabled.
>
> Roger
>
>
>

Posted by Bogwitch on August 30, 2007, 1:29 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
Roger Abell [MVP] wrote:

[snip]

> Perhaps your more direct option would be to adjust the days of nonuse
> and password change intervals so they are the same, and then nightly
> read accounts with expired passwords and verify they are disabled.

Roger,

Slight flaw there. Imagine a user who last used the system just before
the password change reminder. Let's assume 14 days. Now, that user will
have an expired password in 14 days, not 30 days. Now remember that most
users (IMO) won't change their password until they absolutely positively
have to....

Bogwitch.

Similar ThreadsPosted
Re: Account Lockout Policies September 4, 2007, 12:45 am
Account lockout October 20, 2006, 4:22 am
Account Lockout threshold June 12, 2005, 11:31 pm
Account Lockout event log only recorded ... sometimes December 14, 2007, 12:33 pm
Administrator account and lockout policy July 15, 2008, 12:35 pm
User account lockout connecting to Exchange August 22, 2007, 12:28 pm
Changing lockout in XP Pro SP 2 January 9, 2007, 9:05 pm
Password Lockout April 26, 2008, 2:16 pm
policies November 13, 2008, 12:59 pm
Making changes to policies April 13, 2006, 9:21 am

The site map in XML format XML site map

Contact Us | Privacy Policy