Question: anyconnect client agent has encountered an error?
Answer: This issue is due to Cisco bug ID CSCsm54689. In order to resolve this issue, make sure that Routing and Remote Access Service is disabled before you start AnyConnect. If this does not resolve the issue, complete these steps: Open a command prompt as an Administrator on the PC (elevated prompt on Vista).