OpenTC

From DanIT
Revision as of 18:47, 23 September 2021 by Dan (talk | contribs)
Jump to navigation Jump to search

OpenTC is an open-source login portal for Windows that replaces the default Windows Explorer Shell. It enables the end user to solely connect to given Remote Desktop environments, and prevents them from accessing the desktop and other features.
For background information on the source code and development process, please see test.

Features

  • Set a custom logo, background, and theme color.
  • Support-button tells users how to contact support, provides them with useful information for the engineer.
  • Add Remote Desktop environments for the user to choose from, by simply uploading .rdp files to the computer.
  • Users no longer have to login to a default user on a Thin Client, nor having to load the Desktop and manually click an RDP-icon.
  • Prevents users from accessing the desktop, start menu, and other Windows features.
  • It is still possible to access the desktop for administrative purposes (password required).

Modes

OpenTC comes in 3 flavours; standalone, server, and server + smartcard.
Standalone: This version is client-only and does not require an OpenTC server.
Server: Tells the users beforehand if their account is blocked or the credentials incorrect. You can also change your password when expired.
Server + Smartcard: Same as server, but the user can login without entering a password by placing their smartcard on a reader.

Downloads

Client: (v0.1a)
Server: N/A
Sourcecode:
Changelog:

Setup

Client

Setup Script

Provided with the client files, comes the setup script (PowerShell).
You can run the script and edit the default settings before configuring the computer as an OpenTC Client.

Settings

During the setup you will be able to configure some settings, these settings are stored in the registry under the key "HKEY_LOCAL_MACHINE\SOFTWARE\OpenTC\Client\Settings".

Name Value Note
Background Path to the background image e.g. "background.jpg"
Logo Path to the logo image e.g. "logo.jpg"
Language Path to the language file e.g. "english.txt"
RDP Path to the folder with the .rdp file(s) e.g. "C:\RDP"
Mode 0 = Standalone, 1 = Server
Server When on server mode, enter IP:Port e.g. "10.0.0.1:1234"
ShutDown Allow client to be shut down, 0 = Disabled, 1 = Enabled

With path values you may use only the filename and extension if they are located next to the OpenTC executable, use the full path if they are stored at another location.

Images

Both the background and the logo can be used in JPG or PNG format.
The background image can be any size, but will be automatically stretched (when mismatched) to fit the resolution of the screen.
The logo image must be provided in 464x128 resolution.

Language

Any text and buttons within OpenTC are changable, you can open the provided english.txt file and change things as you like.
In the settings you can change the path to the language file that needs to be used by the client.

The text in the support dialog is customizable. Use \n for a new line, %hostname% for the computer name, %ip% for the IP-address and %mac% for the MAC-address.
You can hide the support button by changing the "Support" text translation to be empty.

Server