Discussion Locked

Active Directory mass account creator in

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I am looking for something very easy but I have yet to find it. I work at a college and I have to hand make a lot of Active Directory accounts for the students to use every semester. I know there is scripting for AD but I have yet to find a good site or even a script that some one has made so all I have to do is make the list in Excel with all the user names. The user names are all the same but have an ending number that is +1. The password can be the same as long as change password is check on first log on. I am not a scripting type of guy but I can do some I just have not found a good starting point yet.

Andy

4 replies

by voldar

Use the ldifde command. You can use a text document that may contain the following lines for one user (u can create by copying as much user records as you wish using winword for example):

DN: CN=John Doe,OU=STUDENTS,DC=domain,DC=com
objectclass:user
samAccountName: student1
userPrincipalName: student1@domain.com
displayName: John Doe
userAccountControl: 512

If you type ldifde /? for help on using this tool. You'll have all users imported into the OU STUDENTS. Take care! - u must create the OU before using this kind of document.

by voldar

The accounts created for students have already enable "user must change password at next logon".

by adelhier

I tryed it and did not work but i am the master of typ0. Thanks for you hlep.

Andy

This discussion is closed to new replies.