AnyDesk ID and Alias

service conf config safe show the ID, get getting hacked by ID rollout deployment
Choosing the Alias via context menu by right-clicking the ID.

ID & Alias

Each AnyDesk has a unique numerical ID to identify in the AnyDesk network. A readable Alias can be assigned to that ID. Both represent an address to the device.

Note: An Alias is structured by name and namespace: name@namespace" E.g. computer@ad. The public namespace is "@ad" referring to AnyDesk. All Users with a free license have to use this namespace. Free Users with AnyDesk portable (not installed), only have an ID. No Alias can be assigned.

The allowed characters are: numbers 0-9, letters a-z, A-Z, and symbols: minus(-), dot(.), and underscore(_). All other characters are forbidden and regarded as invalid.


Specify Alias by name and namespace. (free-users choose @ad)

Assign or Change the Alias

Free license: Users with a free-license set the alias once. The alias will be bound to the corresponding ID and cannot be altered or reassigned.

Lite / Professional / Power license with a public namespace (you@ad): Users can change a chosen alias up to three times, always depending on whether this public alias is not yet taken by any other user in the AnyDesk network. The alias can be changed but not reassigned.

Professional / Power license with an individual namespace (you@yourcompany): Users can change or reassign the alias for all clients on [my.anydesk.com] without limit.

Enterprise: With an individual or public namespace (you@yourcompany or you@ad) users can change or reassign the alias for all clients on [my.anydesk.com]. They are not limited in how often they change it or which aliases to choose, even with the public namespace, as they are working within their own private network.

For all licenses: ID and alias are stored in the configuration file serve.conf. If the configuration files get lost by any means, the ID and Alias will be lost. If the configuration file is not manually restored, this action cannot be undone. (See "Backup & Restore Settings and ID" below.)


Backup & Restore Settings and ID

Warning: If the configuration files get lost by any means, the ID and Alias will be lost. If the configuration file is not manually restored, this action cannot be undone.

Some cases require you to backup the ID. In case you have a new device to use AnyDesk with, copy the configuration files in order to use the ID on the new system. The directory of the configuration files depends on whether you have installed AnyDesk or run it portable. The ID is stored in the service.conf. Uninstallation will not touch or delete your ID or configuration files, except explicitly requested in the uninstallation menu.


To backup your identity, save the service.conf' in a secure location. This enables you to retrieve your Identity in case of data loss. To secure settings and recent session list with it, copy the entire folder:

Windows 7 and later Portable: %appdata%\AnyDesk
Installed: %programdata%\AnyDesk
Windows XP/Server 2003 Portable: %appdata%\AnyDesk
Installed: %AllUsersProfile%\AnyDesk
macOS local user: ~/.anydesk/service.conf
service (default): /etc/anydesk/service.conf
Linux local user: ~/.anydesk/service.conf
service (default): /etc/anydesk/service.conf
Note: on Windows, backup your settings and recent connections, in %appdata%\AnyDesk directory.


Cloned operating system - ISO

Note: Cloned operating systems with AnyDesk preinstalled have the same ID, which makes it impossible to connect to both of them.

Delete the service.conf on one of these systems and restart AnyDesk to get a new ID. In this way, both machines will have a unique ID. Hence both devices can be connected to. Use this technique to deploy/rollout images of your OS with AnyDesk pre-installed:

  1. Create an OS installation.
  2. Install AnyDesk.
  3. Exit AnyDesk completely.
  4. Delete the service.conf file in %programdata%\AnyDesk.
  5. Create the image for rollout/deployment.