To start Remote Desktop from the Run dialog box
-
Click 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
|
Syntax
|
|---|
|
mstsc [<connection file>] >] ] | [/?] |
Command line parameters for Remote Desktop Connection
|
Parameter
|
Description
|
|---|---|
|
/v:<server[:port]> |
Specifies the remote computer that you want to connect to. |
|
/admin |
Is used for administration of a Remote Desktop Session Host server. In this version of Remote Desktop Connection, if the Remote Desktop Session Host role service is installed on the remote computer, running mstsc /admin will do the following (for the current connection only):
/admin also does the following on connections toWindows Server 2008 R2 with the RD Session Host role service installed:
To connect to a remote computer with the RD Session Host role service installed, follow these steps:
|
|
/f |
Starts Remote Desktop Connection in full-screen mode. |
|
/w:<width> |
Specifies the width of the Remote Desktop Connection window. |
|
/h:<height> |
Specifies the height of the Remote Desktop window. |
|
/public |
Runs Remote Desktop Connection in public mode. |
|
/span |
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 be arranged to form a rectangle. |
|
/multimon |
Configures the Remote Desktop session monitor layout to be identical to the current client-side configuration. |
|
/edit “connection file” |
Opens the specified .rdp connection file for editing. |
|
/migrate |
Migrates older connection files that were created with Client Connection Manager to new .rdp connection files. |
|
/? |
Lists these parameters. |