I have a VB script that unlocks an AD account when run, this is the relevant part:
...
If objUser.Isaccountlocked = True Then
objUser.IsAccountLocked = False
objUser.SetInfo
End If
...
It all works, but it does not create an event in the AD Event log.
Of course, unlocking the account "by hand" in "AD users and computers" creates a 4767 event ("A user account was unlocked.")
Does unlocking by script create some other event ID? Or really nothing at all?
Thank you very much.