Zend certified PHP/Magento developer

RDP Windows 10 full windows size without scrollbars

After upgrading to windows 10, I noticed that one of my RDP settings no longer seems to have the same effect.

My screen size is 2560×1440. I have 4 monitors, this is the first one to the left.

In windows 7, these settings opened the RDP in a window (ie not full screen) that took up part of the screen, but was the full height of the screen. Basically it wasn’t as wide as the screen but was still full height.

screen mode id:i:1
desktopwidth:i:1550
desktopheight:i:1160
session bpp:i:32
winposstr:s:0,1,-1566,0,0,1200

This left no space between the bottom of the window and the bottom of the screen, nor did it leave any space to the right of the window to the edge of the screen.

In Windows 10, these same settings leave about 7 pixels of extra space between the edges of the window and the edges of the screen…

enter image description here

Here you can see the calculator (grey) behind the RDP window. You should not be able to… the RDP window should fit neatly into the corner of the screen.

I can’t seem to find the settings to make this go away without resulting in both vertical & horizontal scroll bars. The odd thing is that if I “pull” the height of the window down to the edge of the screen, the scroll bars vanish and the resulting window is the full height of the screen.

To do this, I add a little to the height as follows:

screen mode id:i:1
desktopwidth:i:1550
desktopheight:i:1167
session bpp:i:32
winposstr:s:0,1,-1566,0,0,1207

If I lessen then edge distance to make up for the space between the window edge and the screen edge, I get both scroll bars, but if I “pull” the edge of the window toward the edge of the screen, both scroll bars vanish and there is no space between the window or screen edge. ie:

desktopwidth:i:1550
desktopheight:i:1160
session bpp:i:32
winposstr:s:0,1,-1559,0,0,1200

It’s like it things for some reason there should be scroll bars, but when stretched out, it realizes they aren’t needed after all and removes them. Very odd.

This is frustrating because I don’t want to have to resize the window every time I open it just to make the scroll bars disappear.

What am I missing here? Are my winposstr settings off, or is this some weird window handling introduced in Windows 10?

Any help would be appreciated.