Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Net User command in 2000 vs NT

Status
Not open for further replies.

dlg2000

ISP
Joined
Oct 24, 2000
Messages
1
Location
US
I am having a problem with the net user command. I am trying to add many users from a command prompt as well as set their home directory to the correct path for that user. When I use the net user /homedir option it adds the home directory path into the local path. What I need it to do is to add it to the connect X as homedir portion. In Windows NT it defaulted to that location, so I had no problems then, but 2000 defaults the location to the local folder. The syntax I am using is: net user bob /add /homedir:\\server\bob

Please Help
 
Try using addusers.exe along with a csv or text file containing user information

[Users]
fredsmith,fredsmith,password,DOB,H:,\\server\sharename,\\profilepath

We use it to create 1000 users at a time, we then run similar files to create network shares, as well as permissions on share

Hope this helps
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top