My First Post      My Facebook Profile      My MeOnShow Profile      W3LC Facebook Page      Learners Consortium Group      Job Portal      Shopping


Wednesday, September 12, 2012

Mstsc options - Remote Desktop switches -RDP Windows

I have been using mstsc command for long. But there were so many options with it which I wasn't aware. It is less known to many that there is a list of available switches for rdp session i.e. Remote Desktop

Simple run: start -> run -> "mstsc.exe"

mstsc.exe {ConnectionFile | /ververName[ort]} [/console] [/f] [/w:Width/h:Height]


There are several parameters:

ConnectionFile Specifies the name of an .rdp file for the connection.
/ververName[ ort] Specifies the remote computer and, optionally, the port number to which you want to connect.
/console Connects to the console session of the specified Windows Server 2003 family operating system.
/f Starts Remote Desktop connection in full-screen mode.
/w:Width/h:Height Specifies the dimensions of the Remote Desktop screen.
/edit"ConnectionFile" Opens the specified .rdp file for editing.
/migrate Migrates legacy connection files that were created with Client Connection Manager to new .rdp connection files.

You can also control many options in the UI itself. It is self decribed in the UI. For eg. I am attaching a screenshot:

Remarks about RDP session in Windows Operating Systems:
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.

To connect to the console session of a server, type:
mstsc /console

To open a file called filename.rdp for editing, type:
mstsc /edit filename.rdp
Default file is Default.rdp in My documents of Target computer (obviously the docs of Username used to login will be scanned, and not The documents folder of Anwar Jamal Faiz!!)
To know more detail about default.rdp settings please see my earlier blogpost

Remember me in your prayers:
To know about me in details:
Mohd Anwar Jamal Faiz

No comments:

Post a Comment