Solved

vpn connections in a batch file

Posted on 2006-06-15
3
476 Views
Last Modified: 2012-05-12
Hi

I have set up several vpn connections to different companies. These can be seen in the network connections area inside the control panel.
I have put the username and passwords in so when you double click on the icon and then press return it will connect automatically.
Once i have done this i then run a batch file which connects certain drive letters to  remove shares on a server. I then do a remote backup for disaster recovery purposes.

I would likle to do all of this automaticaly, ie.
connect to company 1, run the first remote backup batch job.
disconnect from company 1
connect to company 2, run second backup batch job.

is there anyway of doing this in one big batch job. I do not know how to start the vpn connections atuomatically.

sed
0
Comment
Question by:thomasmore
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 77

Accepted Solution

by:
Rob Williams earned 250 total points
ID: 16914027
You may be able to create a single batch file in which RASDial creates the connection, and then the rest of the same batch file would have your mapping and batch file commands. I haven't used RASDial but it is often used to automate dial up or VPN connections, often as a scheduled event. (l\thanks to prueconsulting for the link)
http://technet2.microsoft.com/WindowsServer/en/Library/c3f953ab-2af4-4811-9c70-9a67e5237e121033.mspx?mfr=true
0

Featured Post

Create the perfect environment for any meeting

You might have a modern environment with all sorts of high-tech equipment, but what makes it worthwhile is how you seamlessly bring together the presentation with audio, video and lighting. The ATEN Control System provides integrated control and system automation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question