How do you do....it? Thread, detect vpn connection in Technical; sorry for the misleading title. Not sure what to call it.
ok, I want to run a batch file that ...
14th July 2009, 11:32 PM #1
- Rep Power
detect vpn connection
sorry for the misleading title. Not sure what to call it.
ok, I want to run a batch file that opens a VPN login web page. Then the user enters user name and pasword on the web page. The page then shows successful login. The question is, how can I detect a successful connection has been made and then continue with the batch file and map some drives?
IDG Tech News
14th July 2009, 11:38 PM #2
You could make a VBS file to ping a remote server when the server replies then map the network drives.
Thanks to FN-GM from:
firefighting (14th July 2009)
14th July 2009, 11:44 PM #3
- Rep Power
wow! thanks for replying so quickly. Worth a go.
Originally Posted by FN-GM
15th July 2009, 12:02 AM #4
You could just permanently map network drives (on a laptop for example), and they'd only be accessible if VPN connected successfully.
Not quite sure how you'd do it the other way around (with the above method). Keep periodically pinging the DNS server and if it fails delete the drives?
Thanks to Michael from:
firefighting (15th July 2009)
By Norphy in forum Scripts
Last Post: 20th April 2010, 11:37 AM
Last Post: 12th December 2008, 03:42 PM
By FN-GM in forum Wireless Networks
Last Post: 29th December 2007, 07:19 PM
By adamf in forum Windows Vista
Last Post: 14th August 2007, 07:50 PM
By RobFuller in forum Windows
Last Post: 15th March 2007, 10:08 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)