Solved

automatically connect cisco VPN client on Win2000 startup

Posted on 2004-09-23
8
2,712 Views
Last Modified: 2013-11-16
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
0
Comment
Question by:jacc
[X]
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
  • 4
  • 3
8 Comments
 
LVL 79

Expert Comment

by:lrmoore
ID: 12137761
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

0
 

Author Comment

by:jacc
ID: 12138305
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
0
 
LVL 11

Accepted Solution

by:
NetoMeter Screencasts earned 250 total points
ID: 12138530
Hi!

Here is a sample script which I use to connect automatically to my PC at work:

-------------------------------------
c:
cd C:\Program Files\Cisco Systems\VPN Client
vpnclient connect YourConnection
cd C:\Program Files\Terminal Services Client
MSTSC.EXE
exit
------------------------

You can modify it to start your program after establishing the VPN connection.

NetoMeter
0
Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

 

Author Comment

by:jacc
ID: 12147789
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.
0
 
LVL 11

Expert Comment

by:NetoMeter Screencasts
ID: 12148563
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
0
 

Author Comment

by:jacc
ID: 12177522
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?????
0
 
LVL 11

Expert Comment

by:NetoMeter Screencasts
ID: 12179776
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
0
 

Author Comment

by:jacc
ID: 12302971
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
0

Featured Post

Create the perfect environment for any meeting

You might have a modern environment with all sorts of high-tech equipment, but what makes it worthwhile is how you seamlessly bring together the presentation with audio, video and lighting. The ATEN Control System provides integrated control and system automation.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
help Skype for Business keeps dropping 7 42
Home firewall recommendations 11 94
Exchange 2010 Edge subscription question 1 28
HP Storage and Cisco Nexus 4 13
This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
Let’s list some of the technologies that enable smooth teleworking. 
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

696 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