Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 
Community Member

Cisco AnyConnect Secured Mobility Client not saving the VPN url after disconnecting from session/restarting client

Hello there.

I am having a problem with Cisco AnyConnect version 3.1.04072. When one of my colleagues disconnects from the VPN session, closes out the program, and then later on, reopens the client, the address that he manually entered did not save and it's defaulting on the two now-defunct VPN servers listed.


Here's an example to see if it makes more sense:

-User opens Cisco AnyConnect. By default, there are two selections available on the pulldown:


These two VPN servers are now defunct and we use a new VPN server:

The user has to manually type it in. He is now able to connect. However, when disconnected. Regardless if the program is closed or not, it does not save the new VPN server address, rather goes back to the default two VPN servers listed.

I've checked XML, HTML, registry keys, sys files, dll files to see if I can change the default servers manually. No sign of it.

I'm hoping that someone out there knows a solution to fix it.

Thanks in advance!

Cisco Employee

Hi Vergel , You can create

Hi Vergel ,


You can create Anyconnect client profile on ASA. In this profile , you can define the hostname/IP that you wish to connect , along with hostname/IP that should be displayed on the client.

In the client profile , you can define these parameters - "HostName" and "HostAddress" as "" so that any user , who tries to connects , will see "" as the name displayed in the anyconnect connect field.

On the client, the xml profile (C:\ProgramData\Cisco\Cisco AnyConnect Secure Mobility Client\Profile) [Win 7] can be seen using those parameters as follows:-



Additionally, you can try to delete preferences.xml file to remove the redundant hostnames from the anyconnect connect filed.
Path for preferences.xml is C:\Users\Cisco\AppData\Local\Cisco\Cisco AnyConnect Secure Mobility Client (Win 7),

Hope this helps.

Dinesh Moudgil

P.S. Please rate helpful posts.


Community Member

I can only get

I can only get DefaultHostName to work. But then you can not add multiple names in the drop down

Community Member

How can I do this if I dont

How can I do this if I dont have access to the ASAs I support a lot of companies so I dont have access to all but it would be nice to have the ability to save the profiles like on the old Cisco VPN client.

Community Member

Thank you Dinesh! 

Thank you Dinesh! 

CreatePlease to create content