Won't set permanent password if it contains a special character #3314

Closed
opened 2026-02-21 01:16:43 -05:00 by deekerman · 1 comment
Owner

Originally created by @AL3XHU on GitHub (Mar 21, 2025).

Bug Description

Won't set permanent password if it contains a special character.
I deployed RustDesk with a batch file, but if I put a special character after the --password switch it wont set.
After I removed the "!" character its working properly.

How to Reproduce

With a batch file, run as administrator.

if not exist C:\Temp\ md C:\Temp
cd C:\Temp\

curl -L "https://github.com/rustdesk/rustdesk/releases/download/1.3.8/rustdesk-1.3.8-x86_64.exe" -o rustdesk.exe

rustdesk.exe --silent-install
timeout /t 20

cd "C:\Program Files\RustDesk"
rustdesk.exe --install-service
timeout /t 20

for /f "delims=" %%i in ('rustdesk.exe --get-id ^| more') do set rustdesk_id=%%i

rustdesk.exe --password placeholder!

Expected Behavior

Set the password correctly with the special character.

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

MacOS 15.3.2 -> Windows 11 24H2 Build: 26100.3476

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

1.3.8 -> 1.3.8

Screenshots

Image

Additional Context

No response

Originally created by @AL3XHU on GitHub (Mar 21, 2025). ### Bug Description Won't set permanent password if it contains a special character. I deployed RustDesk with a batch file, but if I put a special character after the --password switch it wont set. After I removed the "!" character its working properly. ### How to Reproduce With a batch file, run as administrator. if not exist C:\Temp\ md C:\Temp\ cd C:\Temp\ curl -L "https://github.com/rustdesk/rustdesk/releases/download/1.3.8/rustdesk-1.3.8-x86_64.exe" -o rustdesk.exe rustdesk.exe --silent-install timeout /t 20 cd "C:\Program Files\RustDesk\" rustdesk.exe --install-service timeout /t 20 for /f "delims=" %%i in ('rustdesk.exe --get-id ^| more') do set rustdesk_id=%%i rustdesk.exe --password placeholder! ### Expected Behavior Set the password correctly with the special character. ### Operating system(s) on local (controlling) side and remote (controlled) side MacOS 15.3.2 -> Windows 11 24H2 Build: 26100.3476 ### RustDesk Version(s) on local (controlling) side and remote (controlled) side 1.3.8 -> 1.3.8 ### Screenshots ![Image](https://github.com/user-attachments/assets/a5efe9fa-1c70-474b-8703-1beaf6c4580c) ### Additional Context _No response_
deekerman 2026-02-21 01:16:43 -05:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@rustdesk commented on GitHub (Mar 21, 2025):

#763

@rustdesk commented on GitHub (Mar 21, 2025): #763
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/rustdesk-rustdesk#3314
No description provided.