Autogenerate passwords

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I need to change all the pwds in one OU every week, This is a OU containing excam accounts. Is there any way of automaticly generate pwds for 200 users and have a output file so i can give the account and pwd to the students when they arrive. For security reasons the pwd need to be unique for each user, and they should not be able to change it
Please advise

Trond
 
try the following script :

To Change Password
Set objUser = GetObject ("LDAP://cn=username,ou=container,dc=domain,dc=com")
objUser.ChangePassword "i5A2sj*!", "jl3R86df"





To Set Password
Set objUser = GetObject
("LDAP://cn=username,ou=containername,dc=domainname,dc=com")
objUser.SetPassword "i5A2sj*!"

Trond said:
I need to change all the pwds in one OU every week, This is a OU
containing excam accounts. Is there any way of automaticly generate pwds for
200 users and have a output file so i can give the account and pwd to the
students when they arrive. For security reasons the pwd need to be unique
for each user, and they should not be able to change it.
 
Thank You,
However this script seem to generate for one user
Is it possible to change for all users in that OU at once? Maybe import form Excel or something
Thank Yo

Trond
 
Well if i was a programmer i think i could have opend a excel or a csv file
and did this...
else i would rahter use copy paste and replace and generate a VBS file for
all users...u need to run this weekly with new passwords...so just find and
replace?
or use this script in a loop...

any programmers willing to help...
 
Back
Top