Cisco Anyconnect Command Line
I was trying previously to script a login using VPNCLI using VBScript. However, I've since simplified it by creating a batch file for this. Below, you'll see in the second line that I'm passing the contents of vpncreds.txt (which contains only the username/password, one line each). However, as I scheduled this to run on a Windows Server 2012, I can't seem to get this to run while logged off.
I've created a local admin account, set the task to run using this account, and checked off the 'Run with highest privileges' option. All this to no avail. The task runs okay while I'm logged in.
Jun 30, 2011 - Yeah, looks like AnyConnect's GUI is completely ignorant of what's on the command line. I can think of a couple options: Avoid the UI.
Cisco Anyconnect Command Line Uninstall
Cisco Anyconnect Command Line Ubuntu
Sims 4 pets cheap. I confirm by checking the output file created in the fourth line of the batch file below; the 0's in the IP address is a redaction.