Remote Desktop Protocol (RDP)#

Remote Desktop Protocol (RDP) is a multi-channel protocol that allows a user to connect to a computer running Microsoft Terminal Services. Clients exist for most versions of Windows (including handheld versions), and other operating systems such as Linux, FreeBSD, Solaris, Mac OS X, and PalmOS.

The server listens by default on TCP port 3389. Microsoft refers to the official RDP client software as either Remote Desktop Connection (RDC) or Terminal Services Client (TSC).

Terminal Services Keyboard Shortcuts#

We often end up using RDP to get to out Clients machines. Often can not remember what those funky key strokes are to do this or that.
Key combinationFunctionSimilar local keys
CTRL+ALT+ENDOpens the Windows Security dialog boxCTRL+ALT+DELETE
CTRL+ALT+BREAKToggles the Terminal Services client display from window to full screenNONE
ALT+INSERTCycles through running programs on the remote computerALT+TAB
ALT+HOMEDisplays the remote computer's Start menu
ALT+Page UPCycles form right-to-left through the current taskbar screens
ALT+Page DOWNCycles form left-to-right through the current taskbar screens
ALT+DELETEDisplays the remote window's Control menuALT+SPACE BAR
CTRL+ALT+NUMBER PAD MINUSPlaces an image of active window onto the TS clipboardALT+PRINT SCREEN
CTRL+ALT+NUMBER PAD PLUSPlaces an image of the entire Terminal Services client on the Terminal Services clipboard

Watch version Differences#

There are many versions with differeing syntax for accomplishing the same functions.

Vista Version#

6.1 is included with the following operating systems:
  • Windows Server 2008
  • Windows Vista Service Pack 1 (SP1) Beta and RC
  • Windows XP Service Pack 3 (SP3) Beta and RC

Syntax#

MSTSC [<connection file>] [/v:<server[:port]>] [/Admin] [/f[ull screen]] [/w:<width> /h:<heigth>][/public]|[/span][/edit connection file"][/migrate]

Parameters#

ParameterDescription
<Connection File>Specifies the name of an .rdp file for the connection.
/v:<Server(:<Port>)Specifies the remote computer and, optionally, the port number to which you want to connect.
/adminConnects you to a session for administering the server.
/fStarts Remote Desktop Connection in full-screen mode.
/w:<Width>Specifies the width of the Remote Desktop window.
/h:<Height>Specifies the height of the Remote Desktop window.
/publicRuns Remote Desktop in public mode. In public mode, passwords and bitmaps are not cached.
/spanMatches the Remote Desktop width and height with the local virtual desktop, spanning across multiple monitors if necessary.
/edit <Connection File>Opens the specified .rdp file for editing.
/migrateMigrates legacy connection files that were created with Client Connection Manager to new .rdp connection files.
/?Displays help at the command prompt.

XP or w2k3 #

Syntax#

mstsc.exe {ConnectionFile | /v:ServerName[:Port]} [/console] [/f] [/w:Width/h:Height]

Parameters#

ParameterDescription
<Connection File>Specifies the name of an .rdp file for the connection.
/v:<Server(:<Port>)Specifies the remote computer and, optionally, the port number to which you want to connect.
/consoleConnects you to a session for administering the server.
/fStarts Remote Desktop Connection in full-screen mode.
/w:<Width>Specifies the width of the Remote Desktop window.
/h:<Height>Specifies the height of the Remote Desktop window.
/spanMatches the Remote Desktop width and height with the local virtual desktop, spanning across multiple monitors if necessary.
/edit <Connection File>Opens the specified .rdp file for editing.
/migrateMigrates legacy connection files that were created with Client Connection Manager to new .rdp connection files.
/?Displays help at the command prompt.

Notes#

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

default.rdp is stored for each user as a hidden file in My Documents. User created .rdp files are stored by default in My Documents but can be moved anywhere.

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-12) was last changed on 06-Jun-2008 01:14 by jim