jonathanduane2010
asked on
VPN reconnection option if not connected
Hi,
i have a very simple batch file to run on startup, is there anyway to run this if it drops or if a cable was unplugged?
Rasdial test test test$2010
i have a very simple batch file to run on startup, is there anyway to run this if it drops or if a cable was unplugged?
Rasdial test test test$2010
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Thanks. Like Qlemo said perhaps not the most elegant plan but it depends upon the cirumstances and what you need it to do. May be better to sort out whatever timeout issue there is, or have a constant PING going every 60 seconds or similar to keep the connection active etc. Another couple of answers in "Windows Batch Scripting" and thats a "Sage" for me so thanks for the points :-)
Steve
Steve
I have been working on an elegant solution using Task Scheduler and Event Triggers. That works starting with Vista.
An event-triggered script can be defined in Task Scheduler, and that is only called when the event is triggered, of course, that is on disconnect. Still interested?
An event-triggered script can be defined in Task Scheduler, and that is only called when the event is triggered, of course, that is on disconnect. Still interested?
Well I'm interested :-)
Can we rely on that it is Vista, 2008 or Windows 7 we are talking about?