07-23-2003 05:59 AM - edited 02-21-2020 12:40 PM
Does anyone know of a way to have a script run only after the vpn connection has been established. Looking to use this as an alternative to a log on script. I have been told that Microsoft's connection manager can do this. Is Cisco able to do the same?
07-23-2003 10:39 AM
After the VPN client connects, one can enable the application launcher in the client to excute an application or command like a logon script. Hope this helps. Willie Lee
07-28-2003 12:17 PM
It appears that the application launcher is likely to try to launch an application before connecting as well as after- Does anyone know how to make the application launcher ensure that the connection has been established before launching the application.
As a sidebar- does anyone know how to configure the NT option to 'Log on using Dial-up Networking' to launch the VPN dialer software?
08-13-2003 02:12 PM
Here's one way around this issue.
I have a Windows login script called login.exe that I want to run after the VPN tunnel is up. I created the following batch file and have the VPN client configured to autolaunch it.
echo off
cd\program files\login
cls
echo Please wait until VPN connection is complete
echo Then press the Enter Key to continue
echo Plese wait for login script to process
pause >null
login.exe
echo
echo
end
When you start the VPN client, a CMD window opens and displays the echo comments in the batch file. The pause >null statement makes the batch file stop and wait until you press the enter key. Once you finish your VPN connection, press Enter and the batch file calls login.exe and runs the login script. When the login script completes, it closes the CMD window.
I hope this helps.
-Ray
08-25-2003 05:21 AM
Ray-
Thanks for the batch file. I will try it out in our environment.
Erich
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide