Index » Immidio Resource Kit » Problem with reconnact Messages in this topic - RSS
5/6/2009 6:11:28 PM
socket
Posts 3
Hi folks,

I have just downloaded the resource kit and having trouble getting the reconnact command to work:

any time i start the reconnact command within a script (either cmd oder bat) it never ends running the command and the script hangs. Even when i call the script from commandline i cant "strg+c" or terminate it by any means but closing the dos box.

I checked all known (at least to me) error source like filetype coding (msdos mode) or path mismatches (using hyphens).

any idea what could be wrong? the System i am running the script on is a virtual windows xp sp3.

best regards

Phillip
5/6/2009 7:04:38 PM
Arnout Grootveld — Immidio
Posts 269
Phillip,

If you want to run ReconnAct from a batch file, be sure to use the "start" command.

So, your logon script (or whichever batch file you would like to use) should contain a line like

start ReconnAct.exe ... switches go here ...

--
Arnout.
edited by immidio admin on 5/6/2009
5/7/2009 1:43:18 PM
socket
Posts 3
Thanks Arnout for that high speed reply :)

I put the "start" in front of the reconnact command and now i am a little step further. This is the line in my script:

start "ReConnAct" /B "c:\Programme\Immidio\Resource Kit\ReconnAct.exe" -a -h -d "taskkill /F /IM openvpn.exe" -r "c:\programme\openvpn\bin\openvpn-gui-1.0.3.exe --connect xxx_vpn"

But when i disconnect and reconnect to the rdp session i receive these error messages:

pic1
pic2
edited by socket on 5/7/2009
5/7/2009 4:36:41 PM
Arnout Grootveld — Immidio
Posts 269
Phillip,

I don't see anything obviously wrong with the command line, but your pictures at twitpic.com are invisible to me...

--
Arnout.
5/7/2009 4:46:37 PM
socket
Posts 3
updated my last post. please try the links instead.

regards
5/7/2009 5:00:09 PM
Arnout Grootveld — Immidio
Posts 269
Come to think of it, the current version of ReconnAct does not allow specifying arguments to the commands it runs. You would have to create two batch files (disconnect.cmd and reconnect.cmd, for instance), containing the taskkill and openvpn commands with their respective arguments.

Apologies for the inconvenience (I'll see if we can fix this in a future version) and for the fact that I didn't realize this in the first place...

--
Arnout.
pages: 1
|

Index » Immidio Resource Kit » Problem with reconnact