cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
421085
Views
85
Helpful
19
Replies

Multiple Client Profiles with AnyConnect

GRWilkerson
Level 1
Level 1

Hello,

I have the need to store more than one VPN profile on my anyconnect client.  I am a consultant and have mulitple clients using AnyConnect.  The old VPN client used pcf files.  From what I've been about to gather, an XML file can be used to simulate this same function.  I tried to work with that, but had no luck.  The preferences file gets overwritten with that last successful connection. 

Can anyone help me out with this?  Please keep in mind, from a VPN standpoint, I'm just a user. Not an admin.  Quite honestly, I'm not even sure what to ask.  I just want this AnyConnect client to display all my VPN connections like the old one.

Thanks,

Greg

19 Replies 19

This is a cumbersome hack, and it worked for me, but I'm sure there's a more elegant way to do this. I had two significantly different configurations installed on two different Windows machines, and I wanted to just be on one. I tried the suggestions above and they didn't work for me. The preferences are stored in two places:

 

C:\ProgramData\Cisco\Cisco AnyConnect Secure Mobility Client\Profile

and

C:\Users\[username]\AppData\Local\Cisco\Cisco AnyConnect Secure Mobility Client\preferences.xml

 

That second location contains the options that drive the connection interface, btw.

 

Anyway, I have multiple copies of the preferences.xml file, and I just add a suffix to the ones I'm not using. I also have multiple versions of the C:\ProgramData\Cisco\Cisco AnyConnect Secure Mobility Client folder each containing the host connection settings specific to each client. I stop AnyConnect, add a prefix to the one I'm switching from, remove the prefix from the one I'm switching to, then start AnyConnect, and everything works.

declan liddy
Level 1
Level 1

Hi I have anyconnect 4.5.01044 running on Windows 10 and I would like to be able to add multiple sites so I have them on a drop down, I have tried multiple ways I found on the internet but I still cannot get more than one profile to show up.

 

I was able to edit the profile file on earlier versions to do this but not in the newer version, any help would be appreciated

 

 

Isn't it ridiculous that this product has been out for going on a decade and they still have not provided a solution? I need to connect to one of over 30 VPNs at any given time yet there is no type of connection manager, etc. I have tried the various hacks and have yet to reach any solid success. it is 2019 and in the old days things worked with more sense and fluidity. I also use depending Windows 10 Pro or Enterprise depending on the VM that I have to run for certain customers. Not sure that would make a difference however it is still a point of reference.

Any solution for windows 10, still unable to change the server url

Thanks

 

I have found de wei
Will add dropdown at server selection - you can make as many as desired

 

Put this into your profile:

<ServerList>
        <HostEntry>
                <HostName>Alias Name 1</HostName>
                <HostAddress>server</HostAddress>
                <UserGroup>exact profile name</UserGroup>
        </HostEntry>
</ServerList>
<ServerList>
        <HostEntry>
                <HostName>Alias name 2</HostName>
                <HostAddress>server</HostAddress>
                <UserGroup>exact profile name</UserGroup>
        </HostEntry>
</ServerList>