Terminal server connection also known as RDP (Remote Desktop Protocol), RDC (Remote Desktop Client) and MSTSC (Microsoft Terminal Service Client) can be accessed by using a simple command MSTSC in RUN from START menu but there is another very good way to use this service from Command Prompt given as under;
1. mstsc.exe {ConnectionFile|/v:server} [/console] [/f] [/w:width /h:height]
-
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.
2. mstsc.exe /edit"ConnectionFile"
3. mstsc.exe /migrate