[GH-ISSUE #17] Storing rdp-files does not work when username has blankspaces #1930

Closed
opened 2026-03-01 17:15:59 +03:00 by kerem · 2 comments
Owner

Originally created by @enkelmedia on GitHub (Aug 14, 2020).
Original GitHub issue: https://github.com/1Remote/1Remote/issues/17

Originally assigned to: @VShawn on GitHub.

My username has a blank space and I get an error when trying to connect to a machine that i've created:

Invalid connection file (Johansson\AppData\Local\Temp\foo.rdp)

My username is Mark Johansson.

// m

Originally created by @enkelmedia on GitHub (Aug 14, 2020). Original GitHub issue: https://github.com/1Remote/1Remote/issues/17 Originally assigned to: @VShawn on GitHub. My username has a blank space and I get an error when trying to connect to a machine that i've created: Invalid connection file (Johansson\AppData\Local\Temp\foo.rdp) My username is Mark Johansson. // m
kerem 2026-03-01 17:15:59 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@enkelmedia commented on GitHub (Aug 14, 2020):

Found the issue
RemoteWindowPool.cs L124

Need to wrap the path with " " like this:

p.StandardInput.WriteLine("mstsc -admin \"" + rdpFile + "\"");

After that change it works again

<!-- gh-comment-id:674027539 --> @enkelmedia commented on GitHub (Aug 14, 2020): Found the issue RemoteWindowPool.cs L124 Need to wrap the path with " " like this: ``` p.StandardInput.WriteLine("mstsc -admin \"" + rdpFile + "\""); ``` After that change it works again
Author
Owner

@VShawn commented on GitHub (Aug 15, 2020):

thank you for report.👍
the bug has been fixed now
github.com/VShawn/PRemoteM@0f4796f149 (diff-501fa1bd6f)

and here is the new release: https://github.com/VShawn/PRemoteM/releases/tag/0.4.8.2008150945

<!-- gh-comment-id:674334071 --> @VShawn commented on GitHub (Aug 15, 2020): thank you for report.:+1: the bug has been fixed now https://github.com/VShawn/PRemoteM/commit/0f4796f1498f97d668f7186d6a4843c88c3db034#diff-501fa1bd6fb1240581247547fb50e3d0R124 and here is the new release: https://github.com/VShawn/PRemoteM/releases/tag/0.4.8.2008150945
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/1Remote#1930
No description provided.