Forum / Remote Desktop Manager - Support

Single session logging

  • Create an Issue
  • Cancel

Hello,
I've setup a session to open vpn from .bat file.
The script is working from windows or cmd shell, but not from inside RDM.
I would like to troubleshoot the problem but don't know where to find the log of the session.

image

Thanks in advance
Regards
Davide

Clock5 yrs

Hi,
Could you try to change the Execution Mode for "Keep Command Line Opened"?

David Hervieux

signaturesignature

Clock5 yrs

The problem is that rdm does not properly execute the batch, that contains the following command line:

C:\Windows\system32\ngdial.exe "Aventail VPN Connection" USERNAME PASSWORD -server=SERVERNAME -login=users -status=enable -icon=enable -gui

RDM return the error (sorry, my o.s. is in italian):

C:\Program Files (x86)\Devolutions\Remote Desktop Manager>C:\Windows\system32\ngdial.exe "Aventail VPN Connection" USERNAME PASSWORD -server=SERVERNAME -login=users -status=enable -icon=enable -gui

"C:\Windows\system32\ngdial.exe" non è riconosciuto come comando interno o esterno, un programma eseguibile o un file batch.

I have tried to enclose the entire string in double quotes, without luck.

If I run the script from ms-dos shell, it works.

Clock5 yrs

Could you try to use a custom VPN type instead of the batch?

CustomVPN
CustomVPN2

David Hervieux

signaturesignature

CustomVPN.png
CustomVPN2.png
Clock5 yrs

Strange !
It seems that rdm cannot find the ngdial.exe

image


even if

image

Clock5 yrs

Make sure to check the "Run in 64 bit mode"

David Hervieux

signaturesignature

Clock5 yrs

BINGO !!!!
Now is working.

thank you very much
Davide

Clock5 yrs