Advanced Options

Table of Contents

Client Features Client Settings User Interface Settings Security Settings
Privacy Settings Display Settings Audio Settings Connection Settings
File Transfer Settings Recording Settings VPN Settings Wake-on-LAN Settings
Window Position and Size Disclaimer Settings Layout Settings Language Codes

 

Other than the regular customization options, AnyDesk offers “Advanced” options to help users fine-tune their AnyDesk clients to their exact specifications.

You can either override a setting (meaning there is no way to change it back within AnyDesk) or change the default setting which AnyDesk uses. For security-related features, we recommend using “Override settings” so that they cannot be changed from the user interface of the custom client.

Below are the Advanced Options for AnyDesk for Windows.

Tip: Value possibilities in bold are the default options.

Client Features

Feature Key-value Pair Value Possibilities
Use specific version
_module=anydesk-<version>
e.g. _module=anydesk-6.0.8
Automatically register Alias
ad.features.register_alias=true
false, true

Auto register Alias to custom namespace

For custom Windows MSI installers, please do not enable "Auto register Alias to namespace" in the custom client configuration.

ad.anynet.register.add_to_namespace=true
false, true
Request elevation on 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
Stop users from removing or overwriting the license
ad.license.permissions=0
0: No permission,
1: Have permission

Back to Top

Client Settings

Feature 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>
See Language Codes
Disable auto-select language
ad.ui.lang.auto=false
false, true
Disable invitation E-Mail option
ad.ui.show_invite=false
false, true
Disable the ability to send direct invitations
ad.features.session_invitation.send=false
false, true
Disable the ability to receive 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 task bar if AnyDesk window is maximized
ad.ui.maximize_type=true
false, true
Disable comment on session close
ad.ui.comment_session=false
false, true
AnyDesk starts in the advanced view
ad.roster.adv_view=true
false, true
Remove the "What's new"-tile on main window
ad.ui.show_tile.whats_new=0
0: Disable,
1: Enable
Remove the "Set password for unattended access"-tile (Pre-AnyDesk 7)
ad.ui.show_tile.password=0
0: Disable,
1: Enable
Remove the tile about the existance of the Discovery-function
ad.discovery.show_tile=0
0: Disable,
1: Enable
Hide pie menu button on inactivity (Android only)
ad.ui.auto_hide_nubsi=true
false, true

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
ad.security.acl_enabled=true
false, true
Disable unattended access
ad.features.unattended=false
false
Forbid others to save login information for this computer
ad.security.allow_logon_token=false
false, true
Disable Two-Factor-Authentication
ad.features.two_factor_auth=false
false, true
Terminate existing incoming sessions when receiving a session request (Android only)
ad.security.kickout=1
0: Disable,
1: Enable
Protect settings with device or biometric credentials (0=disable, 2=enable)
ad.security.settings_protection=2
0: Disable,
2: Enable

Unattended Access Settings (Pre-AnyDesk 7)

Warning:

With AnyDesk 7 and newer, these key-value pairs only affect the Preset Password profile assuming one has been created within the custom client configuration.

Feature Key-value pair Value possibilities
Override standard permissions (only works if different permissions for Unattended Access are set)
ad.security.enable_uaccess_permissions=true
false, true
Forbid connecting users to:
Hear my computer’s sound output
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 to transfer files
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 the file manager
ad.security.uaccess.file_manager=false
false, true
Lock desktop on session end
ad.security.uaccess.lock_account=false
false, true
Request system information
ad.security.uaccess.sysinfo=false
false, true
Print out my documents on their printer
ad.security.uaccess.print=false
false, true
Draw on computer’s screen
ad.security.uaccess.whiteboard=false
false, true
Create TCP tunnels
ad.security.uaccess.tcp_tunnel=false
false, true
Enabled privacy mode
ad.security.uaccess.privacy_feature=false
false, true
Show a colored mouse pointer when physical input is forbidden
ad.security.uaccess.user_pointer=false
false, true

Interactive Access/Accept Window Settings (Pre-AnyDesk 7)

Feature Key-value pair Value possibilities
Forbid connecting users to:
Hear my computer’s sound output
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 to transfer files
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 the file manager
ad.security.file_manager=false
false, true
Request system information
ad.security.sysinfo=false
false, true
Print out my documents on their printer
ad.security.print=false
false, true
Draw on computer’s screen
ad.security.whiteboard=false
false, true
Create TCP tunnels
ad.security.tcp_tunnel=false
false, true
Enabled privacy mode
ad.security.privacy_feature=false
false, true
Show a coloured mouse pointer when physical input is forbidden
ad.security.user_pointer=false
false, true

Permission Profiles (AnyDesk 7+)

Warning: 

Unlike the above ad.security key-value pairs, the Permission Profile key-value pairs that were introduced with AnyDesk 7 offers a higher level of customizability and flexibility then ever before.

Up to 10 custom profiles, each with individual sets of permissions and unattended access passwords can be generated to fit the needs of different roles.

These new key-value pairs also offer the ability to separate the permissions found in the Accept Window and in Settings > Security.

For example, with

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

in the Overwrite field, the transmit audio permission will always be off by default when profile1 is selected. However, the permission can still be reenabled via the Accept Window.

If you do not wish to allow the owner of the remote device being controlled to be able to reenable the permission via the Accept 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 profile identifier for the below key-value pairs.
<profile_id>
Default Profiles:

Default:
_default
Full Access: _full_access
Screen Sharing: _screen_sharing
(Migrated) Unattended Access: _unattended_access
Custom Profiles:
profile1
profile2
...
profile10
List of available permissions for the below key-value pairs.
<permission>

 

audio          

input          

clipboard      

clipboard_files

block_input    

sas (CTRL+ALT+DEL Action)         

restart        

file_manager    

lock_desk      

sysinfo        

whiteboard      

tcp_tunnel      

vpn            

user_pointer    

privacy_feature

record_session
Defines whether or not AnyDesk remembers what profile and permissions were used in the previous session between the same two clients.
ad.security.permission_profiles.enable_previous_session=<0,1>
0: No,
1: Yes
Creates a profile with the identifier <profile_id> and is named <name>.
ad.security.permission_profiles.define.<profile_id>=<name>
e.g. myprofile
(Settings) Forbid users connecting to <profile_id> to have <permission>
ad.security.permission_profiles.<profile_id>.permissions.<permission>=0
0: Disable,
1: Enable
(Accept Window) Defines whether <permission> is changeable during a session when connected to <profile_id>.
ad.security.permission_profiles.<profile_id>.changeable_in_accept_window.<permission>=0
0: Disable,
1: Enable
Defines if the user can switch to a different profile while <profile_id> is in use.
ad.security.permission_profiles.<profile_id>.can_switch_profile=0
0: No,
1: Yes

Defines whether the <profile_id> profile can be seen in the Accept Window.

This is generally for UA-only Profiles.

ad.security.permission_profiles.<profile_id>.show_in_accept_window=0
0: No,
1: Yes
Defines an unattended access password for <profile_id>
ad.security.permission_profiles.<profile_id>.pwd=<0, hash>
ad.security.permission_profiles.<profile_id>.salt=<salt>
0: Disabled,
<hash> and <salt>: Enabled

<hash> and <salt> can be generated via the Password Generator.

Remove <profile_id> from the custom client
ad.security.permission_profiles.<profile_id>.removed=1
 
Allow me to manually create Permission Profiles in Settings > Security
ad.security.permission_profiles.can_create=1
0: No,
1: Yes
(Settings) Defines what permissions are available across all profiles.
ad.security.permission_profiles.permissions.<permission> = <0,1>
0: Disable,
1: Enable
(Accept Window) Defines what permissions are changeable during a session across all profiles.
ad.security.permission_profiles.changeable_in_accept_window.<permission> = <0,1>
0: Disable,
1: Enable
Defines whether profiles can be changed once they have been selected.
ad.security.permission_profiles.can_switch_profile = <0,1>
0: No,
1: Yes
Defines whether profiles are shown in the Accept Window.
ad.security.permission_profiles.show_in_accept_window = <0,1>
0: No,
1: Yes

Discovery Settings

Feature Key-value pair Value possibilities
Do not search local network for other AnyDesk clients
ad.discovery.default_behavior=0
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
Port number for multicast communication
ad.discovery.multicast_port=50001
e.g. 12345
Number of UDP ports to use (starting from the port specified with ad.discovery.multicast_port)
ad.discovery.port_range=3
e.g. 1, 2, 3

Auto-Disconnect Settings

Feature Key-value pair Value possibilities
Disable Auto-Disconnect
ad.security.auto_disconnect.mode=0
0: Disabled,
1: Enabled
Auto-Disconnect-Timeout 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 the username type
ad.privacy.name.show=1
1: Account username,
2: Custom
Custom username
ad.privacy.name=<text>
e.g. user1
Set user image
ad.privacy.image.show=0
0: Hide,
1: Account image
Desk Preview Options
ad.privacy.bkgnd.show=0
0: Screenshot,
1: Desktop wallpaper,
3: Deactivated
Screenshot Path
ad.privacy.scrshot.path_cfg=1
1: Default,
2: Custom
Set the custom screenshot path
ad.privacy.scrshot.path=<path>
e.g. C:\Users\
Chat Log Path
ad.privacy.chat.path_cfg=0
0: Disabled,
1: Default path,
2: Custom path
Set custom log path
ad.privacy.chat.path=<path>
e.g. C:\Users\
Enable Alternative Screen Background (ASB)
ad.privacy.wallpaper.mode=1
0: Disabled, 
1: Color
Set color of ASB
ad.privacy.wallpaper.color=<RGBA Hex>
default: #000000FF
Enable Screen Frame
ad.privacy.screen_frame.mode=1
0: Disabled,
1: Enabled
Set width of Screen Frame
ad.privacy.screen_frame.width=<number>
Default: 10
Set opacity of Screen Frame
ad.privacy.screen_frame.opacity=<0-255>
Default: 128
Set color of Screen Frame
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 hotkeys transmission
ad.image.suppress_keys=false
false, true
Choose view mode
ad.image.viewmode=0
0: Original
1: Shrink
2: Stretch
Start new sessions in fullscreen mode
ad.image.insta_fullscreen=true
false, true
Use edge scrolling in original view mode
ad.image.edge_scroll=true
false, true
Choose render mode
ad.image.rendermode=0
0: Disable,
1: DirectDraw,
2: Direct3D,
3: OpenGL
Do not save settings between session connections
ad.session.remember_settings=false
false, true

Back to Top

Audio Settings

Feature Key-value pair Value possibilities
Disable Audio settings
ad.ui.cfg_enable_audio=false
false, true
Audio transmission mode
ad.audio.transmit_mode=0
0: Disable,
1: Standard,
2: Transmit audio output,
3: Specify
Audio output mode
ad.audio.playback_mode=0
0: Disable,
1: Standard,
3: Specify
Exclusive audio playback
ad.audio.exclusive=true
false, true

Back to Top

Connection Settings

Feature Key-value pair Value possibilities
Disable Connection settings
ad.ui.cfg_enable_connection=false
false, true
Disable direct connections
ad.anynet.direct=false
false, true
Set the listening port
ad.anynet.listen_port=<port number>
Default: 7070

HTTP-Proxy Settings

Caution: Proxy key-value pairs set in the 'Overwrite settings' currently do not disable the respective settings. The user can still change it via the user interface if they have access to the Connection tab in Settings.

Feature Key-value pair Value possibilities
Force use proxy
ad.anynet.proxy.mandatory=true
false, true
Proxy mode
ad.anynet.proxy.mode=<0, 1, 2>
0: Never use a proxy server,
1: Try to detect,
2: Use a specific proxy server
Proxy type
ad.anynet.proxy.type=<0, 1>
0: HTTP,
1: SOCKS
Ask for proxy authentication credentials
ad.anynet.proxy.auth=true
false, true
Automatically detect proxy authentication credentials
ad.anynet.proxy.auto_auth=true
false, true
Use NTLM-authentication
ad.anynet.proxy.mandatory=true
ad.anynet.proxy.auth=false
ad.anynet.proxy.auto_auth=true
 

Back to Top

File Transfer Settings

Feature Key-value pair Value possibilities
Disable File Transfer settings
ad.ui.cfg_enable_filetransfer=false
false, true

Back to Top

Recording Settings

Feature Key-value pair Value possibilities
Disable Recording settings
ad.ui.cfg_enable_recording=false
false, true
Start session recording when a session starts
(For non-Windows clients and Windows clients older than AnyDesk 6.1.0)
ad.recording.auto_start=true
false, true
Start session recording when an incoming session starts while in logged out
(AnyDesk for Windows 6.1.0 and newer only)
ad.recording.auto_start.incoming.admin=1
0: False,
1: True
Start session recording when an incoming session starts while logged in
(AnyDesk for Windows 6.1.0 and newer only)
ad.recording.auto_start.incoming=1
0: False,
1: True
Start session recording when an outgoing session starts
(AnyDesk for Windows 6.1.0 and newer only)
ad.recording.auto_start.outgoing=1
0: False,
1: True
Forbid session recording from remote
ad.security.record_session=false
false, true
Set custom recording path
ad.recording.path_cfg=2
ad.recording.path=<path>
1: Default path,

2: Custom path

Back to Top

VPN Settings

Feature Key-value pair Value possibilities
Disable VPN settings
ad.ui.cfg_enable_vpn=false
false, true

Back to Top

Wake-on-LAN Settings

Feature Key-value pair Value possibilities
Disable Wake-on-LAN settings
ad.ui.cfg_enable_wol=false
false, true

Back to Top

Window Position and Size (Pre-AnyDesk 6)

Feature Key-value pair Value possibilities
Start AnyDesk with maximized window
ad.ui.main_win.max=true
false, true
Set horizontal position of left window border on screen
ad.ui.main_win.x=<pixels>
e.g. 100
Set vertical position of top window border on screen
ad.ui.main_win.y=<pixels>
e.g. 100
Set window width in pixels (min:900)
ad.ui.main_win.width=<pixels>
e.g. 1000
Set window height in pixels (min:720)
ad.ui.main_win.height=<pixels>
e.g. 1000

Back to Top

Disclaimer Settings

Feature Key-value pair Value possibilities
Edit disclaimer title
ad.ui.disclaimer.title=<text>

 

Edit disclaimer text
ad.ui.disclaimer.text=<text>

 

Edit accept button of the disclaimer
ad.ui.disclaimer.accept=<text>

 

Edit cancel button of the disclaimer
ad.ui.disclaimer.cancel=<text>
 
Set color for the disclaimer title & text
ad.ui.disclaimer.text.color=<HTML color code>
e.g. #FFFFFF
Set color for the disclaimer background
ad.ui.disclaimer.bg.color=<HTML color code>
e.g. #FFFFFF

Back to Top

Layout Settings (Pre-AnyDesk 6)

Feature Key-value pair Value possibilities
Change name for “This Desk”
ad.ui.id_group.title=<text>
 
Replace the information under “This Desk”
ad.ui.id_group.text=<text>
 
Change name for “Remote Desk”
ad.ui.connect_group.title=<text>
 
Replace the information under “Remote Desk”
ad.ui.connect_group.text=<text>
 

Back to Top

Language Codes

Language ISO Code
Bulgarian bg
Croatian hr
Czech cz
Danish da
Dutch nl
English en
Estonian et
Finnish di
French fr
German de
Greek el
Hungarian hu
Italian it
Japanese ja
Korean ko
Norwegian no
Polish pl
Portuguese pt
Portuguese (Brazil) pt-br
Romanian ro
Russian ru
Simplified Chinese zh
Slovak sk
Spanish es
Swedish sv
Traditional Chinese zh-cl
Turkish tr
Ukrainian uk

Back to Top