PDA

View Full Version : Create large number of user accounts in AD from Excel file (W2K)



Leonski
03-01-2003, 04:29 AM
Hi guys,

English is not my native language, so don’t judge my English grammar too harshly please =)

As a new SysAdmin in large school I’ve been assigned to create large number of user accounts in Active Directory (I’m talking about Windows 2000 network here). The procedure is quite simple: create new user account, new home directory folder on the server, set up share and setup permissions for it, add user to an appropriate groups and OU, and so on. Create one-two user accounts is fine with me, but 200-300!!!

I’m not the VB programmer so I start looking for working VB script which will automate my task. Lets say, script will take same info from comma or tab delimited file (Excel would be preferred) and base on that will create user accounts, folders, shares, etc. All I can find is bits and peaces how to do that and this but not the completed version. Does any one have 100% working script which is logical, well commented and easy to understand and modify?

Any suggestions and help would be very much appreciated.
Thanks in advance…

acewilli
04-15-2003, 12:20 PM
I'm working on the same project. Here are some useful links. If you come up with something that works good then let me know.

http://www.winnetmag.com/Articles/Index.cfm?ArticleID=3073

Go here and search for create users
http://cwashington.netreach.net/depo/default.asp?topic=repository&scripttype=vbscript

Let me know what you figure out.

Thanks,

Ace