Solved

vpn connections in a batch file

Posted on 2006-06-15
3
468 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
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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

This is an article about my experiences with remote access to my clients (so that I may serve them) and eventually to my home office system via Radmin Remote Control. I have been using remote access for over 10 years and have been improving my metho…
Don’t let your business fall victim to the coming apocalypse – use our Survival Guide for the Fax Apocalypse to identify the risks and signs of zombie fax activities at your business.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
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…

746 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now