1. Open the Remote Desktop Connection dialog. In Windows 7, one of the easiest ways to do this is to click Start, type "remote" in the Search programs and files box, and click the Remote Desktop Connection icon that appears in the search results.
Richard Mueller edited Revision 7. Comment: Modified title casing, added tag
Fernando Lugão Veltem edited Revision 6. Comment: remove en-us from title
Thanks much for a lucid and (mostly) complete explanation. Only the ":s:0,1," parameters are glossed-over.
This gives me a usable workaround - though still not quite a solution - for my "windows-7 remote-desktop doesn't remember last position" issue.
PS:
I've seen this technique - likely from this very post - referenced elsewhere, and I'm surprised that it's taken almost 2 years for someone to thank you.
Secondly, a note to M$ developers re "remembering last screen-position":
It's true that a problem can be caused by the client changing screen resolution between sessions, thereby making the remembered position off-screen. Two aspects of this issue come to mind.
1 It applies to any remembered screen-position, not just Remote Desktop;
2 The fix is easy: "ScrollIntoView". I believe there's a suitable winAPI-call. If not, it shouldn't be too hard to build using Math::Min(), Math::Max(), screen-size, window-position and window-size.
Thanks again for a welcome post, and welcome to my bookmarks.
VERY HELPFUL! THANK YOU!
Though this did not *start* my window in another monitor, as I hoped, it did set the Remote Desktop windows dimensions *even when maximized*. In my case, after double-clicking my edited "M3.rdp", I manually move it to the correct monitor, then <ctrl>-<alt><break> to maximize the window to that monitor's desktop.
((Sometimes, using <ctrl>-<alt>-<break> to maximize Remote Desktop does not leave the window area *edges* clickable. If that happens, disconnect and reconnect a second time: you get the edges after reconnecting.))
In my situation, this dimension control made a big difference: I'm using my 32" HDTV as a 3rd monitor, connected thru the HDMI port (for better resolution than VGA). Unfortunately, the TV only lets me control its horizontal and vertical *stretch*, for its "PC" input -- not its HDMI input. So, all window edges were invisible, when Remote Desktop was maximized.
Now, after editing the RDP settings file, I can see all edges -- EVEN WHEN MAXIMIZED.
In my example, the ORIGINAL settings were:
screen mode id:i:1
desktopwidth:i:1280
desktopheight:i:768
session bpp:i:32
winposstr:s:2,3,519,0,1758,600
and the EDITED settings are:
desktopwidth:i:1800
desktopheight:i:978
winposstr:s:2,3,419,-1900,2278,810
So, since 520 was added to "desktopwidth" (1280+520=1800),
520 was also added to the 2nd to last parameter in "winposstr" (1758+520=2278).
And, since 210 was added to "desktopheight" (768+210=978),
210 was also added to the last parameter in "winposstr" (600+210=810).
((As I said before, I took the principles of a "monitor to the left" or "monitor to the right", and tried applying them to a "monitor" above... using the -1900. That's not working... but the dimensions were a big deal (thanks!), and two clicks to move it to that monitor is no big deal.))
Good luck!
Thanks a lot. You have definitely reduced the amount of grey hairs I've been growing lately.
Workjing with three monitors and several rdp sessions daily.