Forum / Remote Desktop Manager - AddOns

Support for AnyDesk

  • Create an Issue
  • Cancel

Has there been any consideration for support for a new product called AnyDesk.

http://anydesk.com/remote-desktop

Clock6 yrs

Do you know if they have a command line or an API that we could use?

David Hervieux

signaturesignature

Clock6 yrs

I believe there is a command line method.

Remote-Control:
anydesk.exe -i <ID> -p <Password> FileTransfer:
anydesk.exe -i <ID> -p <Password> -f <fileTransfer>

Clock6 yrs

Thank you

David Hervieux

signaturesignature

Clock6 yrs

Hello, Coffman,

I tried the command line you provided but it doesn't work. Could you give me the source of the information you found regarding the command line?

The AnyDesk client doesn't have a help command, it seems. The only command line I found is this:

anydesk.exe <ID>

I found it in the beta changelog ( http://download.anydesk.com/changelog.txt ), as I've not found any information regarding the commandline anywhere else.

Regards,

Hubert Mireault

signaturesignature

Clock6 yrs

As an update on the subject:

I have contacted the AnyDesk team, and the only supported CLI command is anydesk.exe <ID>. They said they were working on implementing more functions in the future.

For now, we will work on an AnyDesk add-on that will use this CLI. In the future, it could be updated to have more functions, as the AnyDesk CLI evolves.

Regards

Hubert Mireault

signaturesignature

Clock6 yrs

Marc,
I just looked on the anydesk support site and they have some new command line functions see below, can you use these in RDM.
http://support.anydesk.com/knowledgebase/articles/441867-command-line-interface
Overview

AnyDesk.exe [id|alias|--control|--start-service|--with-password|--set-password|--get-alias|--get-id|--register-license][--silent]

ParameterDescription
--control
This starts the process which creates the tray icon.
During installation, AnyDesk creates a link with this parameter in the autostart start menu entry.
This process also handles the clipboard.
--start-service
Start the AnyDesk service, if not already running.
--with-password
Read the password from stdin and connect to the alias given in the command line using the password.
--set-password
Sets a password.
--get-alias
Gets the current AnyDesk alias.
--get-id
Gets the current AnyDesk ID.
--get-status
Returns the network status of AnyDesk (online or offline).
--register-licence
Registers a licence key with AnyDesk.
--silentAnyDesk will not display message boxes when this parameter is specified. Recommended for scripts.
For installation parameters, see Automatic Deployment.

Obtaining Alias and Id
To get the AnyDesk-Alias or Id of the currently installed and running AnyDesk, you can use the following syntax:

anydesk --get-alias
anydesk --get-id

AnyDesk will write the requested information to stdout. The service must be running for this to work. If the service is not running, SERVICE_NOT_RUNNING is returned, and an exit code is set indicating the error. If AnyDesk is not installed, it needs to be started first, so it can launch a local service.

For an example, see this windows batch file, which will write the current alias to the console.
@echo off

path=C:\Program Files (x86)\AnyDesk\;%path%
for /f "delims=" %%i in ('anydesk --get-alias') do set CID=%%i
echo AnyDesk alias is: %CID%
pause
Starting the AnyDesk Service
anydesk --start-service

This requires administrator privileges.
Connecting with password
This example script line connects to alias@ad with password.

echo password | anydesk alias@ad --with-password

Setting a PasswordFor security reasons, a password can not be set from the command line directly as this would enable malicious users to spy the password from the command line in Task Manager. Instead, a pipe is used to set the password.

echo password | anydesk.exe --set-password

This requires administrator privileges.

Registering Licence KeyYou can register a licence with the current AnyDesk installation using the command line. The service must be running.

echo licence_key | anydesk.exe --register-licence

Almost every scripting language has a pipe interface for stdin and stdout. See the programming language documentation for more information.

Clock4 yrs

Hello Sebastiaan,

Thank you for the information! We'll add the improvement of the AnyDesk add-on to our todo list.

Regards,

Hubert Mireault

signaturesignature

Clock4 yrs

sounds great ... without passing passwords to anydesk is it unusable for us ...

push!!

Clock4 yrs

Sorry for the wait. Version 1.1.0.0 of the AnyDesk add-on is out, and with it you can now specify a password. If you want to try it out, you can download it here: http://remotedesktopmanager.com/Home/AddOn

Regards,

Hubert Mireault

signaturesignature

Clock4 yrs

Hubert,
The new addon works for the free versio 2.1.0.0 and the enterprise version 11.1.0.0 thanks for the update

Clock4 yrs

Does the Mac OS X Version of DMF support any desk too? I can't find any option to add any desk connection.

Clock24 days

Hello,

Do you mean Remote Desktop Manager on Mac OS X? If so, this is currently not supported.
We will investigate to see if it's possible to add.

Regards,

Hubert Mireault

signaturesignature

Clock24 days

Yeah sry I Mean RDM for OSX.

Clock24 days

Hello,

We already had this request a couple of years ago and we couldn't do it because at the time AnyDesk didn't support command line on Mac.
Here is the discussion: https://forum.devolutions.net/forum/topic26767-anydesk-addon-for-mac.aspx

After some testing it seem we still have the same problem.
Unless you've been able to use command lines to manage the input and output, in which case, we would like to have more information on how you proceeded, the best course of action we can suggest is to send a request for a better support of the MacOS command lines.

Best Regards

Michel Lambert

signaturesignature

Clock18 days