I have Cisco AnyConnect Secure Mobility client (the newest version) and am unable to use RDM with it. How do I troubleshoot things?
Could you verify the command line with this version and post it here?
David Hervieux
I'm not sure what you're asking for:
1. The path and executable used on the command line, or
2. The command issued?
Hi,
If you call Anyconnect directly from a commandline with /h or -?, what do you get?
David Hervieux
2012-04-04 16:46:16
C:\Program Files (x86)\Cisco\Cisco AnyConnect Secure Mobility Client
» .\vpncli.exe /?
Cisco AnyConnect Secure Mobility Client (version 3.0.5075) .
Copyright (c) 2004 - 2011 Cisco Systems, Inc.
All Rights Reserved.
Cisco AnyConnect Secure Mobility Client (version 3.0.5075) .
Copyright (c) 2004 - 2011 Cisco Systems, Inc.
All Rights Reserved.
usage: vpn [options] | [cmd] [host]
options:
-h print this usage statement.
-v print version.
commands: [connect|disconnect|hosts|stats]
Thank you. What problem do you exactly encounter (nothing happen, error message, ...)?
David Hervieux
A command prompt window opens, some text scrolls, and then the window disappears, and the connection doesn't succeed.
Ok, if you call the command line manually, do you received the same behavior?
David Hervieux
Yes, I can connect using the command line.
Maybe give me the most likely command line issued by RDM, so I can test that?
Hi,
It's very basic
vpncli.exe -connect [host]
David Hervieux
That's the problem then.... the new command line structure is more in line with netsh (and other) command lines (almost exactly the same as yours, just without the hyphen):
.\vpncli.exe connect [host]
Does the trick.
Thank you, I will fix this today and post you a new version here
David Hervieux
Hi,
Could you unzip it in %LocalAppData%\Devolutions\RemoteDesktopManager
David Hervieux
VPNAddOn.zip
That did the trick - it's now working as expected. Thanks for the quick turnaround!