batch file for net log in - TechRepublic
General discussion
December 11, 2003 at 10:19 AM
jsarinana

batch file for net log in

by jsarinana . Updated 22 years, 4 months ago

I want to be able to map drives from a laptop (Win XP Prof.) that has not joined my Domain, this is for a home user. He is able to VPN and terminal to his computer desktop on our LAN, ping our servers, map manually with his user account. I created a .bat file for him so he can run it to map all his drives but every net use command in the .bat file will ask him for a username and password. Question what net command can I add to the batch file so it will ask him for a username password only once and not have to answer ever net use command within the batch file ?

This discussion is locked

All Comments