Home > Commands A-M > Commands M

MSTSC


Description | Syntax | Parameters | Switches | Related | Notes | Examples | Errorlevels | Availability

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 /?

MSTSC connection_file | /v:server] [/console] [/f] [/w:width /h:height]

MSTSC /edit"connection_file"

MSTSC /migrate


Parameters
connection_file (NT2000)
Specifies the name of an .rdp file for the connection.

Switches
/? (NT2000)
Displays help.
/console (NT2000)
Connects to the console session of the specified Windows 2000 Server.
/edit (NT2000)
Opens the specified .rdp file for editing.
/f (NT2000)
Starts Remote Desktop connection in full-screen mode.
/migrate (NT2000)
Migrates legacy connection files that were created with Client Connection Manager to new .rdp connection files.
/h:height (NT2000)
Specifies the height dimension of the Remote Desktop screen.
/v:server (NT2000)
Specifies the remote computer to which you want to connect.
/w:width (NT2000)
Specifies the width dimension of the Remote Desktop screen.


Related

none.


Notes

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.


Examples

none.


Errorlevels

none.


Availability
External
DOS
none
Windows
none
Windows NT
NT2000 NTXP NT2003

Last Updated: 2006/07/01
Direct corrections or suggestions to: Rick Lively