Lumea lui Kudzu

"Programarea este o formă de artă care ripostează"

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 on 6/11/2009 wrote: 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 on 6/11/2009 wrote: 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 on 6/11/2009 wrote: Thanks for the additional tip!
aggdfg on 6/11/2009 wrote: 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.
Texas movers on 6/11/2009 wrote: great post I like it

Post a comment

Use my contact form to contact me directly.