Use command line parameters with Remote Desktop Connection
To start Remote Desktop from the Run dialog box, follow these steps:
Click the Start button Picture of the Start button, click All Programs, click Accessories, and then click Run.
In the Open box, type mstsc.
Type a space, followed by any additional parameters that you want to use.
The following table lists the parameters you can use.
Command line syntax for Remote Desktop Connection
mstsc  [/v:<server[:port]>] [/admin] [/f[ullscreen]] [/w:] [/h:] [/public] | [/span] [/edit “connection file”] [/migrate] [/?]
Command line parameters for Remote Desktop Connection
Specifies the remote computer you want to connect to.
Is used for administration of a terminal server. In this version of Remote Desktop Connection, if the Terminal Server role service is installed on the remote computer, running mstsc /admin will do the following (for the current connection only):
Disable Terminal Services client access licensing.
Disable time zone redirection.
Disable TS Session Broker redirection.
Disable TS EasyPrint.
/admin also does the following on connections to Windows Server 2008 with the Terminal Server role service installed:
Disables Plug and Play device redirection for this connection only.
Changes the remote session theme to Windows Classic View for this connection only.
To connect to a remote computer with the Terminal Server role service installed, follow these steps:
Open the Command Prompt window by clicking the Start button Picture of the Start button, clicking All Programs, clicking Accessories, and then clicking Command Prompt.
Type mstsc /v:server /admin.
Starts Remote Desktop Connection in full-screen mode.
Specifies the width of the Remote Desktop Connection window.
Specifies the height of the Remote Desktop window.
Runs Remote Desktop Connection in public mode.
Matches the remote desktop width and height with the local virtual desktop, spanning across multiple monitors if necessary. To span across monitors, the monitors must all have the same height and be aligned side by side.
/edit “connection file”
Opens the specified .rdp connection file for editing.
Migrates older connection files that were created with Client Connection Manager to new .rdp connection files.
Lists these parameters.