RDGen Client Issue (Connection Error) #54
Reference in New Issue
Block a user
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?
Hi everyone,
I’m experiencing an issue with the RDGen client that I generated using the script from the RDGen project. I’m hoping someone here can help me out.
Problems:
Generated
.exefile: When I try to run the generated.exe, nothing happens. The program doesn’t start, and there’s no error message to indicate what might be wrong.Installed

.msifile: After installing the generated.msifile and starting the client, I can connect to the host, but I every 3 seconds, the connection is dropped and re-established. I constantly get the error message:“Connection error: Connection was reset by the peer.”
Steps I’ve Tried:
My Questions:
I’d really appreciate any help or suggestions!
Thanks in advance for your support. 🙏
Looking forward to your suggestions! 😊
Best regards
Are you using a custom app name? If so, what name are you using? There might be an issue with either the service name that is created or the installation folder that is used. Also, before running or installing it is best to uninstall any old versions of rustdesk, especially if you have installed the official client. I have noticed similar issues when trying to run/install a custom generated client while having the official rustdesk client already installed.
Yes, I am using a custom app name, which is P2-Remote-Support. I've also tried this on completely fresh Windows VM images where RustDesk has never been installed before. This eliminates the possibility of conflicts with previous installations.
Try leaving the custom app name blank and see if you are still having these issues. Do you have a firewall or anti-virus software that could be killing the service?
Have you selected Run as Administrator? If so, try removing it.
I had similar issue when I checked that option, leaving it disabled made everything work perfectly and I didn't notice any issues interacting with the apps, even if they were run as admin.
Solved with this hint! Thank you!
If the Run as Administrator is no longer working, then I will remove it. I will test it and see.
In Windows 7 it works fine, in Windows 10 it changes between versions.
On newer W10 versions it seems to drop the connection every 3 seconds like stated, on older W10 versions it seems to work fine.
On every W10 version it won't make the service visible in the Task Bar (yet it's running) and the file transfer doesn't work. Also the EXE version has to be Run as Administrator otherwise nothing happens.
That's what I found.