OpenTC

From DanIT
Revision as of 02:13, 30 April 2025 by Dan (talk | contribs)
Jump to navigation Jump to search

About

OpenTC Login.png

OpenTC is login portal for Remote Desktop Connections on Windows, it replaces the default shell and explorer.
It provides end-users with a closed environment, and prevents them from accessing features outside the Remote Desktop connection.
This project has been setup as a free and open-source alternative to professionalize using Thin Clients.

OpenTC Development

Features

  • Provide a closed environment for the user dedicated to connect to one or multiple Remote Desktop farms or server.
  • Prevents users from accessing the local desktop, start menu, and other Windows features.
  • Add Remote Desktop environments for the user to choose from, by simply uploading .rdp files to the client.
  • A support button provides users with useful information, like how to contact local support and computer specifications.
  • Set a custom background and logo for the login portal.
  • Dynamically and easily be able to change settings, images, and language.
  • Chose to Single Sign-On (SSO) with a Smartcard instead of a password. *
  • Ability to change the password when it's expired. *
  • The client can be remote controlled (shadowed) by administrators for support or administrative purposes.
  • Administrators can still access the default desktop when needed.
  • Free and open-source

Requirements

  • Windows 98 SE or higher
  • Remote Desktop Connection (MSTSC) v5.0 or higher
  • .NET Framework 2.0

Downloads

OpenTC v1.0:
OpenTC v1.0 Source Code:

Settings

The settings are stored in the registry under the key "HKEY_LOCAL_MACHINE\SOFTWARE\OpenTC".

Setting Description Value
Background Path to the background image e.g. "C:\Background.jpg"
Logo Path to the logo image e.g. "C:\Logo.jpg"
Language Path to the language file e.g. "C:\English.txt"
RDP Path to the folder with the .rdp file(s) e.g. "C:\RDP\"
Power Power button behaviour "Disabled", "Shutdown", or "Restart"

When using no full directory path, it will automatically look for the file or folder in the same directory as the executable.

Images

The background image will be shown on all monitors, and will be automatically stretched to fit the screen.
The logo image must be provided in 400x100 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.

Support

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 "HELP" text translation to be empty.

RDP

The Remote Desktop connections that the user can select from are all the .rdp files from the RDP folder.

Make sure the following settings have been applied for .rdp files:

Setting Value File Value
User name yourdomainname\ "username:s:yourdomainname\"
Allow me to save credentials Checked ☑ "prompt for credentials:i:0"
Display size Full Screen "screen mode id:i:2"
Display the connection bar when I use the full screen Unchecked ☐ "displayconnectionbar:i:0"
Use my RD Gateway credentials for the remote computer Checked ☑ "promptcredentialonce:i:1"
If server authentification fails Connect and don't warn me "authentication level:i:0"

Replace "yourdomainname" with the actual domain name of the remote computer.