Pages

Sunday, June 21, 2015

Remote Desktop, mstsc options.

Remote Desktop, mstsc, options

useful options when using mstsc

mstsc /v:222:333:444:555
  Connect to server 222:333:444:555

mstsc /v:222:333:444:555:44
  Connect to server 222:333:444:555 on port 44

mstsc /v:222:333:444:555 /f 
  Starts Remote Desktop Connection in full-screen mode.

mstsc /v:222:333:444:555 /span 
  Matches the remote desktop width and height with the local virtual desktop

mstsc /v:222:333:444:555 /w:[width] /h:[height] 
  Starts Remote Desktop Connection in width and height.

mstsc /v:222:333:444:555 /edit  "connection file"
  Opens  "connection file".rdp for editing

mstsc /v:222:333:444:555 /console
  An older (before Windows 7 and Windows Server 2008) syntax.
  By using it you're connecting to the Console Session on the server. 

mstsc /v:222:333:444:555 /admin
  This mode differed from normal connection in few ways: 
  Disable Remote Desktop Services client access licensing, and other minor changes.

mstsc /v:222:333:444:555 /public
  Connect to server 222:333:444:555 in public mode.


console and admin connection modes
In Windows Server 2003, you can start the RDC client (mstsc.exe) by using the /console switch to remotely connect to the physical console session on the server (also known as session 0). 
In Windows Server 2008 or Windows Server 2008 R2, the /console switch has been deprecated. 

In Windows Server 2008 and Windows Server 2008 R2, session 0 is a noninteractive session that is reserved for services. 


You can use the new /admin switch to remotely connect to a Windows Server 2008-based server for administrative purposes.

If you you /console option with RDC 6.0 client or higher, the /console switch is silently ignored.

tsadminStart -> Run -> tsadmin -> Would open a window of Terminal Services Manager.
This is a way to connect to other Terminal Server sessions on a server.

No comments:

Post a Comment