mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-03-02 19:26:56 -05:00
[Bug] v1.4.2 & v1.2.3 Installers Ignore Command-Line Parameters and App Overwrites Config File on Launch #3681
Labels
No labels
bug
documentation
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
question
unreproducible
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/rustdesk-rustdesk#3681
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mhdm2512-dot on GitHub (Sep 23, 2025).
Bug Description
Bug Description
Hello, we are trying to deploy RustDesk in a corporate Active Directory environment to standard (non-admin) users, and we have found that it's currently impossible due to two main issues:
--keyand--relay-serverduring a silent installation.RustDesk2.tomlfile with a default one upon launch.This makes automated, pre-configured deployment for standard users impossible.
Environment
rustdesk-1.4.2-x86_64.exe) and 1.2.3 (rustdesk-1.2.3-2-x86_64.exe)Steps to Reproduce
We have confirmed this failure with two different methods:
Method A: Installer Parameters (Fails)
rustdesk-1.4.2-x86_64.exe --silent-install --key "SUA_CHAVE_AQUI" --relay-server "SEU_SERVIDOR_AQUI"Method B: Configuration File Placement (Fails)
RustDesk2.tomlfile in the%APPDATA%\RustDesk\configdirectory.Expected Behavior
For both methods, the RustDesk client should start up pre-configured with the specified public key and relay server, and be ready to connect.
Actual Behavior
--keyand--relay-serverparameters are ignored by the installer.RustDesk2.tomlfile and replaces it with a default, unconfigured one.We also noted that changing the network settings via the GUI requires administrator elevation (UAC prompt), which is the core reason why deployment for standard users is so difficult. Our GPO automation (which runs with SYSTEM privileges) successfully installs the app, but the installer itself does not apply the configuration.
Thank you for your help.
How to Reproduce
We have confirmed this failure with two different deployment methods in our Active Directory environment.
Method A: Installer Command-Line Parameters
rustdesk-1.4.2-x86_64.exe --silent-install --key "SUA_CHAVE_AQUI" --relay-server "SEU_SERVIDOR_AQUI"--keyand--relay-serverparameters are ignored.Method B: Configuration File Placement
RustDesk2.tomlfile in the%APPDATA%\RustDesk\configdirectory. We have confirmed the file is present and correct before launching the application.RustDesk2.tomlfile and replaces it with a default, unconfigured one.Expected Behavior
For both methods, the RustDesk client should start up pre-configured with the specified public key and relay server, and be ready to connect to our self-hosted server.
Operating system(s) on local (controlling) side and remote (controlled) side
RustDesk Version(s) on local (controlling) side and remote (controlled) side
1.4.2(Installer:rustdesk-1.4.2-x86_64.exe). We have also tested and confirmed the same installer parameter failure with version1.2.3. * Local (controlling) side: (Not relevant for this deployment bug)Screenshots
Additional Context
No response
@rustdesk commented on GitHub (Sep 23, 2025):
#763
@rustdesk commented on GitHub (Sep 23, 2025):
email to support@rustdesk.com if you are the pro paid user.