Solved

How to create multiple accounts with LDIFDE?

Posted on 2004-08-26
6
323 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
  • 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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Cursed with a Windows 2000 Server that needs to copy files 3 730
Group Policy 9 560
Retrieve process time in memory in VB 6 130
P2V Windows Server 2000 - Network Issue 14 57
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…
Azure Functions is a solution for easily running small pieces of code, or "functions," in the cloud. This article shows how to create one of these functions to write directly to Azure Table Storage.
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…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

679 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