Use this command
Mstsc/console/v Remote Server machine name or IP address
==================
Note: The mstsc tool version in win7 has been upgraded and the/console parameter is no longer supported. The/admin parameter is replaced.
Therefore, you can use the following command
Mstsc/console/v Remote Server machine name or IP Address: Port
If this does not work, you can use "mstsc/?" In the dos window /? ", View the detailed mstsc parameters. This is the solution.
==============================================
Syntax of the Remote Desktop Connection command line
Syntax
Mstsc [<connection file>] [/v: <server [: port]>] [/console] [/f [ullscreen] [/w: <width>] [/h: Command line parameters of Remote Desktop Connection
Parameters |
Description |
/V: <server [: port]> |
Specify the remote computer to connect. |
/Console |
Connect you to a session that is logged on from the console of a Server running Windows Server 2003 or a Server installed with the terminal Server role service. |
/F |
Start "Remote Desktop Connection" in full screen mode ". |
/W: <width> |
Specify the width of the Remote Desktop Connection window. |
/H: |
Specify the height of the Remote Desktop Connection window. |
/Public |
Run the Remote Desktop Connection in public mode. |
/Span |
Make the Remote Desktop width and height match the local virtual desktop, and expand to multiple monitors if necessary. To expand to multiple monitors, all displays must have the same height and be arranged vertically. |
/Edit |
Open the specified. rdp connection file and edit it. |
/Migrate |
Migrate the old connection file created by the Client Connection Manager to the new. rdp connection file. |
/? |
List these parameters |