Use custom ID in Rustdesk
该文章根据 CC-BY-4.0 协议发表,转载请遵循该协议。
本文地址:https://fenying.net/en/post/2023/09/15/customize-host-id-of-rustdesk/
Recently, I changed my remote assistance tool to Rustdesk, but a inconvenient thing is that the ID for a host is randomly generated, which is hard to remember.
So I want to customize the ID.
This solution is tested okay on Rustdesk v1.3.1.
After searching online for a while, I finally found a solution in the Rustdesk Github Issue#338.
The solution is a script, and let me explain the steps:
-
Start the Rustdesk UI
-
Start the Rustdesk system service
-
Kill all
rustdesk.exe
processes using Task Manager (Win + S → Task manager) -
Open the
%homepath%\AppData\Roaming\RustDesk\config
directory -
Open the
RustDesk.toml
file with a text editor, and input the following content1id = 'YourCustomID' # Only letters, numbers, and underscores are allowed 2password = '' # Input a custom password 3salt = '' # Leave it empty
-
Start the Rustdesk UI (do not start the Rustdesk system service)
-
Close the Rustdesk UI
-
Copy all files in the
%homepath%\AppData\Roaming\RustDesk\config
directory to theC:\Windows\ServiceProfiles\LocalService\AppData\Roaming\RustDesk\config
directory -
Start the Rustdesk system service in the Windows Services UI (Win + S → Services, find the
RustDesk Service
and start it) -
Start the Rustdesk UI, and you should be able to use your custom ID correctly