Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The settings for a Remote Desktop session can be saved in a *.rdp file. This file can be edited in your favourite text editor. The file contains a list of options, many of which can also be called from the command line with switches (e.g. "mstsc /span" will display the remote session on multiple monitors.)

Is there are list of these options anywhere? The Microsoft/MSDN/TechNet resources (e.g. only seem to explain a small portion of them.

An example of the contents of the file are as follows:

screen mode id:i:2
span monitors:i:1
session bpp:i:16
autoreconnection enabled:i:1
authentication level:i:0
alternate shell:s:
shell working directory:s:
disable wallpaper:i:1
disable full window drag:i:0
disable menu anims:i:0
disable themes:i:0
disable cursor setting:i:0

For example, I am unable to find info on the options for "screen mode". What does "id:i:2" mean and what options can I give it? etc...

share|improve this question
up vote 1 down vote accepted

screen mode id is the name of the variable. i indicates that it expects an integer. 1 means the remote desktop client will open in a window, 2 means fullscreen.

Brief experimentation indicates that those are the only two options.

share|improve this answer
none of these links work... – Mike Murphy May 9 '13 at 12:55
sorry can't edit; but has the first link:… – Kerridge0 Aug 15 '13 at 13:24
and some official documentation here: – Kerridge0 Aug 15 '13 at 13:35

The i stands for integer. It's the type of the setting variable.

(Notice that alternate shell uses s as well as winposstr)

So the format is variable:type:value

More details are in another answer

As for how those map to the mstsc command line, they do not. You just got lucky with the span argument.

mstsc /? yields

alt text

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.