Reactivate License
NCache license needs to be reactivated on a machine (that is already activated) in one of the following two cases:
Logical processor Change Or RAM Change
In case you increase the number of logical processors (on an activated machine) or increase the RAM to a number where the requirement for an additional license becomes valid, you need to reactivate your license.
License Period Expiration
In the case of subscription-based licensing, the customer is notified 60 days before the license period expires. NCache provides an auto-renewal feature for renewing your license. The auto-renewal feature (if activated) will check for any next subscription so that the user gets their license reactivated for the next period (i.e., the next year after license expiration) automatically.
Auto-renewal is ON by default, and NCache tries to run this feature on all cache servers and clients 30 days before the license expiration.
If the user doesn't want to continue using the same machine in the next subscription period, they can manually disable the auto-renewal feature. To disable auto-renewal, set the auto-renewal flag to FALSE
in the service configuration file, found in NCache installations as follows:
- .NET: Alachisoft.NCache.Service.exe.config located in %NCHOME%/bin/service
- .NET Core Windows: Alachisoft.NCache.Service.dll.config located in %NCHOME%\bin\service
- .NET Core Linux: Alachisoft.NCache.Daemon.dll.config located in /opt/ncache/bin/service
The following command switches off the auto-renewal of the license for any machine:
<add key="NCacheServer.AutoRenewal" value="False"/>
In case of manual activation or if auto-renewal is disabled, the user gets a WARNING message in Event Logs.
Note
- Auto-renewal starts 30 days before expiry.
- Manual renewal can be done at any time.
If the request for auto-renewal fails after the grace period ends, the user needs to manually renew the NCache license. To renew the license:
Purchase a new license period against the same license key. Contact Alachisoft Sales for this.
Once a new license period is purchased, reactivate your license using the license key obtained from Alachisoft Sales. NCache provides the Register-NCache PowerShell cmdlet to reactivate your license.
PowerShell Reactivation
You can reactivate your license using PowerShell. NCache allows two reactivation modes: online and offline.
Online Reactivation
The reactivation of your NCache license can be performed in online mode when an internet connection is available on the server. The Reactivate
parameter is used to reactivate your license. Just follow the steps below:
Open Windows PowerShell as an administrator.
Execute the following command, where the license key (you got upon purchasing NCache from Alachisoft) is provided with the
Key
parameter, and theReactivate
parameter specifies that you are reactivating your license.
Register-NCache -Reactivate -Key xxxxxxxx-xxxxxx-xxxxxxxx -Environment QA -Clients 4 -FirstName John -LastName Smith -Email john@yourdomain.com -Company your_company_name
- On successful reactivation of your license, you will be prompted with a success message.
Offline Reactivation
The reactivation of your NCache license can be performed in offline mode when an internet connection is not available on the server by specifying the OfflineActivate
parameter. Just follow the steps below:
Open Windows PowerShell as an administrator.
Execute the following command to generate your Reactivation Request Code URL.
Register-NCache -Key xxxxxxxxx-xxxxxx-xxxxxxxx -Environment QA -Clients 6 -FirstName John -LastName Smith -Email john@yourdomain.com -Company your_company_name -OfflineActivate
You will be prompted with a long encrypted text on your screen. This is the Reactivation Request Code URL. Copy this URL.
Paste the URL on a machine that has internet access and open it. It will open the Activation Data Verification Page.
Verify your information and click on the Activate! button at the bottom of the page.
You will be redirected to the Activation Result page. Here you will be prompted with the Activation Authorization Code on your screen. Copy this code.
Use the copied Activation Authorization code on the machine you are trying to reactivate in the following way:
Register-NCache -AuthCode <Activation Authorization Code> -OfflineActivate
- On successful reactivation of your license, you will be prompted with a success message.
See Also
Licensing Model
Activate License
Deactivate License
Evaluation Period Management