script to add users to win2k domain controller

  • Thread starter Thread starter hh
  • Start date Start date
H

hh

is there any script that i can add users to win2k domain
controller from a text file as well as creating users's
home folders. Thanks
 
Here's half:

for /f %q in (c:\file.txt) do (net user %q /add /domain)

That's a start. If you have password policies in place, you'll need to pass
a password as well, i.e. (net user %q temppw /add /domain)

Ray at work
 
Back
Top