• Webinars
  • Docs
  • Download
  • Blogs
  • Contact Us
Show / Hide Table of Contents
  • Installation Guide for NCache
  • Installation Guide for .NET
    • Getting Started
    • Command Line Installation
    • Interactive Windows Installation
    • Network Install with PowerShell
      • Remote Installation
      • Remote Uninstallation
      • Activate NCache Purchased License
    • Evaluation Period Expiration & Extension
    • Activate NCache Purchased License (GUI)
      • Online Activation
      • Manual Activation
    • Deactivate NCache Purchased License (GUI)
      • Online Deactivation
      • Manual Deactivation
    • Command Line License Activation
  • Installation Guide for NCache Java Client
    • What is NCache Java Client?
    • Getting Started
    • Installation Steps for UNIX
    • Post Installation License Management for UNIX
    • Post Installation Client/Server Configuration for UNIX
    • Uninstall NCache Java Client from UNIX
    • Troubleshooting Common Install/Uninstall Problems
  • Licensing Model

Activate NCache Purchased License

This PowerShell script lets you activate NCache license on remote machines. It makes your administrative tasks easy when you have many servers to activate because you do not have to manually activate the license on each server.

You should have internet access on all the machines where you want to activate NCache through the PowerShell script. Internally, this script uses command line tool NActivate.exe of NCache. You provide valid admin user ID and password that has the permissions to execute commands on remote machine.

To activate NCache remotely, you need to use the PowerShell script ActivateNCache.ps1 shipped with NCache. This is located at %NCHOME%/Integrations/PowerShell.

Pre-requisites:

  • All remote machines must be logged in as Administrator.
  • The NCache setup MSI file must be placed in the same location on all remote machines.

To remote activate NCache license, do the following:

  1. From the machine from where you’re activating NCache remotely, search for Windows PowerShell and select Run as Administrator.

  2. Go to the directory %NCHOME%/Integrations/PowerShell.

  3. Execute the following command, modifying the values according to your environment. Note that this example activates NCache license on three machines (20.200.20.29,20.200.20.30 and 20.200.20.31)with credentials for John Smith. It is assumed that NCache is installed on the default path C:/Program Files.

ActivateNCache.ps1 /k xxxxxxxx-xxxxxx-xxxxxxxx /f John /l Smith /email john@alachisoft.com /servers 20.200.20.29 20.200.20.30 20.200.20.31 /uid Administrator /pwd adminPassword

Remote Activation Properties

Argument Description
/k key The license key received from Alachisoft Sales upon purchasing NCache.
/f first-name First name of the user.
/l last-name Last name of the user.
/email email-address Email address of the user.
/uid A valid user name for the administrator's account that has permissions to execute the command on remote machine.
/pwd Valid password for the administrator's account.
Option Description
/servers server-names Allows the user to specify a comma separated list of names or IPs of the machines on which NCache is to be activated.
/a address Allows users to specify the company's address
/city city-name Allows users to specify the edition of NCache. Default is "0".
/s state Allows users to specify state name
/c country-name Allows users to specify the country name.
/p phone-number Allows users to specify the company's phone number.
/z zip-code Allows users to specify the zip code
/? Displays command syntax and options for the utility.
Back to top Copyright © 2017 Alachisoft