Link to home
Start Free TrialLog in
Avatar of Matteo Bordignon
Matteo BordignonFlag for Italy

asked on

account locked mail information

In a DC windows server 2003 how can I configure an automatic mail that is sent when a user account is locked out?
Thank you
SOLUTION
Avatar of Alexandre Michel
Alexandre Michel
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Matteo Bordignon

ASKER

Ok thank you I configure all but there is a problem.
On the Event Viewer - Security : there is no event with code 644. And today I tried a lot of time to lock a user domain account.
Another question is: the creation of eventtriggers will lost if I reboot the server?
I don't have a Windows server 2003 to play with.
You should be able to find the Event ID number in the Security Logs of your server . Try 539, 552. Look for any events of interest and use it for a trigger with above process

It is a long time since I used EventTrigger but from memory, EventTriggers runs under the account name of the logged on user.

Here are more example here: http://www.computerperformance.co.uk/Logon/VBScript/eventtriggers.htm 

Have also a look at Account Lockout Tools from Microsoft.
Caution: Do not use this tool (MS Lockout Tools) on servers that host network applications or services. Also, you should not use ALockout.dll on Exchange servers, because it may prevent the Exchange store from starting.
Ok it  work but in the mail I have to know the details of which account is locked,date,time. With bmail.exe I can only set a default body or subject.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Proposed solution answers the query