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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

OpenVPN is a great open source VPN server that is capable of providing quick and easy VPN access to your network on the cheap.  By default the software is configured to allow open access to your network.  But what if you want to restrict users to on…
For some time some of our users experienced package loss on a couple of our Lenovo Thinkpad S531 machines running Windows 8 or Windows 8.1 64-bit OS. I was not able to find many answers online, but did after some investigation I began to suspect Blu…
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…

705 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