I noticed that when I run vpncli.exe I enter the command to connect to Cisco ASA "connect asa.domainname" and then I need to select the correct group from the list of suggested groups. But if I run vpncli.exe through *.bat file, which gets from the file "login_info" only the command "connect asa.domain_name" I do not need to select the group.
When running through the *.bat file I got the required result, but I still don't understand why. Can someone explain why I do not need to select a group from the list when running the *.bat file?
bat.bat
cd C:\Program Files (x86)\Cisco\Cisco AnyConnect Secure Mobility Client\
vpncli.exe -s < login_info.txt
vpnui.exe
login.info.txt
connect asa.domainname