How to Activate NCache Using PowerShell

Once you download NCache, Alachisoft Support emails you an installation key. Using this installation key, you can install and then use NCache in evaluation mode, but it is strongly recommended that you activate NCache and run an activated version of NCache in all your environments.

You can use the Register-NCache PowerShell cmdlet with a license key to activate NCache. This license key can be obtained from Alachisoft Sales. NCache allows two modes of activation, both of which are explained below:

Online Activation

The online mode of activation is used when your NCache server has access to the internet. It’s a very simple process. Just follow the steps below:

  • Execute the following command in PowerShell by providing license key (which you received from Alachisoft Sales on the purchase of NCache) with the Key parameter.
  • Register-NCache -Key xxxxxxxx-xxxxxx-xxxxxxxx -Environment Production -Clients 10 -FirstName John -LastName Smith -Email john@yourdomain.com -Company your_company_name
  • On successful activation of your license, you will be prompted with a success message.

Offline Activation

The offline mode of activation is used when your server doesn’t have access to the internet or the outbound traffic from your system is limited due to some security constraints. Follow the steps below to activate your license offline:

  • Step 1: Generate Activation Request Code URL

    Execute the following command in PowerShell to generate your Activation Request Code URL by providing the license key (which you got from Alachisoft Sales on the purchase of NCache) with the Key parameter.

    Register-NCache -Key xxxxxxxx-xxxxxx-xxxxxxxx -Environment Production -Clients 10 -FirstName John -LastName Smith -Email john@yourdomain.com -Company your_company_name -OfflineActivate
  • Step 2: Generate Activation Authorization Code

    Open the generated Activation Request Code URL on a machine that has internet access. This will open the Activation Verification Page. Verify your information and click Activate!. This will redirect you to a page with the Activation Authorization Code. Copy this code.

  • Step 3: Activate NCache

    Execute the following PowerShell command on the machine where you are trying to activate your NCache license by providing the copied Activation Authorization Code with the AuthCode parameter.

    Register-NCache -AuthCode <Activation Authorization Code> -OfflineActivate

    On successful activation of NCache, you will be prompted with a success message.

Verify Activation

You can verify successful activation of your copy of NCache via the Get-NCacheVersion PowerShell cmdlet on your machine.

What to Do Next?

Signup for monthly email newsletter to get latest updates.

© Copyright Alachisoft 2002 - . All rights reserved. NCache is a registered trademark of Diyatech Corp.