Hi,
when I start an RDP Session I want to have my windows size smaller than my host desktop and on a specific position.
I played a little with the custom size, which works perfect, but with the additional option "winposstr" I did not yet find any working solution. First of all I'm not sure if I have to use the feature Custom Remote Desktop size when I use the winpoststr option ?
What do I have to enter in the winposstr fiel when I want top have a desktop with 1280x960 which is almost on the right side of my host screen which means an horizontal offset of approx 400 pixel to the right.
I tried e.g. this one "0,1,400,0,1280,960"
Or is there an other way to place the RDP window ?
Regrads Wolfgang
edited by schaedle1 on 7/3/2011
Hi,
The only way to support this is by using the winpoststr:
http://msdn.microsoft.com/en-us/library/ms632612.aspx.
Handle, state, left, top, right, bottom
Handle is always 0
Maybe if you open it with mstsc and export the config, you will get your desired positioning?
edited by dhervieux on 7/4/2011
David Hervieux
Hi,
now I got it working, but I don't know why, because it does not make a lot of sense to me.
My screen has 1680x1050. My RDP session is set to 1280x960 and winposstr is set to 0,1,450,0,1750,1000. The RDP is now located, as wished, on the right side of my screen.
It work's so I don't care for the moment.
Regards Wofgang
edited by schaedle1 on 7/5/2011
You got the winposstr from the export in mstsc?
David Hervieux
Yes I took the setting of the export and played till it was fine for me. I played with it because my whished resolution wasn't possible to set with mstsc.