Home
Contact
Blog
Articles on this page...
Archives
<
June 2009
>
Sun
Mon
Tue
Wed
Thu
Fri
Sat
31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
1
2
3
4
5
6
7
8
9
10
11
Aggregation:
Categories
Blogging (2)
Development (10)
Hardware (7)
MySQL (3)
Server Administration (2)
SSD (2)
Storis (1)
UniData (1)
Virtualization (1)
Windows 7 (5)
Windows Mobile (1)
October, 2009 (2)
June, 2009 (2)
May, 2009 (3)
March, 2009 (4)
February, 2009 (3)
December, 2008 (4)
November, 2008 (4)
Blogging
Development
Hardware
MySQL
Server Administration
SSD
Storis
UniData
Virtualization
Windows 7
Windows Mobile
Blogroll
Scott Hanselman
Pick a theme:
BlogXP
business
calmBlue
Candid Blue
Continuum
dasBlog
dasblogger
dasblueblog
dasEmerald
DirectionalRedux
Discreet Blog Blue
Elegante
essence
Just Html
MadsSimple
Mobile
Mono
Movable Radio Blue
Movable Radio Heat
nautica022
orangeCream
Portal
Project84
Project84Grass
Slate
Sound Waves
Tricoleur
useit.com
Voidclass2
Sign In
Friday, June 26, 2009
« Delete OEM Partition
|
Main
|
Baskin Robbins I Fixed Your Logo For You... »
Remote Desktop Connection Does Not Remember Window Size or Position
They always seem to open maximized, glued to the upper left-hand corner of my monitor. I hate that. After much googling, I found:
http://www.simmonsconsulting.com/2005/09/26/remote-desktop-rdp-window-state/
http://msdn.microsoft.com/en-us/library/ms632612(VS.85).aspx
and
http://blogs.msdn.com/rds/archive/2008/09/02/specifying-the-ts-client-start-location-on-the-virtual-desktop.aspx
These settings work for me:
desktopwidth:i:1600
desktopheight:i:1200
session bpp:i:32
I have a 2560x1600 display, so I like my sessions to be 1600x1200.
winposstr:s:0,1,500,200,2560,1600
1st is always set to zero according to the MS Blog post.
2nd is 1 because I like my remote sessions windowed. Often I have multiple connections open at once.
3rd is 500 because I want my window offset 500 pixels from the left of my primary monitor.
4th is 200 because I want my window offset 200 pixels from the top of my primary monitor.
5th and 6th are kinda funny. They are supposed to represent the bottom right coordinate of the window, so I would expect them to be the top left offset plus the window size. Setting them to 2100 and 1400 should make the window fully sized given my window size and offsets, but I guess it doesn't work that way. Maybe you have to compensate for the frame of the window itself. I found that there is no harm at all in simply setting the size to something larger than the window to assure that it is fully sized. So, I set these values to the size of my largest display.
As the author of the first article mentions, you need to use a text editor that won't corrupt the header of the RDP file. Notepad2 did NOT corrupt it, nor did BeyondCompare 3. TextPad 5.2 did corrupt it.
BeyondCompare 3 was a great way to fix the rest of my RDP files. I just pasted most of the contents of my new, working file over to the files that needed to be fixed, letting only the fulladdress and username fields remain.
Development
|
Server Administration
|
Windows 7
Friday, June 26, 2009 11:54:00 AM (Central Daylight Time, UTC-05:00)
Comments [0]
Related posts:
PLINQO is the best way to use LINQ to SQL
Baskin Robbins I Fixed Your Logo For You
Delete OEM Partition
SSD Performance in a Laptop
MySQL ODBC Slow - Caused by Nod32 4.0
Edit Text in a .NET Assembly
All comments require the approval of the site owner before being displayed.
Name
E-mail
Home page
Remember Me
Comment (Some html is allowed:
a@href@title, b, blockquote@cite, em, i, strike, strong, sub, sup, u
) where the @ means "attribute." For example, you can use <a href="" title=""> or <blockquote cite="Scott">.
Enter the code shown (prevents robots):
Live Comment Preview
Copyright © 1998 - 2008, Continuum Concepts, LLC.
Phone: (214) 564-2608. Fax: (435) 304-1859. Email:
chris@continuumconcepts.com