Solved

How to create multiple accounts with LDIFDE?

Posted on 2004-08-26
6
324 Views
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?

0
Comment
Question by:ekrisch
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
6 Comments
 
LVL 9

Expert Comment

by:jdeclue
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

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.

0
 
LVL 9

Expert Comment

by:jdeclue
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.

J
0
 
LVL 9

Expert Comment

by:jdeclue
ID: 12362644
PAQ - No Refund
J
0
 
LVL 1

Accepted Solution

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

Computer101
E-E Admin
0

Featured Post

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

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

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…
I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

739 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