Reactivate NCache License for .NET Core
The minimum number of licenses required for activation is 2 for a machine having up to 8 cores. However, after 8 cores, the number of licenses is incremented by 1 with every 4 cores added.
Once you have reached the limit specified for an additional license, you need to reactivate your existing license.
You can reactivate your license using the license key obtained from Alachisoft through Command line and PowerShell tools.
Command Line Reactivation
Online Reactivation
- For online license reactivation, go to the
/opt/ncache/bin/activation
folder of NCache, where the activation script is placed.
cd /opt/ncache/bin/activation
In the Linux terminal, execute the following command.
- For client-server licensing, you need to specify environment with
-v
parameter and number of client licenses with-n
parameter.
- For client-server licensing, you need to specify environment with
sudo ./activate -r -f <FirstName> -l <LastName> -e <EmailAddress> -k XXXXXXXX-XXXXXX-XXXXXXXX -v QA -n 10
Note
The -r
parameter specifies reactivation.
The reactivation key will be provided to you by Alachisoft Sales.
After running this command, you will be displayed with a confirmation message saying "Thank you for the reactivation of license."
Manual Reactivation
To manually reactivate your license, you need to generate an activation request code to be sent to Alachisoft Sales in order to receive the activation authentication key from Alachisoft.
- In Linux terminal, go to the
/opt/ncache/bin/activation
folder of NCache, where the activation script is placed.
cd /opt/ncache/bin/activation
In the Linux terminal, execute the following command with activation key specified in the
-k
field:- For client-server licensing, you need to specify environment with
-v
parameter and number of client licenses with-n
parameter.
- For client-server licensing, you need to specify environment with
sudo ./activate -r -f <FirstName> -l <LastName> -e <EmailAddress> -k XXXXXXXX-XXXXXX-XXXXXXXX -v QA -n 10 -m
Note
The -m
parameter specifies manual installation.
You will be prompted with a long encrypted text on the screen. This is the Activation Request Code.
Copy this code from the screen to obtain the Activation Authentication Key. You can do this two ways:
Method 1: Get Key from Alachisoft Sales
Email this code to Alachisoft Sales at sales@alachisoft.com.
You will receive the Activation Authentication key from Alachisoft Sales. Save this key as it is to be used in the proceeding steps.
Method 2: Get Key via NCache Email Activation
On your web browser, open the following page:
https://app.alachisoft.com/admin/customer_console/main.phpEnter your license key obtained from Alachisoft upon purchase of NCache and click Find.
The next page shows license details and related information. Click on the Activate NCache link.
Paste the Activation Request Code into the text box on this page and click Verify.
This opens up the Activation Data Verification page, which shows Product information, User Information and Machine Information.
Once you have verified that the information is correct, click on the Activate! button at the bottom of the page.
This opens up the Activation Result page, showing the Generated Authentication Key. Save this key as it is to be used in the proceeding steps.
On Linux terminal, enter the following command using the generated authentication key against the
-auth
parameter.
sudo ./activate -auth <authentication_key>
- On successful activation, you are prompted with a message
Thank you for activating NCache
.
Licensing Command Properties
Properties | Purpose |
---|---|
-k (Required) |
Specifies the License key you received from Alachisoft |
-f (Required) |
Specifies first name of the user |
-l (Required) |
Specifies last name of the user |
-e (Required) |
Specifies email address of the user |
-m |
Specifies manual reactivation |
-r |
Specifies reactivation |
-d |
Specifies deactivation |
-v |
Specifies environment (Sever Activated Only) |
-n |
Specifies the number of clients (Sever Activated Only) |
PowerShell Reactivation
You can reactivate your license using PowerShell. NCache allows two activation modes: online and manual.
Launch PowerShell
From a terminal of your choice, launch PowerShell by typing the following command:
> pwsh
A PS
at the start of the new line in your terminal will indicate PowerShell has been launched.
Import NCache PowerShell module to execute NCache tools:
PS > Import-Module /opt/ncache/bin/tools/ncacheps/
Online Activation
Execute the following command, where the license key (you got upon purchasing NCache from Alachisoft) is provided with the
-Key
parameter. Note that the first name, last name and email address are compulsory parameters.For client-server licensing, you need to specify
-Environment
and-Clients
.Register-NCache -Reactivation -Key xxxxxxxx-xxxxxx-xxxxxxxx -Environment Production -Clients 10 -FirstName Paul -LastName Jones -Email paul.jones@alachisoft.com -Company Alachisoft
On successful activation of license, you are prompted with a success message Thank you for registering your copy of NCache.
Manual Activation
Manual activation requires generating an activation request code and sending it to Alachisoft Sales to receive the activation authentication key from Alachisoft.
Execute the following command to generate the authorization code. This is specified with the
-ManualActivation
parameter. The license key (you got upon purchasing NCache from Alachisoft) is provided with the-Key
parameter.For client-server licensing, you need to specify
-Environment
and-Clients
.Register-NCache -Reactivation -Key xxxxxxxx-xxxxxx-xxxxxxxx -Environment Production -Clients 10 -FirstName Paul -LastName Jones -Email paul.jones@alachisoft.com -Company Alachisoft -ManualActivation
You will be prompted with a long encrypted text on the screen. This is the Activation Request Code.
Copy this code from the screen to obtain the Activation Authentication Key. You can do this two ways:
Method 1: Get Key from Alachisoft Sales
Email this code to Alachisoft Sales at sales@alachisoft.com.
You will receive the Activation Authentication key from Alachisoft Sales. Save this key as it is to be used in the proceeding steps.
Method 2: Get Key via NCache Email Activation
On your web browser, open the following page:
https://app.alachisoft.com/admin/customer_console/main.phpEnter your license key obtained from Alachisoft upon purchase of NCache and click Find.
The next page shows license details and related information. Click on the Activate NCache link.
Paste the Activation Request Code into the text box on this page and click Verify.
This opens up the Activation Data Verification page, which shows Product information, User Information and Machine Information.
Once you have verified that the information is correct, click on the Activate! button at the bottom of the page.
This opens up the Activation Result page, showing the Generated Authentication Key. Save this key as it is to be used in the proceeding steps.
On PowerShell, enter the following command using the generated authentication key against the
-AuthCode
parameter.Register-NCache -AuthCode <authentication_key>
On successful reactivation, you are prompted with a message Thank you for activating NCache.
See Also
Activate License
Deactivate License
Evaluation Period Management