Link to home
Start Free TrialLog in
Avatar of ekrisch
ekrisch

asked on

How to create multiple accounts with LDIFDE?

We are running a network with Windows 2000 Server in a school. We have to create every year about 200 new accounts for our new students. We discovered that Windows 2000 Server has a program (LDIFDE) that can create and erase multiple accounts very quickly. What we need is the exact code to create multiple accounts on our server with the following information per account: User ID (numeric), Password, home folder and with full access only their folders. Also, how does one create multiple accounts without entering manually the numeric User ID’s and how does one delete multiple select accounts?

Avatar of jdeclue
jdeclue

Deleting multiple accounts is easy in active directory, if they are in the same container you can select them all and right-click, and delete.

Here is a link to a script which creates as many accounts as you want, give it a number like 200, a start name like 2004q1student, and it will create 2004q1student001 - 2004q1student200

J

http://www.computerperformance.co.uk/Logon/WSH_BulkUser.htm

This site has many examples for creating and deleting accounts and bulk accounts through scripting.

I missed that part about the Home Folder. Maybe some one else can help with that part. I have used scripting for many years to do these type of functions, and that is the one part I have not been able to get to work in a script. I can get a script to put the info in but it fails.

J
PAQ - No Refund
J
ASKER CERTIFIED SOLUTION
Avatar of Computer101
Computer101
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial