Page tree
Skip to end of metadata
Go to start of metadata
The information on this page refers to LM-X v4.5.2 and newer, which added the ability to use a remote time server for SYSTEMCLOCKCHECK and changed functionality for the LmxResetSystemClock tool. If you are using an older version of LM-X, refer to documentation for earlier versions. 

LM-X can perform a clock check on the client side when calling LMX_Checkout() to ensure users have not backdated or tampered with their system clock. If tampering is detected, the user will be unable to check out the license and will be given an error regarding the invalid system clock time. The license server does a background check every 10 minutes, and if the clock has been tampered with, the license server shuts down.

This helps prevent unauthorized use of the software; for example, a user attempting to extend the end date of a trial license. Note that any clock discrepancy of less than 24 hours will not be detected as tampering. For example, a user can change the clock to reflect a different time zone without causing an error.

A system clock check is done using the local file system by default, depending on the license type as shown in the following table. You may change the system clock check to check time on a remote Network Time Protocol (NTP) time server instead of the local file system, or you can disable system clock check. For more information, see FEATURE settings.

License TypeDefault System Clock Check Behavior
LocalCheck system clock only when end date is set. Otherwise, do not check system clock.
NetworkDo not check system clock.
TrialCheck system clock.
GraceDo not check system clock.
BorrowDo not check system clock.

The system clock check evaluates several criteria to determine whether the system time has been tampered with. Under some circumstances, the check can return a false positive. For example, a user might accidentally change the clock to a future time. Normally, the user can reset the system clock to the correct time to resolve the issue; however, in some cases this may not work.

To resolve such individual cases, you can send the user the LmxResetSystemClock tool (included in the LM-X distribution). The user can run this tool to fix the problem in most cases. A connection to the internet is required when using the LmxResetSystemClock tool in order to verify that the clock is set to the correct date. If an incorrect date is detected, a warning message will instruct the user to set the correct date and re-run the tool. The tool requires the clock to be correct before applying fixes, so can be run any number of times. The following shows an example of running the LmxResetSystemClock tool:

C:\lm-x>lmxresetsystemclock.exe 
LM-X Reset System Clock Utility v4.5.2
Copyright (C) 2002-2013 X-Formation. All rights reserved.

Number of fixes: 2