Lus Posted April 19, 2006 Posted April 19, 2006 (edited) hiwhat's best way for creating 100 user acount ?using template user account is time consuming work. is any VBS or BAT file for automate it job ?all user are the same . Edited April 19, 2006 by Lus
fizban2 Posted April 19, 2006 Posted April 19, 2006 are all these users in csv or file that you can create into a csv? if so LDFIDE might work. goog it for more information
Lus Posted April 20, 2006 Author Posted April 20, 2006 (edited) then what is diffrent bit these utility " LDIFDE " and " CSVDE " ? Edited April 20, 2006 by Lus
tguy Posted June 7, 2006 Posted June 7, 2006 ADSI scripting works well to.Here is a script that will create a 100 named users and set their password.Set objRootDSE = GetObject("LDAP://rootDSE")Set objContainer = GetObject("LDAP://OU=ADTEST,OU=APPS,OU=CAMPUS," & _ objRootDSE.Get("defaultNamingContext"))For i = 1 To 100 Set objLeaf = objContainer.Create("User", "cn=Test" & i) objLeaf.Put "sAMAccountName", "Test" & i objLeaf.SetInfo objLeaf.SetPassword("password" & i) objLeaf.AccountDisabled = False objLeaf.SetInfoNextWScript.Echo "100 Users created."
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now