Changing The Cisco AnyConnect Default Host Name

● Ian Grieve ●  ● 0 Comments   ● 

Microsoft Dynamics GPWe 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?

Please leave this field empty.

Your Name (required) -
Your Email (required) -
● Categories: VPN ● Tags: , ,  ● Permalink ● Shortlink ●

Leave a Reply

Your email address will not be published. Required fields are marked *