I have 2 VPN and sometimes I should switch them very often. I decided to create .bat file which could connect to desired VPN with credentials set in this file.
Cisco Anyconnect Drop Down List
So I create .bat file with following code:
Where 1.txt contains credentials of VPN #1 which has trusted cerficate.
here's what 1.txt contains:
Where 1 goes for GROUP with number 1.
The second VPN is untrusted and I have this prompt awaring me what VPN is untrusted. I used similar code for .bat file:
And following data in 2.txt:
I have a Windows 10 Host and Windows 10 Hyper-V VM so that i can connect to customer VPN's without killing my connectivity. I find that i get this message if i use 'Enhanced Session', so i turn that off, connect and turn it back on again and it works fine. – Ben McLean Jun 3 '16 at 0:50. Cisco Anyconnect Vpn Client For Window 7 free download - Cisco VPN Client, Cisco Legacy AnyConnect, VPN Gate Client Plug-in with SoftEther VPN Client, and many more programs. Disabling Antivirus. First things first. Since most of the times, the issue is being caused by antivirus. I have a Windows 10 Host and Windows 10 Hyper-V VM so that i can connect to customer VPN's without killing my connectivity. I find that i get this message if i use 'Enhanced Session', so i turn that off, connect and turn it back on again and it works fine. – Ben McLean Jun 3 '16 at 0:50. Ready Reference 102214 Installing and Running Cisco AnyConnect Secure Mobility Client on Windows 7 Introduction This page provides instructions for how to install and connect to the Cisco AnyConnect VPN Client for Windows 7 operating system; including both 32 and 64-bit versions. The Cisco AnyConnect VPN client is a web-based VPN client that does not require user.
('y' goes for accepting untrusted server)
But now it says 'Login failed' after entering password is prompted and then it appears in loop and never stops.
Install Cisco Anyconnect
The question is: how should I modify my 2.txt file to make script connect to VPN #2?