Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ASG & Anydesk
#1
Exclamation 
Hi,
can anybody please tell me if it is possible to integrate the remote maintenance program anydesk into ASGRD? The transfer of the destination address works, but the transfer of the password does not work. The command line feature of Anydesk is as follows:

echo Testpasswd | "C: \ Program Files (x86) \ AnyDesk \ AnyDesk.exe" pcn_w10test1 @ad --with-password

https://support.anydesk.com/Command_Line...Windows.29

Thanks for your efforts
RI
Reply
#2
Hi,

are you working in database mode with active Permissions? Then you need to "allow parsing of passwords" - else you can use passwords only from your private credentials objects - it's a checkbox in Settings=>Permissions.
Regards/Gruss
Oliver
Reply
#3
Hi,
Thanks for the information. I'm working in database mode with local ASG users. The function Permissions -> "Activate user Permissions" and "Allow parsing passwords from public credentials to external apps" is active.
For "Ext Applications" I have defined Anydesk and used the variable "%ComputerName%" in the field "Arguments" This works so far but the question is, where will the variable% Password% be installed.
Or how is the correct syntax complete with username and password for the arguments field?
Thanks and Greetings,
RI
Reply
#4
How do you execute your Ext.App.? Try to use a connection with assigned credentials - right click that Connection object and choose Ext.App.=>"your configured Ext.App."- then the parameters from the connection object and the assigned creds should be passed to the Ext.App.
Regards/Gruss
Oliver
Reply
#5
Hi Oliver,
The program Anydesk is installed on my PC in the standard paths. In the ASGRD I created the program under "Ext. Applications" (Owner Public) and under Options the following entries are available:

File name: "C: \ Program Files (x86) \ AnyDesk \ AnyDesk.exe"
Working Directory: "C: \ Program Files (x86) \ AnyDesk"
Arguments "% ComputerName%"
Wait for exit: not active
Try to integrate -> Active -> Min wait time 0 / Max wait time 15.
Start as shell process: not active

The Connection Objet has the following entries:
General -> Name: Anydesk target name of the PC to be controlled
Connection -> Destination: Anydesk Destination name of the PC to be controlled
Protocol: -> Ext.App.

Ext.Application -> Connection -> Ext.App .: Anydesk (external application object).

Credentials -> General -> Private Credential Object with registered password 2x.

The whole thing, including the transfer of the password, works well with TeamViewer. But since we also have hundreds of Anydesk clients, we also need the solution for Anydesk.

The whole thing fails only at the transfer of the password variable to anydesk.exe. I just have no idea on which screw I could turn or where and in what form I could install the variable.

Thank you for your help and greetings,
RI
Reply
#6
The command line of AnyDesk do not support the argument password directly - must be given by pipe (see command line reference of AnyDesk)

I added it to the feature list - I think it should be ok if the %Password% variable will be parsed in the execution file field - the example of AnyDesk is "password | AnyDesk.exe --with-password" - we will add this and then you can try again
Regards/Gruss
Oliver
Reply
#7
Hi,
perfect,
Thx,
RI
Reply
#8
(02-05-2019, 11:28 AM)DevOma Wrote: The command line of AnyDesk do not support the argument password directly - must be given by pipe (see command line reference of AnyDesk)

I added it to the feature list - I think it should be ok if the %Password% variable will be parsed in the execution file field - the example of AnyDesk is "password | AnyDesk.exe --with-password" - we will add this and then you can try again

Hi, is Anydesk now supported?

regards

Max
Reply
#9
You can use it like it is descibred above via command line of ext.app. - just add a Ext.App. with the command line "%password% | AnyDesk.exe --with-password" - the %password% will be retrieved from credentials you can assign via a connection
Regards/Gruss
Oliver
Reply




Users browsing this thread: 1 Guest(s)