×

Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

Anyconnect 3.0 Profile drop-down list

Answered Question
May 3rd, 2012
User Badges:

Working as a consultant I find it annoying I cannot see a drop-down list in the AnyConnect client as you can with the traditional IPSEC VPN client with multiple profiles. Has anyone found out how to modify the default profile to list multiple entries?

Correct Answer by Marvin Rhoads about 5 years 2 months ago

You can build your own profiles. They are quite simple for a basic profile. Here is an example:


<?xml version="1.0" encoding="UTF-8"?>

http://schemas.xmlsoap.org/encoding/">

 

   

      ____your host name here____

      ___the host's outside IP interface address here____

      IPsec

   

 


Once built, put those individual .xml files in:


     %ProgramData%\Cisco\Cisco AnyConnect Secure Mobility Client\Profile


...for Windows 7. (Note that %ProgramData% is a hidden directory by default. You may need to modify your display options to see it.)


A full list of where they would go for other OS types is in the Anyconnect Admin Guide, Table 2-15.


All the profiles installed thus should appear in your AnyConnect client drop down list.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (3 ratings)
Loading.
Marvin Rhoads Thu, 05/03/2012 - 19:02
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,
  • Cisco Designated VIP,

    2017 Firewalling, Network Management, VPN

You will see multiple entries if the profiles (.xml files) are downloaded (from the multiple ASA-based remote access VPNs you access (or installed manually)) into your AnyConnect installation.


The ASA needs to be setup with the IPSec profile.xml file. Once multiple ones are downloaded to your computer (usually automatically by virtue of logging in) you should see the drop down list in your AnyConnect client allowing you to choose from among them.

Jacob Gibb Fri, 06/01/2012 - 16:16
User Badges:

This becomes the problem. Not all customers have customized .xml profiles with their associated groups. I'm curious if there is some other method of manually modifying my local profile file (like the vpnclient.ini in traditional ipsec vpn client) to keep a list even if I have to manually add it. I have over 35 independant entries in the original Cisco IPSEC client. It's frustrating to say the least. 

Correct Answer
Marvin Rhoads Mon, 06/04/2012 - 06:17
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,
  • Cisco Designated VIP,

    2017 Firewalling, Network Management, VPN

You can build your own profiles. They are quite simple for a basic profile. Here is an example:


<?xml version="1.0" encoding="UTF-8"?>

http://schemas.xmlsoap.org/encoding/">

 

   

      ____your host name here____

      ___the host's outside IP interface address here____

      IPsec

   

 


Once built, put those individual .xml files in:


     %ProgramData%\Cisco\Cisco AnyConnect Secure Mobility Client\Profile


...for Windows 7. (Note that %ProgramData% is a hidden directory by default. You may need to modify your display options to see it.)


A full list of where they would go for other OS types is in the Anyconnect Admin Guide, Table 2-15.


All the profiles installed thus should appear in your AnyConnect client drop down list.

Jacob Gibb Mon, 06/04/2012 - 08:51
User Badges:

That did it! Now I have multiple entries in the drop-down list of the Anyconnect client. Thanks for the help!

Marvin Rhoads Mon, 06/04/2012 - 09:17
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,
  • Cisco Designated VIP,

    2017 Firewalling, Network Management, VPN

Excellent. Glad that worked for you - it actually it helped me as well to research it - I did the same thing for a client's non-xml-profiled connection.


Note that the may need to be changed from "IPsec" to "SSL" for profiles without IPSec enabled and configured on the ASA.

cisco3878 Thu, 09/12/2013 - 11:13
User Badges:

My problem is the opposite. In testing different any connect profiles, I have a few that are no longer being used still showing up in the drop down box in my computer. How can I removed the unwanted profiles from my computer?

ron.schmidt Wed, 11/27/2013 - 17:55
User Badges:

Just delete the .XML file(s) in the Profiles folder ("%ProgramData%\Cisco\Cisco AnyConnect Secure Mobility Client\Profile" in Windows 7) that you no longer want. You will have to restart the AnyConnect client after adding or deleting profiles in order for them to show up (or not show up) in the pull-down list.


See previous posts above by Marvin Rhoads for details on what field(s) in the XML file are of interest or where to find the profile folder where the XML files are stored.

salleek Sun, 05/03/2015 - 06:52
User Badges:

Hello - I found this profile to actually work with post 8.3 versions of ASA.

 

<?xml version="1.0" encoding="UTF-8"?>
<AnyConnectProfile xmlns="http://schemas.xmlsoap.org/encoding/">;
  <ServerList>
    <HostEntry>
      <HostName>VPN2</HostName>
      <HostAddress>VPN2 ADDRESS</HostAddress>
    </HostEntry>
  </ServerList>
</AnyConnectProfile>

Actions

This Discussion

Related Content