Activate NCache License for Linux
If you have purchased an NCache license, you are provided with the license key. This key is used to activate the license using the Register-NCache PowerShell cmdlet. There are two possible modes to activate your NCache license, online and offline.
If NCache is unable to import the PowerShell module to use the supported NCache PowerShell cmdlets, you'll need to do so manually.
NCache license can be activated online when an internet connection is available on the machine. Just follow the steps below:
- Execute the following command, where the license key (you got upon purchasing NCache from Alachisoft) is provided with the
Register-NCache -Key xxxxxxxx-xxxxxx-xxxxxxxx -Environment Production -FirstName John -LastName Smith -Email email@example.com -Company your_company_name
- On successful activation of your license, you will be prompted with a success message.
NCache can be activated offline when an internet connection is not available on the machine by providing the license key and specifying
OfflineActivate parameter. Just follow the steps below:
- Execute the following command to generate your Activation Request Code URL by providing the license key and specifying the
Register-NCache -Key xxxxxxxx-xxxxxx-xxxxxxxx -Environment Production -FirstName John -LastName Smith -Email firstname.lastname@example.org -Company your_company_name -OfflineActivate
You will be prompted with a long encrypted text on the screen. This is the Activation Request Code URL.
Copy this URL from the screen to another machine that has Internet access. It will open Activation Data Verification page.
Once you have verified that the information is correct, click on the Activate! button at the bottom of the page.
This will redirect you to Activation Result page showing the Activation Authorization Code.
Copy the Activation Authorization Code back to this machine and execute the following command in PowerShell by specifying Activation Authorization Code against
Register-NCache -AuthCode <Activation Authorization Code> -OfflineActivate
- On successful activation, you are prompted with a success message.
Evaluation Period Management