Wednesday, March 19, 2008

MSTSC

MSTSC is the Microsoft Terminal Services Client remote desktop utility which allows you to connect to Microsoft Terminal Services on
a remote client or server. Essentially you can connect to the desk top of another Windows based client or desktop which has Remote
Desktop enabled.

To enable Remote Desktop Access on a Windows based client or server which support Terminal Services:

- Right click on "My Computer"
- Click on the "Remote" Tab
- Check "All users to connect remotely to this computer"



When working with Oracle on remote systems ( or any other critical application ) the recommended approach for using mstsc is
as follow:

Go to Start , Run and type the following:

mstsc -v:<servername> /F -console

This will connect you to the server and if the session is terminated any running process from this session will not be terminated.

Running the following

mstsc <servername>

Will connect you to the server and if the session is terminated any running process from this session will be terminated also.
Parameters
/v:ServerName[ :Port]
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.

No comments: