Mitch, likely that means that the AD location
(CN=username,OU=x,OU=x,DC=local,DC=emmetsburg,DC=k12,DC=ia,DC=us) is
incorrect. If you have your students in different OUs (say, by the year
of graduation), then you will have to change the UserDN accordingly.
Another possible reason for that error might be that you are pointing to
an object (like a computer or group) that does not support 'dsmod user'.

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mueller, Mitch
Sent: Tuesday, June 24, 2008 11:43 AM
To: info-tech@aea8.k12.ia.us
Subject: RE: [info-tech]

 

Ok.  Well I must be doing something wrong because I keep getting "Target
object for this command' has incorrect format. 

 

Mitch

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Stanzel, Matt
Sent: Tuesday, June 24, 2008 11:34 AM
To: info-tech@aea8.k12.ia.us
Subject: RE: [info-tech]

 

Mitch, the EXCEL concatenate script that Chad sent will do exactly what
you want. Once you have the result column, you simply copy/paste the
outputted values to a batch file and run that.

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mueller, Mitch
Sent: Tuesday, June 24, 2008 11:24 AM
To: info-tech@aea8.k12.ia.us
Subject: RE: [info-tech]

 

But how would I do that without having to select each individual user
and clicking reset password.

 

Mitch

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jason Kehoe
Sent: Tuesday, June 24, 2008 11:22 AM
To: info-tech@aea8.k12.ia.us
Subject: RE: [info-tech]

 

Reset the password to one generic password for all of the students?

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mueller, Mitch
Sent: Tuesday, June 24, 2008 10:50 AM
To: info-tech@aea8.k12.ia.us
Subject: RE: [info-tech]

 

Still looking for some help on a batch file or a vbs file to help me
reset passwords for all the students.  Just looking for anything little
thing that could help me a little bit more.

 

Thanks

Mitch

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Frerichs, Chad
Sent: Monday, June 16, 2008 3:06 PM
To: info-tech@aea8.k12.ia.us
Subject: RE: [info-tech]

 

Mitch,

 

That is the 'formula' (except I forgot the first 2, and most important
words: dsmod user) it is just a long string really with the pertinent
information from the other columns put in there (such as username and
password). I will attach a spreadsheet with an expample.

 

Chad Frerichs 

Director of Technology 

Okoboji Community Schools 

Milford, IA 51351 

 

  _____  

From: Mueller, Mitch [mailto:[EMAIL PROTECTED]
Sent: Mon 6/16/2008 2:51 PM
To: info-tech@aea8.k12.ia.us
Subject: RE: [info-tech]

Ok I kind of have this figured out.  I need a little more help though.
In the F column I don't really understand it much.  What do you use as
the formula.

 

Mitch

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Frerichs, Chad
Sent: Monday, June 16, 2008 1:34 PM
To: info-tech@aea8.k12.ia.us
Subject: RE: [info-tech]

 

I actually use a spread sheet to generate the bat file for everyone.A1 =
first name, B1 = last name, C1 = year of graduation, D1 = RIGHT(C1:2) &
LEFT(A1:2) & (LEFT(B1:4), E1 = whatever the password you want is. I
generate mine randomly.  F1 = "CN=" & D1 & ",OU=2010,OU=HS
Students,OU=Students,DC=local,DC=okoboji,DC=k12,DC=ia,DC=us -pwd " & E1
& " -canchpwd no -pwdneverexpires yes"

 

Then I select column F and copy and paste into a bat file. It should be
pretty easy for you to modify for your uses.

 

I use a similar method to create all the new users for the year.

 

Chad Frerichs 

Director of Technology 

Okoboji Community Schools 

Milford, IA 51351 

 

  _____  

From: Mueller, Mitch [mailto:[EMAIL PROTECTED]
Sent: Mon 6/16/2008 9:37 AM
To: info-tech@aea8.k12.ia.us
Subject: RE: [info-tech]

I'm just looking to reset all the passwords of the students in the
system all at once.  I would like to be able to just reset them to their
first name or username.  I think I could take this one and rewrite it a
little bit but any other help would be appreciated.  

 

Mitch

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Frerichs, Chad
Sent: Monday, June 16, 2008 9:33 AM
To: info-tech@aea8.k12.ia.us
Subject: RE: [info-tech]

 

Do you mean one at a time or groups of people? If you mean groups of
people, you can just write a .bat file like this. One line for each
user. There are more options but these are the ones I use.

 

Dsmod user "CN=10AlKreb,OU=2010,OU=HS
Students,OU=Students,DC=local,DC=okoboji,DC=k12,DC=ia,DC=us" -pwd
XXXXXXXX -canchpwd no -pwdneverexpires yes

 

This is what I do every year for new student passwords. 

 

Chad Frerichs 

Director of Technology 

Okoboji Community Schools 

Milford, IA 51351 

 

  _____  

From: Mueller, Mitch [mailto:[EMAIL PROTECTED]
Sent: Mon 6/16/2008 8:37 AM
To: info-tech@aea8.k12.ia.us
Subject: [info-tech]

Does anyone out there have a script or an easier way to reset username
passwords?  Instead of having to go through each individual student and
teacher.  


Thanks

Mitch

 

 

Reply via email to