Cisco AnyConnect: Store Multiple VPN Connections

Cisco AnyConnect is one of the most common clients for connecting your machine to the virtual private network (VPN) of your university or company. However, over the GUI you cannot setup multiple VPN connections at same time. When changing from one VPN server to another one, which happens quite a lot in case (thanks to publications hidden behind paywalls), you always need to enter the connection settings again and again.

But you can directly save VPN profile settings on the file system. The settings are stored as XML files in the following directories:


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



To add your own VPN connection, create a profile file, for example work-vpn.xml, and restart the Cisco AnyConnect client:

<?xml version="1.0" encoding="UTF-8"?>
<AnyConnectProfile xmlns="">
      <HostName>Name of my VPN connection</HostName>

That’s it! Sadly, there seems to be no way to save your password.