darksheep Posted November 21, 2005 Share Posted November 21, 2005 (edited) here is the situation i am installing a new server (server2003) 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 November 21, 2005 by darksheep Link to comment Share on other sites More sharing options...
Nuffilein805 Posted November 23, 2005 Share Posted November 23, 2005 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 my little chatmy little encryption toolmy little hidermy unsafe clickbot Link to comment Share on other sites More sharing options...
Danny35d Posted November 23, 2005 Share Posted November 23, 2005 (edited) 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 dataTo read from the excel spredsheet you can used ExcelCOM UDF from Randallcwould like to trydoing this with out useing "send key " because i think that would slow it down and cause errorsMay be you can wrapp AutoIt to used the command line that comes with W2K3 Dsadd.exe take a look to this webpageI hope this will get you started... Edited November 23, 2005 by Danny35d AutoIt Scripts:NetPrinter - Network Printer UtilityRobocopyGUI - GUI interface for M$ robocopy command line Link to comment Share on other sites More sharing options...
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