Kudzu World

"البرمجة: فنّ و تمرّد"

Kudzu World  »  Blogspace  »  Kudzu's Tech Blog
English - Română - Русский - عربي

RSS Feed

If you want to more easily stay informed of updates etc you can subscribe to the RSS feed. Just point your RSS reader at this page, auto discovery is enabled.

Remote Desktop and custom resolutions

7/10/2006

I use remote desktop a lot. But 800x600 is too small, and if I use 1024x768 then it goes full screen and its not convenient to move between host and guest easily. To compound this, I run multiple remote desktops as well as virtual PC's. What I really want to do is run remote desktop in about 1000x720 so I get a large screen but still have quick access to the task bar and system tray of my host. Remote desktop has no options for these custom resolutions, but you can edit the RDP file.

Create a remote desktop connection and save the profile. It makes a file with an .rdp extension. This file is just a text file, so now open it in notepad. The first few lines should look something like this:

    screen mode id:i:1
    desktopwidth:i:1015
    desktopheight:i:715
    session bpp:i:16
    winposstr:s:0,3,0,0,1015,725

I have done some testing and I found 1015x715 to be just about right for a 1024x768 host. The winposstr line specifies the initial size of the window on the host. Setting the second parameter to 3 makes it auto fit, and thus the other numbers are not needed.

 

<< Previous Entry  Next Entry >>

Comments: 

Martin 2008-06-11 11:28:12
great solution, thanks!

an other approach is to use the command line switches |w:width and |h:height of mstsc.exe. so in your case it would read
mstsc.exe |w:1015 |h:715

more command line options can be found using
mstsc.exe |?

regards,
martin.

ps: replace | with a regular forward slash. the slash was not accepted by this form.

Martin 2008-06-11 11:29:24
great solution, thanks!

an other approach is to use the command line switches /w:width and /h:height of mstsc.exe. so in your case it would read
mstsc.exe /w:1015 /h:715

more command line options can be found using
mstsc.exe /?

regards,
martin.

ps: it was the "greater than" sign making troubles :-)

Chad Z. Hower 2008-06-11 08:34:54
Thanks for the additional tip!
aggdfg 2008-10-16 04:21:11
thanks! I took the pre-existing difference, and just changed all 4 numbers by the same amount, until i got the maximum resolution. I hit myself in the head for not thinking of going to the profile sooner.

Add your comment: 

Name:    
E-Mail:  
URL:  
Comment:  
Please add 2 and 8 and type the answer here:



Use my contact form to contact me directly.