Force VPN connections when user logs into computer

Posted on 2008-10-31
Last Modified: 2013-11-17
I have a number of laptop users who I would like to have automatically connect to our company VPN whenever they connect to a network outside of our corporate network.  To do this I figure I would need something first to detect if a network connection was present, second to determine if it was on our local network and then third to start a VPN connection if the network is not local.  The laptops are all running Windows XP Professional and using the Cisco VPN client.  They connect into our ASA for the VPN connection and use RADIUS authentication via one of our servers.  Is it possible to use a script or is there program capable of doing this?
Question by:cja777
LVL 63

Accepted Solution

SysExpert earned 500 total points
ID: 22859579
I imagine a batch file or VBS could easily do this.
I would suggest using the scripting, MSDOS and automation TAs for this question.

I hope this helps !

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

If you use NetMotion Mobility on your PC and plan to upgrade to Windows 10, it may not work unless you take these steps.
Let’s list some of the technologies that enable smooth teleworking. 
After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

809 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