Solved

How to create multiple accounts with LDIFDE?

Posted on 2004-08-26
6
319 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
Comment Utility
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
Comment Utility
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
Comment Utility
PAQ - No Refund
J
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
Comment Utility
PAQed - no points refunded (of 250)

Computer101
E-E Admin
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

Suggested Solutions

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…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

743 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

15 Experts available now in Live!

Get 1:1 Help Now