Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

a) MS Outlook 2007 starts

b) There is an open connection to the internet.

I am using Windows 7 Home Premium and I do not wish to use any costly third party tools to manage the VPN connection. The VPN was setup through windows own network and sharing center.

My goal is to be able to turn on my computer and open outlook without having to first connect to the VPN connection.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

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?

share|improve this answer
    
nice one, thanks :-) –  Barry-Jon Nov 4 '09 at 10:31

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.