How to create multiple accounts with LDIFDE?

Posted on 2004-08-26
Last Modified: 2010-04-14
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?

Question by:ekrisch
  • 3

Expert Comment

ID: 11906124
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


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


Expert Comment

ID: 11906153
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.


Expert Comment

ID: 12362644
PAQ - No Refund

Accepted Solution

Computer101 earned 0 total points
ID: 12438856
PAQed - no points refunded (of 250)

E-E Admin

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Server Hard Drive Expansion 2 143
Install Window 2012 Domain on 9 125
windows 2000 - Enable wifi 7 132
Server 2012R2 Foundation and Server 2000 3 117
NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
We need a new way to communicate time sensitive or critical info.   The best part of my role at xMatters is visiting our clients all over the world to learn about how they operate their businesses, share insights that xMatters has gleaned across…
Edureka is one of the fastest growing and most effective online learning sites.  We are here to help you succeed.
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

912 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now