Master AnyDesk on Windows with Command-Line Interface: Installation, Client, and Connection Commands

Table of content

Command-Line Interface for Windows

Table of Contents

Installation Commands Client Commands
Permission Profile Commands Connection Commands

Do you want to streamline your interaction with AnyDesk on Windows through the command line or script? These commands are invaluable for automating various aspects of AnyDesk. For example, you can easily customize the installation location or update settings.

By default, standard AnyDesk clients can be downloaded from anydesk.com and installed at:

C:\Program Files (x86)\AnyDesk\AnyDesk.exe

For custom clients created through my.anydesk.com, they will be found at:

C:\Program Files (x86)\AnyDesk-\AnyDesk-.exe

The prefix can be identified in the Clients Details page of an existing custom client configuration in the Files tab of my.anydesk.com.

Installation Commands

These commands come in handy when installing or updating AnyDesk via the command-line interface:

  • anydesk.exe --install <location> <additional_parameters> to install AnyDesk to a specific location.
  • anydesk.msi (optional: INSTALL="<location>") for installing AnyDesk MSI packages.

Client Commands

These commands allow seamless interaction with the AnyDesk client through the command line:

  • anydesk.exe <parameter> to access various client command parameters.
  • echo <license\_key> \| anydesk.exe --register-license for registering a specific license key.
  • echo <my\_password> \| anydesk.exe --set-password to set the password for unattended access.

Permission Profile Commands (AnyDesk 7+)

The latest AnyDesk version introduces versatile permission profile commands:

  • anydesk.exe --add-profile <name> +<permission> +<permission> ... to create a permission profile.
  • echo <password> \| anydesk.exe --add-profile <name> +<permission> +<permission> ... for creating a password-protected permission profile.
  • echo <password> \| anydesk.exe --set-password <profile> to set the unattended access password for an existing profile.

Connection Commands

You can establish connections seamlessly through the command-line interface:

  • anydesk.exe <ID/Alias> <additional parameters> to request a connection to a specific client.
  • echo <password> \| anydesk.exe <ID/Alias> --with-password for sending a connection request to the specified client with a password.

You can enhance your connection with optional parameters such as file transfer, fullscreen, and plain window mode.

These commands provide a quick and efficient way to manage and customize your AnyDesk experience through the Windows command line interface. For detailed commands and additional features, refer to the Table of Contents.

Published at

Leave a comment

Your email address will not be published

No comments yet!