Login | |
|
 |
Account lockout in AD - 6/18/2008 4:07:16 AM
|
|
 |
|
| |
elzy1974
Posts: 3
Score: 0
Joined: 6/18/2008
Status: offline
|
Does anyone know how to write a script that will notify me in some form when a user account gets locked out in Active Directory? I am new to VBS scripting. Here is the tree to our users path: Active Directory Users and Computers [NGILA1DCIM00.il.ng.ds.army.mil] il.ng.ds.army.mil IL Users Ellsworth, Keith A I figured out how to unlock accounts, but I want to be notified if when they get locked. Here is what I have for unlocking accounts: Set objUser = GetObject _ ("LDAP://CN=Ellsworth\, Keith A,OU=Users,OU=IL,DC=il,DC=ng,DC=ds,DC=army,DC=mil") objUser.IsAccountLocked = False objUser.SetInfo Except this script only does a particular user.
< Message edited by elzy1974 -- 6/20/2008 6:27:07 AM >
|
|
| |
|
|
|
 |
RE: Account lockout in AD - 7/13/2008 10:51:43 AM
|
|
 |
|
| |
TomRiddle
Posts: 190
Score: 4
Joined: 2/7/2008
Status: offline
|
That would be nice, but no MOM yet.
|
|
| |
|
|
|
|
|