Hi
John,
I
would have thought that it was read-only, but I didn't see anything in the
schema or the SD that would make it read-only. What kind of errors are you
getting?
-gil
-----Original Message-----
From: John F. Hann [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 27, 2003 3:02 PM
To: ActiveDir List
Subject: [ActiveDir] Reset BadPwdCount property for usersIs the BadPwdCount property read only? I have tried to reset this with the following script and get errorsSet 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
NextJohn HannBancorpSouth662.678.7179