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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Windows 7 Professional 6 83
Configuring VPN in server 2012 5 21
What is the VPn crypto table on a Cisco ASA? 2 18
VPN Server config in Modem 5 31
The Samsung SSD 840 EVO and 840 EVO mSATA have a well-known problem with a drop in read performance. I first learned about this in an interesting thread here at Experts Exchange:…
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…
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…

828 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