CHARON on Windows - Charon License Utility
Version: 1.6 - Published: May 30, 2023
This document relates to Charon License Utility versions 2.3, 2.4 and 2.5 (dated 30-May-2023). To get the download link, please contact us.
Table of contents
Introduction
This utility allows the installation/uninstallation of the 'Sentinel LDK License Manager' service and drivers. It enables the use of USB license dongles and Software Licenses (SL) management.
It can be used to install a Windows server as a license server with software licenses or USB network licenses (red dongles) or simply to easily update USB dongle licenses from a server/laptop/desktop where Charon-AXP/VAX/PDP is not installed.
It can be installed even if Charon-AXP/VAX/PDP is already installed.
Features:
Easy installation/uninstallation of the driver
Read license content
working even from a remote desktop connection (RDP) → this requires the utility to be executed as Administrator
highlights on license expiration date
Removing a Software License (SL)
Access to Sentinel Admin Control Center
Access to update license utility
Stop/start 'Sentinel LDK License Manager' service
License expiration check with alerts sent as Windows Application Event or email or custom script
Prerequisites
Powershell 5.1*
To get the update, please open the page: https://docs.microsoft.com/en-us/powershell/scripting/windows-powershell/install/installing-windows-powershell.NET Framework 4.6 minimum installed, 4.8 recommended. Installed by default on Windows 10, 11, 2016, 2019 and 2022. For older versions of Windows, this has to be installed manually.
For more, see: https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/versions-and-dependencies
*: If you installed PowerShell 7, please ensure PowerShell 5.1 is installed (not 4.0)
If PowerShell 5.1 or .NET 4.8 is not installed
Manual driver installation:
Open a cmd.exe window as an administrator and move to the folder "
C:\Program Files\CHARON\Charon License Utility"Remove old version of CHARON license driver (if any): "
> haspdinst -fr -kp -nomsg"Install the License driver using the following command: "
> haspdinst -i"Copy the file "
haspvlib_68704.dll" to "C:\Program Files (x86)\Common Files\Aladdin Shared\HASP" (in case of x64 host) or "C:\Program Files\Common Files\Aladdin Shared\HASP" (in case of x86 host)
Usage:
Run the "
RUS_OQEDC" program to update licenses (get C2V file and apply V2C file)Run the "
hasp_view" program to view the license contentOpen your web browser and go to "http://localhost:1947" page to access the Sentinel Admin Control Center
Installation
Run the installer (.msi file). Once the kit (.msi file) is installed, a shortcut will be created on the desktop and in the Windows start menu.
When installing the utility for the first time, you'll need to install the driver if not already installed.
You can right-click anywhere in the form and get information on the utility and release notes.
Usage
Run the utility by double clicking on the desktop shortcut or open the Windows menu and run "Charon License Utility".
Home page description
Hovering over a button with the mouse will provide details.
A right click anywhere in the form will open a drop-down menu to display 'About (this utility)' and 'Release Notes'.
Display license content
Example with USB dongle
Example with cloned software license
This software license is in cloned state as confirmed by the Sentinel Admin Control Center:
Possible reasons for cloned state are detailed here: HASP Software Licensing restrictions.
Package version versus installed version
This option allows you to check if the driver version installed is more recent or not than the one provided with the license utility.
Stop/start Sentinel License service
This option is used to stop the 'Sentinel LDK License Manager' service if it is running or to start it if not.
Software License removal
A popup window is displayed containing the software license key id, please answer yes or no to delete it or not:
If at least one license is deleted, a request is made to restart the 'Sentinel LDK License Manager' service:
If a Charon emulator (service) is running, a confirmation is requested to force the restart:
Removing a software license does not erase the file, it is archived in %programdata%\CharonLicenseUtility folder with date/time as extension so that it can be restored in case of mistake.
License expiration check settings
This utility requires PowerShell 5.1 and .Net framework 4.6 minimum and cannot work on Windows 2008 due to several PowerShell commands not compatible with this version.
If you need to install a license expiration check for Windows 2008, use the old script that has to be installed manually: CHARON on Windows - Automated License Expiration Check
Click the "License expiration check settings" button: