Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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. http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ts_cmd_mstsc.mspx?mfr=true) 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

2 Answers 2

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.

Here's an interesting table with some of the options.

The official documentation is here in TechNet and is more accurate, detailed and complete than the above reference.

In addition, this TechNet blog entry by Michael Keef[MSFT] identifies some currently-not-but-soon-to-be documented attributes that support Aero Glass. Not a lot of detail there, but good to know.

share|improve this answer
none of these links work... –  M Murphy May 9 '13 at 12:55
sorry can't edit; but archive.org has the first link: web.archive.org/web/20120208161507/http://coe.uncc.edu/mosaic/… –  Kerridge0 Aug 15 '13 at 13:24
and some official documentation here: technet.microsoft.com/en-us/library/ff393680(v=ws.10).aspx –  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 on the format is available. regan

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.