Link to home
Start Free TrialLog in
Avatar of jacc
jacc

asked on

automatically connect cisco VPN client on Win2000 startup

Hi friends, i have installed cisco vpn cliient on my windows 2000 pc. I want to connect the vpn automatically at windows start up, that is because I have programs that run at windows start up and need the vpn connection to work. I can´t run this programs after connect vpn client manually. I read all information in the vpn documentation and the only information is how to start vpn at windows start, but I have to click in the connect buttom.
Note. I have configure automatic logon in my windows 2000 pc
Avatar of Les Moore
Les Moore
Flag of United States of America image

What version VPN client are you using?
The latest 4.x, at least, has options under Options | Windows Logon Properties:
Just check the box. You may have to disable autologon.

=>[]Enable start before logon
     []Allow launching of third party applications before logon
       (Application launcher, Third pary dial-up application)
     []Disconnect VPN connection when logging off

Avatar of jacc
jacc

ASKER

Irmoore, the application must be start automatically when windows start,  then the autologon must be necesary.
Now, the vpn is necesary for the programs to work. The opcion Enable start before logon just start the vpn, but not connect it automatically.

jacc
ASKER CERTIFIED SOLUTION
Avatar of NetoMeter Screencasts
NetoMeter Screencasts
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jacc

ASKER

I can´t modify the start of the program, beause it is a perl script thar start with a pecific user logon. I want to know if there is some configuration or script to start and connect the vpn with windows logon automatically.
Well, Jacc

I understand that you have configured autologon on your W2K.
I understand also that the perl script starts automatically.

What is the problem to start first the VPN login script and then the perl script?
By the way how is the perls script initiated?

NetoMeter
Avatar of jacc

ASKER

Thanks netometer, the script work, i am going to accept your answer......
just one more question...... Can I configure my cisco vpn client ver 4.0 to reconnect automatically?????
Hi!
You have to write your own vpnclient.ini file where you have to specify:
---------------------------------
AutoInitiationEnable=1
AutoInitiationRetryInterval=somenumber
---------------------------------

You can find examples for vpnclient.ini files in the Cisco Guide:
http://www.netometer.net/books/vpnclient.pdf

NetoMeter
Avatar of jacc

ASKER

Netometer, I configured de vpnclient.ini file, but the RECONNECT does not work
I can to automatic connect VPN at windows start up, but if the vpn going down, there is some manual intervention to reconnect it. How I could automatically reconnect this vpn when it disconnect...????????
thanks