Jump to content

creating multiple users


 Share

Recommended Posts

here is the situation i am installing a new server (server2003) B)

and i need to create user accounts quickly (i can not export setings from old server)

need to set

-first name

-lastname

-password

-mailbox

-groupmembership

-profiel path

-home folder

what i was thinking was to creat a script that could read the data from an exel file and then create the users based on this data

would like to trydoing this with out useing "send key " because i think that would slow it down and cause errors

i am sure this script would be use full to many people not just me

Edited by darksheep
Link to comment
Share on other sites

why don't you wanna use send("...")?

you just have to winwaitactive for the window to be active or do a little sleep

send('first{tab}last{tab}pass{tab}mail{tab}group{tab}profile{tab}home{enter}')

if this is the way it is entered, there should be no problem using send("...") just took me 600ms for the things to enter

the excel-thing is up to you because i never use it, so i can't help you there

Link to comment
Share on other sites

what i was thinking was to creat a script that could read the data from an exel file and then create the users based on this data

To read from the excel spredsheet you can used ExcelCOM UDF from Randallc

would like to trydoing this with out useing "send key " because i think that would slow it down and cause errors

May be you can wrapp AutoIt to used the command line that comes with W2K3 Dsadd.exe take a look to this webpage

I hope this will get you started...

Edited by Danny35d
AutoIt Scripts:NetPrinter - Network Printer UtilityRobocopyGUI - GUI interface for M$ robocopy command line
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...