Personal tools
About this blog
This is where I maintain running notes of my thoughts

Syndicate my Blog

 Subscribe in a reader


Number of visitors
since 27 March 2006
Add to Technorati Favorites

 
Document Actions

How to determine the account lockout status in Active Directory

by Mukul Dharwadkar posted at 2007-08-29 18:42 last modified 2007-08-29 18:42

MeetMeNow 14-day free trial; easy web meetings VistaPrint.com

Digg!

Account LockoutAt first glance, the thought comes to mind is what's the big deal in finding out the account lockout status in Active Directory? Just right click and on the user object and click on the Account tab and you will find out whether the account is locked or not. So why even bother with this? Well to start with the Account lock out status you get native in Active Directory just gives you whether the account is locked or not. The tool I am trying to explain gives a lot more information than just whether it is locked or not.

Have you ever faced with a issue where you had to face a user account getting locked out continuously even if you have changed the password and are quite sure that you are not entering the wrong password? Or did you have to find out when the password was last changed for a particular user account. Recently my manager asked me whether the 90 day password expiry policy was still in place as he was not prompted for a password change for a long time. That's when I had to find out when was the last time he had to change his password as I knew the password policy was still in effect. I used the Account lockout status tool to find out when was the last time he had changed the password. The usage of the tool is quite simple. The tool is a stand-alone executable which does not need to be installed. Just download it, extract it and run it. Of course you need administrator privileges or access to an user account with administrative privileges on the domain where the user resides A typical results window looks like this:


As you can see this image gives a lot more information than just telling you that the account is locked.

The tool set also has additional tools which give you very useful functionality like finding out which of the processes / application is generating bad credentials locking out the accounts. Alockout.dll & Appinit.reg files in the set of files provide this functionality. To use the tool:

  1. Copy alockout.dll to system32 directory on machine sending bad credentials.
  2. Run the appinit.reg script to add the dll to the Appinit_DLL key.
  3. Restart machine.
  4. Wait for account to lockout on that machine

The output (Alockout.dll) will be created in the winnt\debug directory that will give additional information about the processes / application sending out the bad credentials.

You can also gain additional information in the Active Directory Users and Computers Snap-in that is a part of Administration Pack by adding additional property sheets to the object properties. More information can be found out on the Microsoft website.


The URL to Trackback this entry is:
http://www.dharwadkar.com/weblog/msad_tip01/tbping

Re:How to determine the account lockout status in Active Directory

Posted by Stephen at 2007-09-14 14:03
I know a better tool - NetWrix Account Lockout Examiner. It does a lot more than simply reporting a status of account lockout. When account lockout happens, you can "examine" why it happened using this nice tool. For example you can have a mapped network drive on of your computers, and when user changes password, that drive mapping starts to lock the account until update that password. Account Lockout Examiner detects such conditions and reports to you, so you just go to that computer a remap the drive, bingo! Another cool thing about this tool: you can setup alerts. So when account lockout occurs, you receive a notification, and click a link in the e-mail to go right to the account details. The tool is not free, however, but I think it's worth it.

Take a look, here is a link: http://www.netwrix.com/account_lockout_examiner.html
Add comment

You can add a comment by filling out the form below. Plain text formatting.

(Required)
(Required)

Listed on BlogShares
Recent entries
My experience with virtualization Mukul Dharwadkar 2008-06-30
Happy Father's day Mukul Dharwadkar 2008-06-16
Use the plain old notepad as your personal diary Mukul Dharwadkar 2008-05-07
Taxing time to file tax returns Mukul Dharwadkar 2008-02-29
Fedora 8 - Still not there yet Mukul Dharwadkar 2008-02-28
Recent trackbacks
2006-11-07
2006-11-07
2006-11-07
2006-11-07
2006-11-07
« November 2008 »
Su Mo Tu We Th Fr Sa
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30            
 

This site is:

Powered by Plone, the Open Source Content Management System