← Back to Knowledge Base

KB #240132: Test if your License/Activation is valid

⏱️ 2 min read

Type:

Info

Summary:

If you have a License and made some significant changes to your machine, this could invalidate your activation. If you have a Temporary, Evaluation or Lease license, you can test to see if it has expired or how many days are left prior to expiration. The utility below, NLSTATUS, can help quickly report the status of your license.

Additional Information:

Instructions for use:

  • download the NLSTATUS utility.
  • copy NLSTATUS.EXE onto the desktop of the machine that you want to test.
  • Double-click it to run.
  • It will display a pop-up with information:
    •  Invalid or Missing License
    • Expired License
    • Non-expiring License
    • XX Days Left (when Temporary or Evaluation License)

 

Optional:

If you would like to build this into a script, you can use /S so that the results do not pop-up on screen, but are returned programmatically as ERRORLEVEL.

It returns ERRORLEVEL:

  • 10000 if non-expiring
  • 0 if expired
  • -1 if invalid or missing key
  • Otherwise, number days remaining

For example, you can put this into a command CMD script (e.g., TEST1.CMD) and run it:

@ECHO OFF
SETLOCAL
NLSTATUS.EXE /S
SET /A RET=%ERRORLEVEL%
if %RET% EQU 10000 (
ECHO Non-Exiring License
) else if %RET% EQU 0 (
echo Expired License
) else if %RET% EQU -1 (
echo Invalid or missing license
) else (
echo Days left^=%RET%
)

Related Topics:

240102: Encrypted Databases not accessible (Recovery Pending, Suspect)

240085: SQL will not start – related articles

240086: fn_n_keycount() returns Zero, when greater than Zero expected

240134: Error message: The current license has failed validation.

Was this article helpful?

Related Articles

KB #240060: Upgrading from an evaluation version to production version of Encryptionizer

Type: Info Summary: You have purchased a production license of Encryptionzier and would like to…

KB #240038: SQL database backups to a Mapped Drive are not encrypted

Type: Fixed This issue is resolved with Encryptionizer (x86) driver version 2008.401.4 or later. Summary:…

KB #240105: How to transfer an Encryptionizer license from one machine to another (Build 2019.1210.31152 or earlier)

Type: Information Summary: You are upgrading a machine or otherwise need to move an installation…

Still need help?

Our support team is here to assist you.

NetLib Security
AI Assistant · Online
Hi! I'm the NetLib Security assistant. I can answer questions about our encryption solutions, HIPAA compliance, Encryptionizer, and more. How can I help you today?