We use Cisco AnyConnect at internally at work and for a number of clients. I use the internal VPN a lot more often than connecting to the clients who also use AnyConnect.
Unfortunately, the work VPN is the one which AnyConnect does not remember. There may be a way to have AnyConnect remember more than one, but for now I’d settle for being able to change the Default Host Name.
Well, fortunately, there is a preferences.xml file which can be amended. The file can be found in the following location (replace the highlighted section with your username):
C:\Users\{username}\appdata\local\cisco\Cisco AnyConnect Secure Mobility Client
Find the following line and you can replace thie highlighted section with the address you want to have as the default:
<DefaultHostName>{hostname}</DefaultHostName>
What should we write about next?
If there is a topic which fits the typical ones of this site, which you would like to see me write about, please use the form, below, to submit your idea.
Working solution which was easy to follow, thanks!
I am able to save the adjusted setting, but after a restart the old settings is back again. Is there another option to use if this one is not working?
I don’t think I’ve seen that before.
Do you have Cisco running when you made the change? If so, it might be worth shutting it down and then making the change.