Mstsc

Creates connections to terminal servers or other remote computers, edits an existing Remote Desktop Connection (.rdp) configuration file, and migrates Windows XP connections (connections created with Client Connection Manager) to new .rdp files.

Syntax

mstsc.exe {ConnectionFile|/v:server} [/console] [/f] [**/w:**width **/h:**height]

mstsc.exe /edit"ConnectionFile"

mstsc.exe /migrate

Parameters

ConnectionFile   : Specifies the name of an .rdp file for the connection.

/v: server   : Specifies the remote computer to which you want to connect.

/console   : Connects to the console session of the specified Windows 2000 Server.

/f   : Starts Remote Desktop connection in full-screen mode.

/w: width   /h: height   : Specifies the dimensions of the Remote Desktop screen.

/edit   : Opens the specified .rdp file for editing.

/migrate   : Migrates legacy connection files that were created with Client Connection Manager to new .rdp connection files.

Remarks

  • You must be an administrator on the server to which you are connecting to create a remote console connection.

  • .rdp files are stored for each user as hidden files in My Documents.

Formatting legend

Format

Meaning

Italic

Information that the user must supply

Bold

Elements that the user must type exactly as shown

Ellipsis (...)

Parameter that can be repeated several times in a command line

Between brackets ([])

Optional items

Between braces ({}); choices separated by pipe (|). Example: {even|odd}

Set of choices from which the user must choose only one

Courier font

Code or program output

Terminal Services commands

Command-line reference A-Z