Click to See Complete Forum and Search --> : User Account Creation
JakeD
May 26th, 2000, 01:48 PM
i have to create thousands of user accounts. i remember someone talking about a program on the nt resource kit to do that. can someone refresh my memory? i also have to disable other accounts. anyone have any ideas? thanx.
Techguy
May 26th, 2000, 05:12 PM
What do you exactly want to do? You can do lots of stuff using BATch files
------------------
Tech Guy
Please visit my forum (http://www.tech-guy.org)
JakeD
May 26th, 2000, 05:45 PM
well, i administer the network for a educational institution and every semester we get a new batch of students. we also have to disable accounts from the previous semester unless the students continue in the next semester. i remember that people used to talk about a program on the resource tool kit that helps you easily create accounts as well as folders for them. hope this helps.
Joe_W
May 26th, 2000, 08:51 PM
You're looking for addusers.. the info is here http://support.microsoft.com/support/kb/articles/Q199/8/78.ASP?LN=EN-US&SD=gn&FR=0
You can download it here
ftp://ftp.microsoft.com/bussys/winnt/winnt-public/reskit/nt40/i386/
More info on the reskit
http://support.microsoft.com/support/kb/articles/Q158/3/88.asp?LN=EN-US&SD=gn&FR=0
Later
Joe_W
[This message has been edited by Joe_W (edited 05-26-2000).]
[This message has been edited by Joe_W (edited 05-26-2000).]
[This message has been edited by Joe_W (edited 05-26-2000).]
[This message has been edited by Joe_W (edited 05-26-2000).]
Duuude
May 29th, 2000, 09:25 AM
Of course, ADDUSERS.EXE won't create home folders or share them out or set security or...
You may have to get into writing a script (BATch file). Shouldn't be too hard. At a command prompt, type NET HELP USER and you should get a lot of useful info on how to do user account manipulation from a script. If you need specific questions answered, post back.
Techguy
May 29th, 2000, 11:08 AM
OK here's the file I used to add users long time ago...
ADDSTAFF.BAT
@ECHO OFF
:START
NET USER %1 * /add /fullname:%2 /comment:"TELUS Staff" /homedir:\\HOME\%1$ /profilepath:\\HOME\SET$\%1 /script:STAFF.BAT
MD F:\%1
MD F:\%1\TEMP
cacls F:\%1 /T /G "Domain Admins":F "Account Operators":F "Supervisors":F %1:F < \\HOME\ACCTS$\YES.TXT
net share %1$=F:\%1
net group Staff %1 /add
net group Internet %1 /add
ECHO To add the user to a department group use ADDGROUP.BAT file located in \\HOME\ACCTS$.
Goto START
Well I edited it a little bit otherwise you can modify it to your needs and use it.
------------------
Tech Guy
Please visit my forum (http://www.tech-guy.org)
Techguy
May 29th, 2000, 11:11 AM
Jut to let you know. This batch file doesnt use ADDUSER.EXE, also for this file you need to have the YES.TXT file that is basically a text document with twon lines:
Y
Enter
well enter is the enter key
------------------
Tech Guy
Please visit my forum (http://www.tech-guy.org)
flikserv
May 30th, 2000, 08:27 AM
Is this the app you're referring to?
http://www.microsoft.com/education/product/nt_wizard.asp
JakeD
June 1st, 2000, 10:58 AM
thanks guys, i really appreciate it. i'll try these out.
s8400122
June 1st, 2000, 05:04 PM
I see that this will need to be run from the server!!!!!!
you could use the rmtshare.exe that comes with the Resource Kit and alter it so that you can run it from any pc!!
------------------
My Name is NEO.....
Welcome to the REAL WORLD (it's what you make I.T.)
p.s.
My Name is Neil.