I don't keep all my remote services running - especially Cisco. Before RDM I manually started the Cisco service, connected to the VPN and then connected using Remote Desktop. I've got everything working except the starting and stopping of the service.
I have verified a command prompt line that will start and stop the service, and have it entered on the Events tab. However, this command line does not appear to be running before the VPN connection.
My command line: c:\windows\system32\net start CVPND
Any thoughts?
Adding a 10 second pause after the command line did not help. :)
hi
Did you set this in the VPN session or the remoting session?
Maurice
Sorry - kind of new with this tool. I only have one session. I have the Remote Desktop info on the Connection tab, the VPN info on the VPN tab and these command lines on the Events tab.
Does that answer your question at all?
Interestingly enough, when I disconnected from the client, the stop service command worked! I tried increasing the post execution pause on the 'Before Connect' command line, but the VPN is not waiting.
Right, you are already deep in the plumbing ;)
For a session, the VPN is opened before the "Before connect" event is triggered because its the most typical requirement.
To achieve what you want, you must create a VPN entry that will be used from the session you have now. You must set the net start command in that VPN entry. (and remove it from your existing entry)
After that, in the VPN tab of your current session, choose "Existing session" for the VPN type, then select your VPN entry in the drop down that appeared.
Please let us know how that works out
edited by mcote on 1/10/2014
Maurice