Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cisco VPN Command Line Connection Prompt

Status
Not open for further replies.

MariusX1

Programmer
Dec 9, 2003
10
US
I'm trying to automate a number of VPN connections so that I can launch them through batch files and have them connect automatically. The batch file line that does the call looks like this (where 13607 is the profile name):

C:\PROGRA~1\CISCOS~1\VPNCLI~1\vpnclient connect sd 13607

It connects and gets through all of the logins just fine. After connecting, it asks,

"Do you wish to continue? (y/n):".

I cannot figure out how to answer yes to this question so that the automated processing will continue. Certainly someone has dealt with this issue before. Is there an argument I can pass in the batchfile? Any ideas? Thank you!

Doug
 
Anyone have any ideas on this?

My current solution is to use Winbatch to do the necessary steps, but I'd rather not use outside programs unless I absolutely have to. Thanks!

Doug
 
Thanks for the suggestion, but it didn't seem to work. I put some auto-initiation settings into my vpnclient.ini file, but it didn't seem to help.

The issue is that I need to connect to 50+ connections one at a time through an automated Access DB I've created. I'm looking for some sort of setting that just turns this banner off. I've got to believe that it exists!

I noticed an internal.ini file in the VPN directory which seems to pertain to the banner, but I can't find any documentation on that.

Doug
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top