MSTSC /v: /admin /f[ullscreen /w: /h: /public | /span /multimon /migrate /edit "connection file" "connection file" - Specifies ...

MSTSC [] [/v:] [/admin] [/f[ullscreen]] [/w: /h:] [/public] | [/span] [/multimon] [/migrate] [/edit "connection file"]

"connection file" -- Specifies the name of an .RDP file for the connection.

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

/admin -- Connects you to the session for administering a server.

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

/w: -- Specifies the width of the Remote Desktop window.

/h: -- Specifies the height of the Remote Desktop window.

/public -- Runs Remote Desktop in public mode.

/span -- Matches the remote desktop width and height with the local virtual desktop, spanning across multiple monitors, if necessary. To span across monitors, the monitors must be arranged to form a rectangle.

/multimon -- Configures the remote desktop session monitor layout to be identical to the current client-side configuration.

/edit -- Opens the specified .RDP connection file for editing.

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