Wednesday, April 14, 2010

Setting Up Dimensions in an RDP Window

I have a vertical monitor. It's handy because I can essentially use the top half as one area and the bottom half for another (if I'm not using the whole thing as a fantastic reading pane). This especially comes in handy when I want to have two RDP windows fit perfectly, one on top of the other, on a single window.

To ensure that every RDP window you start automatically fits into the perfect dimensions that you want:

  1. - Edit Default.rdp in a text editor. It should be a hidden file in your My Documents.
  2. - Change XYZ in “desktopwidth:i:XYZ” to exactly the width you want, minus 8 pixels (each window border is 4 pixels).
  3. - Change XYZ in “desktopheight:i:XYZ” to exactly the height you want, minus 34 pixels (bottom window border of 4 pixels plus 30 pixels for the titlebar).
  4. - Save Default.rdp and set it to Read Only so that Windows doesn’t helpfully change the dims on your RDP session to something more standard.

These instructions assume the Luna theme with the standard font size in Windows XP.