04-19-2011 08:40 AM - edited 02-21-2020 05:17 PM
I want anyconnect to startup automatically on boot, and have an established connection without user interaction.I was able to use a piece of software called AutoIt to put in the username and password. However accepting the certificate requires GUI interaction which Windows services does not support. Is there a way to remember that this certificate is allowed? Or another way to get around it? I'm also open to other options to running the client at boot.
04-27-2011 04:59 AM
Still havent got this working. Suggestions?
04-28-2011 06:13 AM
What is your OS version?
04-28-2011 06:47 AM
Testing it on Windows Server 2008 standard 32bit. But it needs to work on various 2008 and 2003 versions.
04-28-2011 06:55 AM
You should be able to use Service Control (sc.exe)
http://support.microsoft.com/kb/251192/en-us?p=1
Please rate helpful posts.
04-28-2011 07:36 AM
No it doesnt work as the user and password cannot be specified as command line options. They need to be entered after running the program.
04-28-2011 07:39 AM
Okay. I'm going to have to do some research on that. I haven't deployed AnyConnect in this way in my experiences.
04-28-2011 08:50 AM
I have gotten the certificate permanently accepted by the server so the gui doesnt pop up. However getting the autoit script to run as a service for this is still tricky.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide