Custom client advanced options·续

Discovery settings

These key-value pairs control how the Discovery feature behaves in AnyDesk, including network visibility, multicast communication, and participation settings.

Configuration options

Feature Key-value pair Value possibilities
Disable the Discovery feature entirely plaintext ad.features.discovery=false false, true
Disable scanning the local network for other clients plaintext ad.discovery.default_behavior=0 plaintext ad.discovery.enabled=false 0: Disabled 1: Enabled false, true
Exclude this device from being discoverable plaintext ad.discovery.hidden=false false, true
Set the IP address used for multicast communication plaintext ad.discovery.multicast_ip=<ip> e.g. 239.255.102.18
Set the port used for multicast communication plaintext ad.discovery.multicast_port=<port> e.g. 50001
Define the number of UDP ports to use, starting from ad.discovery.multicast_port plaintext ad.discovery.port_range=<number> e.g. 1, 2, 3

Auto-disconnect settings

These key-value pairs control the automatic disconnection behavior for inactive remote sessions in AnyDesk.

Feature Key-value pair Value possibilities
Enable auto-disconnect plaintext ad.security.auto_disconnect.mode=1 0: Disabled 1: Enabled
Set timeout duration before auto-disconnect (in seconds) plaintext ad.security.auto_disconnect.timeout=<number> Minimum: 60

Privacy settings

These key‑value pairs control display and privacy features in AnyDesk, including visible identity, background previews, chat logs, and screen framing.

Feature Key‑value pair Value possibilities
Disable privacy settings plaintext ad.ui.cfg_enable_privacy=false false, true
Set custom displayed username plaintext ad.privacy.name.show=1 1: Account username 2: Custom username
Enter custom username (when using custom type) plaintext ad.privacy.name=<string> Example: user1
Hide displayed user image plaintext ad.privacy.image.show=0 0: Hide image 1: Show account image
Hide background in desk preview plaintext ad.privacy.bkgnd.show=3 0: Screenshot 1: Wallpaper 3: Disabled
Choose custom screenshot path plaintext ad.privacy.scrshot.path_cfg=2 1: Default 2: Custom
Set a custom screenshot path plaintext ad.privacy.scrshot.path=<path> Absolute paths only. Example: C:\Users\<username>...
Set chat log storage location plaintext ad.privacy.chat.path_cfg=2 0: Disabled 1: Default path 2: Custom path
Set a custom chat log path plaintext ad.privacy.chat.path=<path> Example: C:\Users\<username>...
Enable alternative screen background (ASB) color No longer available with AnyDesk 9 and newer plaintext ad.privacy.wallpaper.mode=1 0: Disabled 1: Color
Set ASB color No longer available with AnyDesk 9 and newer plaintext ad.privacy.wallpaper.color=<RGB_HEX> Default: #000000FF
Enable screen frame overlay plaintext ad.privacy.screen_frame.mode=1 0: Disabled 1: Enabled
Set screen frame width (pixels) plaintext ad.privacy.screen_frame.width=<number> Range: 5–20 Default: 10
Set screen frame opacity (alpha) plaintext ad.privacy.screen_frame.opacity=<number> Range: 51–255 Default: 128
Set screen frame color (RGBA hex) plaintext ad.privacy.screen_frame.color=<RGBA_HEX> Default: #FF0000FF

Display settings

These key-value pairs control how visual elements are rendered in AnyDesk, including video quality, cursor visibility, screen mode, rendering methods, and session behavior.

Feature Key‑value pair Value possibilities
Disable display settings plaintext ad.ui.cfg_enable_video=false false, true
Set display quality preference plaintext ad.image.quality_preset=<value> 0: Best quality 1: Balanced 2: Optimize response time
Choose remote cursor behavior plaintext ad.image.show_remote_cursor_option=<value> 0: Hide cursor 1: Show cursor always 2: Show cursor only on movement
Show move/resize helper overlay plaintext ad.image.move_size_hlp=true false, true
Prevent hotkey transmission to the remote device plaintext ad.image.suppress_keys=true false, true
Choose view mode scaling plaintext ad.image.viewmode=<value> 0: Original size 1: Shrink 2: Stretch
Start new sessions in fullscreen plaintext ad.image.insta_fullscreen=true false, true
Enable edge scrolling in original view mode plaintext ad.image.edge_scroll=true false, true
Select full-screen mode behavior plaintext ad.image.fullscreen_mode=<value> 0: Exclusive 1: Windowed
Choose rendering method plaintext ad.image.rendermode=<value> 0: Disabled 1: DirectDraw 2: Direct3D 3:OpenGL
Disable saving display settings between sessions plaintext ad.session.remember_settings=false false, true

Audio settings

Use the following key-value pairs to configure audio behavior for AnyDesk sessions, including transmission and playback modes.

Feature Key‑value pair Value possibilities
Disable audio settings plaintext ad.ui.cfg_enable_audio=false false, true
Set audio transmission mode plaintext ad.audio.transmit_mode=<value> 0: Disabled 1: Standard 2: Transmit audio output 3: Specify manually
Set audio playback mode plaintext ad.audio.playback_mode=<value> 0: Disabled 1: Standard 3: Specify manually
Enable exclusive audio playback plaintext ad.audio.exclusive=true false, true

Connection settings

Use the following key-value pairs to configure network connection parameters, including direct connection behavior, session limits, and proxy settings.

Feature Key‑value pair Value possibilities
Disable connection settings plaintext ad.ui.cfg_enable_connection=false false, true
Disable direct connections plaintext ad.anynet.direct=false false, true
Set the listening port plaintext ad.anynet.listen_port=<port> Default: 7070
Limit incoming sessions plaintext ad.session.limit_incoming=<number> Example: 1, 2, 3, ...
Limit outgoing sessions plaintext ad.session.limit_outgoing=<number> Example: 1, 2, 3, ...

HTTP-Proxy settings

Feature Key‑value pair Value possibilities
Force use of proxy plaintext ad.anynet.proxy.mandatory=true false, true
Set proxy mode plaintext ad.anynet.proxy.mode=<mode> 0: Never use a proxy 1: Auto-detect 2: Use a specific proxy
Set proxy type plaintext ad.anynet.proxy.type=<type> 0: HTTP 1: SOCKS
Ask for proxy authentication plaintext ad.anynet.proxy.auth=true false, true
Automatically detect proxy authentication plaintext ad.anynet.proxy.auto_auth=true false, true

NTLM authentication

Feature Key‑value pair
Configure NTLM authentication plaintext ad.anynet.proxy.mandatory=true ad.anynet.proxy.auth=false ad.anynet.proxy.auto_auth=true

File Transfer settings

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

Recording settings

Feature Key‑value pair Value possibilities
Disable access to session recording settings plaintext ad.ui.cfg_enable_recording=false false, true
Disable session playback plaintext ad.features.sess_playback=false false, true

Automatic recording settings

Description Key‑value pair Value possibilities
Start recording for all sessions (non-Windows and Windows < 6.1.0) plaintext ad.recording.auto_start=true false, true
Start recording when an incoming session starts and the user is logged out (Windows ≥ 6.1.0) plaintext ad.recording.auto_start.incoming.admin=1 0: Disabled, 1: Enabled
Start recording when an incoming session starts and the user is logged in (Windows ≥ 6.1.0) plaintext ad.recording.auto_start.incoming=1 0: Disabled, 1: Enabled
Start recording for outgoing sessions (Windows ≥ 6.1.0) plaintext ad.recording.auto_start.outgoing=1 0: Disabled, 1: Enabled

Other settings

Description Key‑value pair Value possibilities
Prevent remote users from recording the session plaintext ad.security.record_session=false false, true
Set session recording path configuration plaintext ad.recording.path_cfg=2 1: Default path, 2: Custom path
Specify custom recording path plaintext ad.recording.path=<path> e.g., C:\Recordings

VPN settings

Feature Key‑value pair Value possibilities
Disable the VPN feature plaintext ad.features.vpn=false false, true
Disable access to VPN settings plaintext ad.ui.cfg_enable_vpn=false false, true

Wake-on-LAN settings

Feature Key‑value pair Value possibilities
Disable the Wake-on-LAN feature plaintext ad.features.wol=false false, true
Disable access to Wake-on-LAN settings plaintext ad.ui.cfg_enable_wol=false false, true

Window positions and size (AnyDesk 7 and older)

Feature Key‑value pair Value possibilities
Start AnyDesk in a maximized window plaintext ad.ui.main_win.max=true false, true
Set the horizontal position of the left window border plaintext ad.ui.main_win.x=<pixels> Value in pixels, e.g. 100
Set the vertical position of the top window border plaintext ad.ui.main_win.y=<pixels> Value in pixels, e.g. 100
Set the window width plaintext ad.ui.main_win.width=<pixels> Minimum: 900, e.g. 1000
Set the window height plaintext ad.ui.main_win.height=<pixels> Minimum: 720, e.g. 1000

Disclaimer settings

Feature Key‑value pair Value possibilities
Set the disclaimer title plaintext ad.ui.disclaimer.title=<text> Replace <text> with your custom title
Set the disclaimer body text plaintext ad.ui.disclaimer.text=<text> Replace <text> with your custom message
Set the text for the accept button plaintext ad.ui.disclaimer.accept=<text> Replace <text> with button label
Set the text for the cancel button plaintext ad.ui.disclaimer.cancel=<text> Replace <text> with button label
Set the text and title color plaintext ad.ui.disclaimer.text.color=<HTML color code> e.g. #FFFFFF
Set the background color plaintext ad.ui.disclaimer.bg.color=<HTML color code> e.g. #FFFFFF
Display a session disclaimer for interactive access plaintext ad.session_warning.show=1 0: No, 1: Yes
Require a 10-second delay before the disclaimer can be accepted plaintext ad.session_warning.timeout_mode=1 0: No, 1: Yes
Set the session disclaimer message plaintext ad.session_warning.msg=<text> Replace <text> with your custom message

Layout settings (AnyDesk 6 and older)

Feature Key-value pair Value possibilities
Change the label for "This Desk" plaintext ad.ui.id_group.title=<text> &lt;text&gt;: Custom label text
Replace the description under "This Desk" plaintext ad.ui.id_group.text=<text> &lt;text&gt;: Custom description text
Change the label for "Remote Desk" plaintext ad.ui.connect_group.title=<text> &lt;text&gt;: Custom label text
Replace the description under "Remote Desk" plaintext ad.ui.connect_group.text=<text> &lt;text&gt;: Custom description text

Address book

Feature Key-value pair Value possibilities
Disable Address Book plaintext ad.features.address_book=false false , true
Disable adding Address Book entries plaintext ad.features.address_book.show_add_entry=false false , true
Choose Address Book view type plaintext ad.abook.view_type=0 0: Default 1: List 2: Big Tiles 4: Small Tiles
Automatically tag entries added via “Add to Address Book” option plaintext ad.anynet.register.roster_tags=<text> &lt;text&gt;: Custom tag(s) to be applied automatically

Language codes

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