How to save the start up location of RDP/RDC window

1 minute read,

The Problem

I like using RDP but I get very frustrated when the terminal window doesn’t remember the location.

Evert time I connect via RDP, the remote window starts in the top-left corner of my primary screen. It drives me nuts.

In this post, I’ll explain how to save the location of the window without hacking RDP files.

Set The Defaults

Run MSTSC:

image41

Next, adjust your desired settings in General, Display, and Local Resources….

image12   

Click Save button, DO NOT CONNECT, and Close MSTSC when done.

image18

Essentially, what we’ve done is save these connection preferences to “Default.RDP” (see details at the end of this post).

Place The Window

Next connect to the machine using the /v: switch:

image25  

Move, place, resize, and adjust the terminal window where you want MSTSC to start every time.

image4

NOTE: If you want scrollbars to be removed adjust the height and width of the window now. You may need to click the restore button between the close and minimize button on the top right.

Next, Close the terminal window when you’re done and click OK.

image29

MSTSC should now save the last position of the window in “Default.RDP” (see details at the end of this post).  

Save The RDP file

Run MSTSC again:

image33

Now Click SAVE AS..:

image37

Double click on your new RDP file.

Your new terminal window should start  at the same position every time you double click on your new RDP file.

The Details: The Default Settings File

MSTSC stores default connection preferences in a hidden file called “Default.rdp” located in:

[System.Environment]::GetFolderPath([Environment+SpecialFolder]::MyDocuments)
# Windows 7: %USERPROFILE%\Documents\Default.rdp
# Windows 2000 / XP: %USERPROFILE%\My Documents

Note: If you don’t see Default.rdp, you’ll need to turn on “Show Hidden Files”.

Default.rdp is the default settings (& window state location) for MSTSC.

Brian Chavez

Comments

cefulz

who’s can help me about make a step by step sever n client. .
i need to know how can make sever n client. . urmm..

SadrikX

Awesome Sauce! Thanks for the great write up. My OCD thanks you!! This has been bugging me for almost a year now and just never dug into it so my non-maximized window would be partially full screened like I want it instead of wasting time several times a day to resize the stupid thing… :)

Much respect and appreciation!

Leave a comment

Your email address will not be published. Required fields are marked *

Loading...