Is the BadPwdCount
property read only? I have tried to reset this with the following
script and get errors
Set Ulist =
GetObject("LDAP://ou=My
Users,DC=My,DC=domain,DC=com")
For Each User In Ulist
If user.badpwdcount > 5 then
WScript.Echo(user.fullname & " " & user.badpwdcount)
user.badpwdcount = 0
user.setinfo
End if
Next
For Each User In Ulist
If user.badpwdcount > 5 then
WScript.Echo(user.fullname & " " & user.badpwdcount)
user.badpwdcount = 0
user.setinfo
End if
Next
John Hann
BancorpSouth
662.678.7179
