Anydesk Command



Anydesk Command

See also: Command Line Interface

Service- and Customer Client

AnyDesk ensures secure and reliable remote desktop connections for IT professionals and on-the-go individuals alike. Start your 14 day trial today. Work from Home Learn more. 300+ million downloads worldwide. 400+ million sessions per month. Command line - Launch Anydesk from dedicated CLI to get GUI access to a system - Ask Ubuntu Launch Anydesk from dedicated CLI to get GUI access to a system 1 I am using Anydesk to remotely access my workstation. Thanks for contributing an answer to Unix & Linux Stack Exchange! Please be sure to answer the question.Provide details and share your research! Asking for help, clarification, or responding to other answers. To invoke a command, hold the keys ctrl+alt+shift at the same time and then press one of the following keys: For example, to log on to a remote machine you can simply press ctrl+alt+shift+del. The command line provides a tool to automate AnyDesk using scripts. For some cases AnyDesk uses the pipe mechanism of the operating system instead of parameters for higher security. Note: The Command Lines work on Windows and partially on Linux.

Preconfigured Modules for Customers (only incoming sessions) and Service/Support (only outgoing sessions).
Users with a professional/enterprise license, can also use them, but can create own Custom Clients.

Module Type
Customer Module[CM-MSI Installation]
Service Module[SM-MSI Installation]
Customer Module[CM-EXE Installation]
Service Module[SM-EXE Installation]

Deploying AnyDesk

AnyDesk provides an [MSI Installation] version for Windows.You can also generate custom MSI files at my.anydesk.com.To automatically deploy AnyDesk with MSI file, please use the command line:

anydesk.msi

Note: The installation via command line must run as admin.

It is also possible to use the exe file for automatic deployment. AnyDesk can be instructed to install itself from script:

anydesk.exe --install <location> --start-with-win

Note:
  • <location> must be a full qualified path (e.g. 'C:Program Files (x86)AnyDesk').
  • --start-with-win is to start AnyDesk with Windows, which is necessary for remote restart, etc.

Anydesk Command Line Install

Additional command parameters (after --install --start-with-win):

ParameterDescription
--remove-firstPerform an update or replace the existing installation
--create-shortcutsCreate start menu entry
--create-desktop-iconCreate a link on the desktop for AnyDesk
--silentDo not start AnyDesk after installation and do not display error message boxes.
--update-manuallyUpdate AnyDesk manually.
--update-disabledDisable automatic update of AnyDesk.
--update-autoUpdate AnyDesk automatically (default).

See also: Exit Codes.

Anydesk CommandAnydesk command not found

Automatically Setting a Password after Installation

For 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. For example, to set a password for an already installed AnyDesk, use this syntax in a batch file:

echo my_password123 | anydesk.exe --set-password

Example

To install AnyDesk, set a password and register a license key from a batch file at the same time, you could use the following code:

@echo off

AnyDesk.exe --install 'C:InstallAnyDeskHere' --start-with-win --silent --create-shortcuts --create-desktop-icon

echo licence_keyABC | 'C:InstallAnyDeskHereAnyDesk.exe' --register-license

echo password123 | 'C:InstallAnyDeskHereAnyDesk.exe' --set-password

This will install AnyDesk and wait for the installation to finish, then it will set a password in the newly installed AnyDesk.

Removing AnyDesk

To open the uninstallation panel of AnyDesk:anydesk.exe --uninstall

Uninstalling without Notice (Silent Uninstall)

Anydesk Command

anydesk.exe --remove (This will still display error messages while uninstalling, if you don't want those to appear either, use '--silent --remove'.)