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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VPN + Map Network Drive Batch File

Status
Not open for further replies.

royalmail

IS-IT--Management
Jan 16, 2002
283
US
OK, so this isn't strictly a VPN question, but what I am trying to achieve involves VPN, and if I can get an answer I am sure this would be of use to other people running remote users via VPN.

After a remote user has connected to our LAN via VPN Client I want them to run a batch file that maps all of the usual network drives for them. This runs OK up until it realises that the user hasn't authenticated on the domain. It then asks for a password in order to access the shared folder on the server.

Anyone know the format / syntax to enter usernames and passwords at the DOS prompt when a 'net use' batch file is running?
 
Thanks. I guess I jumped the gun a bit as I posted the topic before doing much investigation... Bringing up the help information for net use gave me the answer to the question.

Thanks anyway.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top