Monitor Locked accounts

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
hamoja
Posts: 34
Joined: Wed Jun 18, 2003 6:00 pm

Post by hamoja »

Is there a way to monitor locked NT accounts besides security event logs?. Example query a value somewhere type of thing. My event log runs at least 100 secuirty events per minute so it difficult to use that as a method of monitoring.

Thanks
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

I am afraid HostMonitor does not have another built-in test that can help in this case :sad:

Regards
Alex
hamoja
Posts: 34
Joined: Wed Jun 18, 2003 6:00 pm

Post by hamoja »

Found a workaround that is better than event log monitoring

<font size=-1>[ This Message was edited by: hamoja on 2003-07-09 20:03 ]</font>
User avatar
Marcus
Posts: 367
Joined: Mon Nov 18, 2002 6:00 pm

Post by Marcus »

Perhaps you could share your workaround ?
hamoja
Posts: 34
Joined: Wed Jun 18, 2003 6:00 pm

Post by hamoja »

I wrote a batch script to call a DOS utility called "unlock.exe" by joeware.net and redirect results to a text file every minute.

This is the syntax I use - "unlock . <account name> -view > file" this instructs the program to query DC and send the results to file. By default if the program doesn't find any lock accounts the result is "No objects found" which is written to a text file and has a file size of 19 bytes.

If the account queried is locked then the file size is greater than 19 bytes because more data is written to the file.

Using HM I ran two tests. 1) External Test to run batch file to query lock acounts every minute 2) File size greater 19 bytes which ran every 5 minutes.

My domain policy for reseting locked accounts is 1/2 hour which gives me enough time to look through the secuirty logs and trace the culprit who locked my admin or imperative accounts.



<font size=-1>[ This Message was edited by: hamoja on 2003-07-10 23:05 ]</font>
Post Reply