Persistent VPN Profiles in AnyConnect

If you are like me that connects to a multitude of customer’s networks using AnyConnect, you know the headache of the Client not remembering the connections you normally connect to. Here is how to fix that.

You will need to create an XML file. Don’t worry it is not so bad….. Add as many connection as you would like. NOTE that the <HostName> is not the actual host name but rather a NAME for the connection.

<?xml version=”1.0″ encoding=”UTF-8″?>
<AnyConnectProfile xmlns=””>
<HostName>Domain A VPN</HostName>
<HostName>Domain B VPN</HostName>

After creating this file, save it to the AnyConnect Profile directory. Below is the list of paths for the AnyConnect profile directories.

Windows 8-10
%ProgramData%\Cisco\Cisco AnyConnect Secure Mobility Client\Profile

Mac OS X/ macOS Sierra


Restart AnyConnect and you are off to the races.

Note: This works for AnyConnect 3 and 4.


Leave a Reply

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