Writing
the script(s)
First we need to write
one or two small VBS scripts (I thank
Iftach for the insight). The first
script will be used as a context menu
option on any user account object, and
the second script will do a scan on any
given OU (Organizational Unit) in the AD
and if it finds any locked-out user
accounts - it will enable them.
Set wshArguments =
WScript.Arguments
Set objUser = GetObject(wshArguments(0))
objuser.put "lockouttime","0"
objuser.setinfo
msgbox "The user has been unlocked - " &
objuser.sAMAccountName |