Customize AnyDesk with Advanced Options for Windows: Key-Value Pairs and Possibilities

Table of content

In addition to regular customization options, AnyDesk offers “Advanced” options to help users tailor their AnyDesk clients to their exact specifications.

You can override a setting (meaning there is no way to change it back within AnyDesk) or change the default setting used by AnyDesk. For security-related functions, we recommend using “Override Setting” to prevent them from being changed from the custom client’s user interface.

Below are the advanced options of AnyDesk for Windows.

Tip: Default values are in bold.

Client Features

Feature Key-Value Pair Value Possibilities
Use specific version _module=anydesk- e.g. _module=anydesk-6.0.8
Automatic alias registration ad.features.register_alias=true false, true
Automatic alias registration in custom namespace ad.anynet.register.add_to_namespace=true false, true
Elevation request at startup (UAC) ad.features.auto_uac=true false, true
Allow installation ad.features.install=true false, true
Disable VPN ad.features.vpn=false false, true
Disable Wake-on-LAN ad.features.wol=false false, true
Prevent users from deleting or overwriting the license ad.license.permissions=0 0: No permission, 1: Have permission

Back to Top

Client Settings

Setting Key-Value Pair Value Possibilities
Disable all settings ad.ui.cfg_enabled=false false, true

Back to Top

User Interface Settings

Feature Key-Value Pair Value Possibilities
Disable user interface settings ad.ui.cfg_enable_interface=false false, true
Set default language ad.ui.lang= language codes
Disable automatic language selection ad.ui.lang.auto=false false, true
Disable email invitation option ad.ui.show_invite=false false, true
Disable sending direct invitations ad.features.session_invitation.send=false false, true
Disable receiving direct invitations ad.features.session_invitation.receive=false false, true
Show AnyDesk ID instead of Alias ad.ui.alias_or_id=true false, true
Hide local taskbar when AnyDesk window is maximized ad.ui.maximize_type=true false, true
Disable close session comments ad.ui.comment_session=false false, true
AnyDesk starts in advanced view ad.roster.adv_view=true false, true
Remove “What’s New” tile in main window ad.ui.show_tile.whats_new=0 0: Disable, 1: Enable
Remove “Set password for unattended access” tile (Pre-AnyDesk 7) ad.ui.show_tile.password=0 0: Disable, 1: Enable
Remove tile about the existence of discovery feature ad.discovery.show_tile=0 0: Disable, 1: Enable
Disable Recent sessions ad.features.recent_out=0 0: Disable
Disable Favorites ad.features.favorites=0 0: Disable
Hide circular menu button on inactivity (Android only) ad.ui.auto_hide_nubsi=true false, true
Hide plugin installation dialog (Android only) ad.ui.enable.dialog.plugin.install=0 0: Disable, 1: Enable
Hide plugin update dialog (Android only) ad.ui.enable.dialog.plugin.update=0 0: Disable, 1: Enable
Hide plugin activation dialog (Android only) ad.ui.enable.dialog.plugin.activation=0 0: Disable, 1: Enable
Hide battery optimization dialog (Android only) ad.ui.enable.dialog.battery_optimization=0 0: Disable, 1: Enable
Hide overlay permission dialog (Android only) ad.ui.enable.dialog.overlay_permission=0 0: Disable, 1: Enable
Hide local scam warning dialog (Android only) ad.ui.enable.dialog.local_scam_warning=0 0: Disable, 1: Enable
Disable automatic start of tutorial (Android only) ad.ui.enable.tutorial_autostart=0 0: Disable, 1: Enable
Hide privacy policy dialog (Android only) ad.ui.enable.dialog.privacy_policy=0 0: Disable, 1: Enable

Back to Top

Security Settings

Feature Key-Value Pair Value Possibilities
Disable security settings ad.ui.cfg_enable_security=false false, true
Disable interactive access ad.security.interactive_access=2 2: disable, 1: enable when AnyDesk is open, 0: always enabled
Enable Access Control List (ACL) ad.security.acl_enabled=true false, true
Disable unattended access ad.features.unattended=false false
Prohibit saving login information of this computer from others ad.security.allow_logon_token=false false, true
Disable two-factor authentication ad.features.two_factor_auth=false false, true
Disable File Manager sessions ad.features.file_manager=false false, true
Terminate existing incoming sessions upon receiving a session request (Android only) ad.security.kickout=1 0: Disable, 1: Enable
Protect settings with device credentials or biometrics (0=disable, 2=enable) ad.security.settings_protection=2 0: Disable, 2: Enable

Unattended Access Settings (pre AnyDesk 7)

Warning:

With AnyDesk 7 and later, these key-value pairs only affect the unattended access profile, assuming one has been created within the custom client settings.

Feature Key-Value Pair Value Possibilities
Override standard permissions (only works if different permissions have been set for unattended access) ad.security.enable_uaccess_permissions=true false, true
Prohibit user connection to:
Hear sound output of my computer ad.security.uaccess.hear_audio=false false, true
Control my computer’s keyboard and mouse ad.security.uaccess.control_input=false false, true
Access my computer’s clipboard ad.security.uaccess.sync_clipbrd=false false, true
Access my computer’s clipboard for file transfer ad.security.uaccess.clipboard.files=false false, true
Lock my computer’s keyboard and mouse ad.security.uaccess.block_input=false false, true
Restart my computer ad.security.uaccess.restart=false false, true
Use file manager ad.security.uaccess.file_manager=false false, true
Lock desktop upon session end ad.security.uaccess.lock_account=false false, true
Request system info ad.security.uaccess.sysinfo=false false, true
Print my documents on their printer ad.security.uaccess.print=false false, true
Draw on my computer’s screen ad.security.uaccess.whiteboard=false false, true
Create TCP tunnels ad.security.uaccess.tcp_tunnel=false false, true
Privacy mode activated ad.security.uaccess.privacy_feature=false false, true
Show colored mouse pointer when physical input is prohibited ad.security.uaccess.user_pointer=false false, true
## Interactive Access/Acceptance Setting Window (pre AnyDesk 7)
Feature Key-Value Pair Value Possibilities
Prohibit user connection to:
Hear sound output of my computer ad.security.hear_audio=false false, true
Control my computer’s keyboard and mouse ad.security.control_input=false false, true
Access my computer’s clipboard ad.security.sync_clipbrd=false false, true
Access my computer’s clipboard for file transfer ad.security.clipboard.files=false false, true
Lock my computer’s keyboard and mouse ad.security.block_input=false false, true
Restart my computer ad.security.restart=false false, true
Use file manager ad.security.file_manager=false false, true
Request system info ad.security.sysinfo=false false, true
Print my documents on their printer ad.security.print=false false, true
Draw on my computer’s screen ad.security.whiteboard=false false, true
Create TCP tunnels ad.security.tcp_tunnel=false false, true
Privacy mode activated ad.security.privacy_feature=false false, true
Show colored mouse pointer when physical input is prohibited ad.security.user_pointer=false false, true

Permission Profiles (AnyDesk 7+)

Tip:

We offer a Permission Profile Key-Value Generator to assist customers in generating the necessary key-value pairs for their desired configuration.

Warning:

Unlike previous ad.security key-value pairs, the new key-value pairs introduced with AnyDesk 7, known as Permission Profiles, provide a higher level of customization and flexibility than ever before.

You can create up to 10 customized profiles, each with individual sets of permissions and unattended access passwords, to suit the needs of different roles.

These new key-value pairs also offer the possibility of separating permissions that are found in the acceptance window and in Settings > Security.

For example, with

ad.security.permission_profiles.profile1.permissions.audio=0

in the Override field, the audio transmission permission will always be disabled by default when profile1 is selected. However, the permission can be re-enabled through the acceptance window.

If you do not want to allow the owner of the remote controlled device to re-enable the permission through the acceptance window, you can additionally include the following key-value pair:

ad.security.permission_profiles.profile1.changeable_in_accept_window.audio=0

Feature Key-Value Pair Value Possibilities
Internal identifier of the profile for the following key-value pairs. Used in combination with the key-value pairs that appear below. <profile_id> Default Profiles:Default: _defaultFull Access: _full_accessScreen Sharing: _screen_sharing**…
Available permission list for the following key-value pairs audio, input, clipboard, clipboard_files, block_input, sas…
Remember the profile and permissions used in the previous session between the same two clients? ad.security.permission_profiles.enable_previous_session=<0,1> 0: No, 1: Yes
Create a profile with <profile_id> identifier and call it . ad.security.permission_profiles.define.<profile_id>= e.g. ad.security.permission_profiles.define.profile1=myprofile

Password and salt:

Example key-value pairs that enable unattended access for the Default profile and disable unattended access for a custom profile:

- ad.security.permission_profiles\_id.pwd= <hash> - ad.security.permission_profiles\_id.salt= <salt>

Hashes and salts can be generated via the Password Generator.

Delete profile from custom client:

- ad.security.permission_profiles.<profile\_id>.removed=1

Allow manual creation of permission profiles in Settings > Security:

- ad.security.permission_profiles.can\_create=1

Let me know if you need further assistance or have any other questions!

Back to Top

Discovery Settings

Feature Key-Value Pair Value Possibilities
Do not search for other AnyDesk clients on the local network ad.discovery.default_behavior= 1 ad.discovery.enabled=false 0, 1 false, true
Exclude this device from discovery ad.discovery.hidden=true false, true
IP address for multicast communication ad.discovery.multicast_ip=239.255.102.18 e.g. 1.1.1.1
UDP port range to use (starting with the port specified with ad.discovery.multicast_port) ad.discovery.port_range=3 e.g. 1, 2, 3

Back to Top

Automatic Disconnect Settings

Feature Key-Value Pair Value Possibilities
Disable automatic disconnect ad.security.auto_disconnect.mode=0 0: Disabled, 1: Enabled
Automatic disconnect time in seconds ad.security.auto_disconnect.timeout=60 Minimum: 60

Back to Top

Privacy Settings

Feature Key-Value Pair Value Possibilities
Disable privacy settings ad.ui.cfg_enable_privacy=false false, true
Set default user image ad.privacy.image.show=0 0: Hide, 1: Account image
Set user image ad.privacy.bkgnd.show=0 0: Screenshot, 1: Desktop wallpaper, 3: Deactivated
Path of screenshot capture ad.privacy.scrshot.path_cfg=1 1: Default, 2: Custom
Custom path of screenshot capture ad.privacy.scrshot.path= e.g. C:\Users\
Chat log path settings ad.privacy.chat.path_cfg=0 0: Disabled, 1: Default path, 2: Custom path
Custom chat log path ad.privacy.chat.path= e.g. C:\Users\
Enable alternative wallpaper mode (ASB) ad.privacy.wallpaper.mode=1 0: Disabled, 1: Color
Set ASB color ad.privacy.wallpaper.color=<RGBA Hex> default: #000000FF
Enable screen frame ad.privacy.screen_frame.mode=1 0: Disabled, 1: Enabled
Set screen frame width ad.privacy.screen_frame.width= Default: 10
Set screen frame opacity ad.privacy.screen_frame.opacity=<0-255> Default: 128
Set screen frame color ad.privacy.screen_frame.color=<RGBA Hex> Default: #FF0000FF

Back to Top

Display Settings

Feature Key-Value Pair Value Possibilities
Disable display settings ad.ui.cfg_enable_video=false false, true
Display quality ad.image.quality_preset=0 0: Best quality, 1: Balanced, 2: Optimize reaction time
Show remote cursor ad.image.show_remote_cursor=true false, true
Show move size helper ad.image.move_size_hlp=true false, true
Disable hotkey transmission ad.image.suppress_keys=false false, true
Choose display mode ad.image.viewmode=0 0: Original 1: Shrink 2: Stretch
Start new sessions in full screen mode ad.image.insta_fullscreen=true false, true
Use edge scroll in original view mode ad.image.edge_
Published at

Comments (0)