Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Win2000 pro Resource Kit script createusers.vbs

Status
Not open for further replies.

snowwis

Programmer
Mar 13, 2001
9
0
0
US
I am trying administer a windows 2000 server and want to populate the users account using the createusers.vbs. I have hundreds of users.
what does the input file for the createusers.v b s script look like or how do I use this script to do this?
Respect,
Barbara
 
I found the following in the middle of the script. I hope it helps.


"Creates multiple user accounts in a domain." & vbCRLF
&quot;CREATEUSERS.VBS adspath <property1:propertyvalue1&quot;
&quot; [property2:propertyvalue2 [...]] | /I:inputfile>&quot;
&quot; [/U:username] [/W:password] [/Q]&quot;
&quot; /I, /U, /W&quot;
&quot; Parameter specifiers.&quot;
&quot; adspath ADsPath of a user object container.&quot;
&quot; inputfile A text file with each line in the following format:&quot;

&quot; property1:propertyvalue1 property2:propertyvalue2...&quot;
&quot; username Username of the current user.&quot;
&quot; password Password of the current user.&quot;
&quot; property, propertyvalue&quot;
&quot; Name and value of a user property.&quot;
&quot; /Q Suppresses all output messages.&quot; & vbCRLF
&quot;EXAMPLE:&quot;
&quot;CREATEUSERS.VBS WinNT://FooFoo name:jsmith&quot;
&quot; fullname:&quot;&quot;James Smith&quot;&quot; password:NewPassword&quot;
&quot; creates user jsmith with fullname James Smith in FooFoo.&quot; & vbCRLF

&quot;NOTES:&quot;
&quot;1. Password is required for every new user.&quot;
&quot;2. Enclose any strings with empty spaces in double quote
 
Thanks, I appreciate the assist. Im lost in this sysadmin world. and much respect to you knowledge.
I will learn |-0

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top