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 for Rustdesk 1.2.2.

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:

  1. Start the Rustdesk UI

  2. Start the Rustdesk system service

  3. Kill all rustdesk.exe processes using Task Manager (Win + S → Task manager)

  4. Open the %homepath%\AppData\Roaming\RustDesk\config directory

  5. Open the RustDesk.toml file with a text editor, and input the following content

    1id = 'YourCustomID' # Only letters, numbers, and underscores are allowed
    2password = '' # Input a custom password
    3salt = '' # Leave it empty
    
  6. Start the Rustdesk UI (do not start the Rustdesk system service)

  7. Close the Rustdesk UI

  8. Copy all files in the %homepath%\AppData\Roaming\RustDesk\config directory to the C:\Windows\ServiceProfiles\LocalService\AppData\Roaming\RustDesk\config directory

  9. Start the Rustdesk system service in the Windows Services UI (Win + S → Services, find the RustDesk Service and start it)

  10. Start the Rustdesk UI, and you should be able to use your custom ID correctly

comments powered by Disqus

Translations: