Monday, May 17, 2010

How to run Remote Desktop Console using CLi

You can use mstsc to create connections to terminal servers or other remote computers.
For example, to connect to the console session of a server, type:

mstsc /v:servername /console

For addition help, run mstsc /? on cli, whic will provide you all the addtional switches and syntax:

/v:ServerName[:Port] - Specifies the remote computer to which you want to connect and optionally, the port number to which you want to connect.

/console - Connects to the console session of the specified Windows Serve.

/f - Starts Remote Desktop connection 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.

No comments:

Post a Comment