[ActiveDir] Reset BadPwdCount property for users

2003-03-27 Thread John F. Hann
Title: Message Is the BadPwdCount propertyread 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 thenWScript.Echo(user.fullname " " user.badpwdcount)

RE: [ActiveDir] Reset BadPwdCount property for users

2003-03-27 Thread Gil Kirkpatrick
, March 27, 2003 3:02 PMTo: ActiveDir ListSubject: [ActiveDir] Reset BadPwdCount property for users Is the BadPwdCount propertyread 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"

RE: [ActiveDir] Reset BadPwdCount property for users

2003-03-27 Thread Free, Bob
It's a SAM read-only object AFAIK, you can't modify it. -Original Message- From: John F. Hann [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 2:02 PM To: ActiveDir List Subject: [ActiveDir] Reset BadPwdCount property for users Is the BadPwdCount property read only? I have

RE: [ActiveDir] Reset BadPwdCount property for users

2003-03-27 Thread John F. Hann
PROTECTED] Sent: Thursday, March 27, 2003 3:02 PMTo: ActiveDir ListSubject: [ActiveDir] Reset BadPwdCount property for users Is the BadPwdCount propertyread only? I have tried to reset this with the following script and get errors Set Ulist = GetObject("LDAP://

RE: [ActiveDir] Reset BadPwdCount property for users

2003-03-27 Thread John F. Hann
Thing is...You can go into ADSIEdit and modify it -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Free, Bob Sent: Thursday, March 27, 2003 5:09 PM To: [EMAIL PROTECTED] Subject: RE: [ActiveDir] Reset BadPwdCount property for users It's a SAM read

RE: [ActiveDir] Reset BadPwdCount property for users

2003-03-27 Thread Free, Bob
] Reset BadPwdCount property for users Thing is...You can go into ADSIEdit and modify it -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Free, Bob Sent: Thursday, March 27, 2003 5:09 PM To: [EMAIL PROTECTED] Subject: RE: [ActiveDir] Reset BadPwdCount