Home » Questions » Computers [ Ask a new question ]

Start VPN Connection Automatically when Outlook Starts / Internet Connection Starts

Start VPN Connection Automatically when Outlook Starts / Internet Connection Starts

I have a VPN connection setup to connect to my hosted exchange server. I would like to have this VPN open automatically when either

Asked by: Guest | Views: 156
Total answers/comments: 1
Guest [Entry]

"I am not entirely certain how to make it key off either of those two events without some programming on your part - but you can use the RASDIAL command to launch the VPN connection.

http://technet.microsoft.com/en-us/library/bb490979.aspx

Some ideas:

Create a batch file that launches the VPN connection and then launches Outlook as well, maps network drives, etc.

Create a batch file that runs every minute, pings the gateway on the server end of the VPN connection, if the ping fails it launches the VPN connection using RASDIAL?"