See also: Command Line Interface
Service- and Customer Client
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.
|Customer Module||[CM-MSI Installation]|
|Service Module||[SM-MSI Installation]|
|Customer Module||[CM-EXE Installation]|
|Service Module||[SM-EXE Installation]|
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
<location>must be a full qualified path (e.g.
"C:\Program Files (x86)\AnyDesk").
--start-with-winis to start AnyDesk with Windows, which is necessary for remote restart, etc.
Additional command parameters (after
||Perform an update or replace the existing installation|
||Create start menu entry|
||Create a link on the desktop for AnyDesk|
||Do not start AnyDesk after installation and do not display error message boxes.|
||Update AnyDesk manually.|
||Disable automatic update of AnyDesk.|
||Update AnyDesk automatically (default).|
See also: Exit Codes.
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
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:
start /wait anydesk --install "c:\anydesk" --start-with-win --silent --create-shortcuts --create-desktop-icon
echo licence_keyABC | anydesk.exe --register-licence
echo password123 | anydesk.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.
To remove AnyDesk:
Uninstalling without Notice (Silent Uninstall)
anydesk.exe --remove (This will still display error messages while uninstalling, if you don't want those to appear either, use "--silent --remove".)