We help IT Professionals succeed at work.

How to configure RDP

ramrom
ramrom used Ask the Experts™
on
I've been studying http://technet.microsoft.com/en-us/library/ff393699%28WS.10%29.aspx.

Is there a combination of settings that will accomplish what I now do a different way?

I invoke mstsc.exe  pointing to an RDP file and add the /span option.

This gets me a maximized window spanning both monitors. I click restore; this gets me a smaller window on monitor 1. I drag the borders such that the window occupies most of both monitors. There are scroll bars which I don't want.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
ramromconsultant

Author

Commented:
Server: 2008 Client 2003. Monitors 1920 x 1080

Here is a sanitized version of the rdp file:

administrative session:i:0
alternate full address:s:
allow desktop composition:i:1
allow font smoothing:i:0
alternate shell:s:
audiomode:i:0
authentication level:i:0
autoreconnection enabled:i:1
bitmapcachepersistenable:i:1
compression:i:1
connection type:i:3
desktopheight:i:1024
desktopwidth:i:1600
disable cursor setting:i:0
disable full window drag:i:0
disable menu anims:i:0
disable themes:i:0
disable wallpaper:i:1
displayconnectionbar:i:1
full address:s:xxx
gatewaycredentialssource:i:4
gatewayhostname:s:
gatewayprofileusagemethod:i:0
gatewayusagemethod:i:4
keyboardhook:i:1
negotiate security layer:i:1
prompt for credentials:i:0
promptcredentialonce:i:1
redirectclipboard:i:1
redirectcomports:i:0
redirectdrives:i:1
redirectposdevices:i:0
redirectprinters:i:1
redirectsmartcards:i:1
remoteapplicationmode:i:0
screen mode id:i:1
session bpp:i:16
shell working directory:s:
use multimon:i:0
username:s:xxx
winposstr:s:0,3,374,39,1656,1057

There are several options that I frankly don't understand that might apply here. I have tried tweaking them  - and I can't see the effect.

desktopheight:i:1024
desktopwidth:i:1600
winposstr:s:0,3,374,39,1656,1057
use multimon vs span monitors

Commented:
i would think...

span monitors:i:0
use multimon:i:1

maybe
smart sizing:i:1

in theory ;)
ramromconsultant

Author

Commented:
Tried it No success..

Commented:
try without the desktop height and width?

not 100% clear on what you want to do - trying to mirror one display on two monitors - each 'almost' full screen? (1600 of 1920 x 1024 of 1080)
Commented:
This might shed some light...
http://www.ohmancorp.com/RefRdp-RDPFile.asp

Commented:
..one more thought, once you've set things as you like and close RDP, does it not save settings to your .rdp file?
ramromconsultant

Author

Commented:
No - all I have to close is the window showing the remote desktop - there is no way to save those settings that I am aware of. Be nice if there were!
ramromconsultant

Author

Commented:
I looked at http://www.ohmancorp.com/RefRdp-RDPFile.asp

There may be value here - I will need to experiment. Too bad MS didn't tell us what we needed to know!
ramromconsultant

Author

Commented:
By experiment this works:

use multimon:i:1
desktopheight:i:1024
desktopwidth:i:3600
winposstr:s:0,2,-1800,0,1800,1057

It is hard to relate the documentation forthe WINDOWPOS structure to winposstr
The WINDOWPOS  structure is defined as:
  HWND hwnd;
  HWND hwndInsertAfter;
  int  x;
  int  y;
  int  cx;
  int  cy;
  UINT flags;

One also wonders where mstsc hides the password! It is not in the text file.