Adding new users to Windows 2003 server
Hi all, I am not sure this is the right place to ask, and its probubly a realy newbie question but:I am trying to make a batch file to add 230 or so user to a Windows 2003 server, I have there names and dob's in an excel file so I can just put to code around that. I want there First name and last name as there user name and there dob as there password, so far I have:net user [Fname][Lname] [dob] /add /comment:"user's added on [date]" /fullname:"[Fname] [Lname]" /scriptpath:xyzScript.bathowever I want to add There First and last name's in the first and last name fields (what I have only dose there full name) and to connect a network dive (in this case X:\) so I want to know if there is some code like "connect X:\ to \\xyzServer\username". (the folders will allready be made and shared). I did try the /homedir://xyzServer/username but that doesn't do what I want. I don't mind if I have to make a second batch file to connect the "X" drive if that would be easier, I just don't want to have to do it one at a time.
January 24th, 2008 7:58am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics