Mass Creation of User Accounts

G

Guest

Hello,
I am Attempting to create about 300 users (with e-mail accounts) on a Win03
server based Active Directory. Can anybody direct me on how I can mass create
these accounts so i would not have to create them one by one?

Regards,
A. Kamal
 
T

Tomasz Onyszko [MVP]

akamal said:
Hello,
I am Attempting to create about 300 users (with e-mail accounts) on a Win03
server based Active Directory. Can anybody direct me on how I can mass create
these accounts so i would not have to create them one by one?

You can use many methods, one of them is using script with ADSI. I wrote
some samples for such tasks, comments are in polish but script itself
should be readable for You:

This is example how to create many users based on the data read from the
text file (lines in this text are users data separated with ; char):
http://www.w2k.pl/tech/sample2_2.txt

This is example how to create Exchange account for a user:
http://www.w2k.pl/tech/sample2_6.txt

another method to create exchange account:
http://www.w2k.pl/tech/sample2_6_1.txt

To create mailboxes from the script You need CDOEXM library registered
in the system:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wss/wss/_esdk_reference_cdoexm.asp

This is installed with Exchange Management tools


Many usefully examples of ADSI scripts You will find here:
http://www.rallenhome.com/books/adcookbook/code.html

and also in ScriptCenter:
http://www.microsoft.com/technet/scriptcenter/default.mspx
 
J

Jerold Schulman

Hello,
I am Attempting to create about 300 users (with e-mail accounts) on a Win03
server based Active Directory. Can anybody direct me on how I can mass create
these accounts so i would not have to create them one by one?

Regards,
A. Kamal


I prefer DSADD.EXE, tip 7329 in the 'Tips & Tricks' at http://www.jsifaq.com
 
G

Guest

Hi Jerold,
What does the imput file look like? Would you mind providing a simple example?
I have to create 450 accounts.

Thx
MG
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top