rustdesk / rustdesk/rustdesk-server-pro

Console fails to update when reinstall is done with different Advanced Settings

Open
#959 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Shell
Stars
317
Forks
119
PR merge metrics
No merged PRs in 30d

Description

Bug Description

Similar to two previous issues (here and here), but our problem is with the Console retaining settings rather than the workstation.

This issue happens when a device has RustDesk installed, with settings showing for things like Device Group and Strategy in the RustDesk Console. Those can be set manually within the Console or packaged with the installer using Advanced Settings like we are. We have configured various installers to apply Device Groups, preset passwords, and other settings, which vary by client and location.

Our RMM tool runs an automated script that installs the appropriate version on that device. If anything changes, the script automatically uninstalls the old version and installs the new one. This works as expected on the workstation itself, but the Console continues to show the old settings rather than updating to match. The one exception I've found is when a category was previously empty in the Console, then a new installer will fill that information in. Otherwise we have to fully delete the device from the Console prior to running the new install for the new settings to be shown. I have not found a way to do that via script, which prevents our ability to automate this process.

How to Reproduce
  1. Install RustDesk on a computer (testing done with Windows 11).
  2. Console will show any Device Group or Strategy settings as configured in the install, or can be set manually.
  3. Uninstall RustDesk on that computer, and do not delete it from the Console.
  4. Install a new version of RustDesk that has a different Device Group or Strategy configured under Advanced Settings.
  5. The Console will continue to show the previous Device Group and Strategy settings despite the workstation operating with the new settings.
  6. You can confirm this by having different preset passwords set for each installer. The new password will work to connect to the computer after the install, and the old one will not.
Expected Behavior

The Console should reflect the actual settings applied on a device, rather than staying static. Otherwise, this can lead to conflicts between the two versions, and confusion about passwords and other settings.

Operating system(s) on local (controlling) side and remote (controlled) side

any > Windows 11 (though likely all)

RustDesk Version(s) on local (controlling) side and remote (controlled) side

any > 1.4.6

Screenshots

Installer with Device Group set under Advanced Settings.
Image

Workstation after uninstall and install with the configurations shown above. Device Group continues to show the previous group.
Image

Additional Context

No response

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no repository files, tests, or entry points. Start by reproducing the reinstall with different Device Group, Strategy, and preset password values, then trace how those settings reach and persist in the Console. Done means the Console reflects the newly installed settings without requiring the device to be deleted first.

Written by the indexing model from the issue text.

Assessment

Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.