Re: Auto-generate users

Tech-Archive recommends: Speed Up your PC by fixing your registry



I have a small lab of laptops that we use for various classroom
exercises. One of them involves various things with user accounts.
Needless to say when the exercise is done, the user accounts are
trashed. Is there some kind of script that I could use to
automatically build some user accounts and set their passwords?



Darrell Eddy

Yes you can to that. Probably the best way would be with batch files or
cmd files. Or windows script hosting if you prefer, but I suspect your
expertise sounds like it leaves you at batch files?

You could do it a few different ways; somethng that runs every time the
machine is booted, at a parituclar time of day via scheduler, over the
'net remotely or even have the students run it as the first thing they
do. Lots of options.

What I can NOT do if provide a known, working script for you. That
said:

You might try asking your question here:
http://www.daniweb.com/forums/thread45838.html
That particular thread is very close to your situation.

or over at technet.com.
--

Regards,

Twayne

OO0 is a GREAT MS Office replacement
www.openoffice.org

Please respond to the newsgroup, not to
my e-mail, so that all may benefit. I do not
always respond to newsgroup e-mails.



.



Relevant Pages

  • SUMMARY: How to create password in the script? Version 2
    ... I wrote the following script to create multiple user accounts that I would ... Use the following syntax within the script right after the 'useradd' line ... but the shadow file has two lines for one user. ...
    (SunManagers)
  • Re: objUser.SetInfo "general access denied error"
    ... I don't see where you bind to objOU. ... the script a few times during troubleshooting, it is also possible the user ... 'This script creates AD user accounts from a CSV file ... Const ADS_PROPERTY_UPDATE = 2 ...
    (microsoft.public.scripting.vbscript)
  • Script to create AD and Exchange user account by copying existing account?
    ... copying user accounts to create new user accounts. ... Since I'm running Exchange 2007, ... I'd like the ability to create a script and pass in some ...
    (microsoft.public.windows.server.scripting)
  • AD child domains
    ... I'm trying to modify a vbs script that I found on the internet to show the ... Exchange mailbox quota values for user accounts. ...
    (microsoft.public.scripting.vbscript)
  • Re: GC Moniker Broken??
    ... You should just create your script to use an array, which would contain all three domain names, and then the script would connect to each domain gather the users and repeat until the array is exhausted. ... I have three domains in one Active Directory forest: ... all that is returned is the user accounts for the "A.com" domain. ... Set objConnection = CreateObject ...
    (microsoft.public.scripting.vbscript)