Running Cetsc.exe (Windows CE 5.0)
The Windows CE Terminal Services Client (CETSC), Cetsc.exe, is software that enables the Windows CE device to access Windows-based applications on the Terminal Server.
cetsc.exe [<connection file>] [/v:<server[:port]>] [/console] | /?
Parameters
- connectionFile
Specifies the name of a .rdp file for the connection. - **/v:**server[: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 2000 or Windows 2003 server. - /?
Displays a help message that shows the syntax and describes the options for CETSC.
Remarks
The CETSC shell components are contained in %_WINCEROOT%\Public\Rdp\Oak\Uit\cetsc.
The following example shows how to use the connection file that is in the root directory:
cetsc.exe <connection file>.rdp /v:<server name>
If the connection file is not in the root directory, you must specify the path of the file. The following example shows how to specify the path:
cetsc.exe \Windows\<connection file>.rdp /v:<server name>
The cetsc.exe can be configured to use connection settings either from an .rdp file or from the registry. Typically, you would modify the Project.reg file before building and downloading the run-time image. If you are using the Windows Thin Client Shell, the registry information is saved in the registry.
For the cetsc to use the connection settings in the registry, you must add the following registry key for the connection: HKEY_LOCAL_MACHINE\Software\Microsoft\Terminal Server Client\<Connection name>. Under this key, you can add the values shown in Configuring the Terminal Services Client.
In cetsc.exe, /s <Connection name> identifies where the desired RDP connection settings are stored.
To specify a registry key, at a command prompt, type the following:
cetsc /s <Connection name>
The cetsc.exe reads the connection settings from HKCU\Software\Microsoft\Terminal Server Client\<Connection name>.
See Also
RDP OS Design Development | Terminal Services Client Configuration through the .rdp File.| Configuring the Terminal Services Client
Send Feedback on this topic to the authors