Command Line Activation
NCache can also be activated via command line. This will help the users to automate the process of NCache Activation. The tool NActivate.exe
is a console
application and can be found inside [InstallDir]/bin/NActivate
folder.
Enter the following command to activate your copy of NCache:
nactivate /k R4179Gba-b1f296-78F6U590 /f Paul /l Jones /e paul@alachisoft.com [option[...]]
Your copy of NCache is successfully activated. You can customize the activation process through the following properties:
Switch/Properties | Purpose |
---|---|
/k (Required) / --licensekey |
Specifies the License key you received from Alachisoft |
/f (Required) / --firstname |
Specifies first name of the user |
/l (Required) / --lastname |
Specifies last name of the user |
/e (Required) / --email |
Specifies last name of the user |
/m / --manual |
Generates the authentication code for manual activation which is sent to Alachisoft Support at support@alachisoft.com. |
/comp / --company |
Specifies user’s company name |
/a / --address |
Specifies address of the user |
/city / --city |
Specifies city name of the user |
/s / --state |
Specifies state of the user |
/c[ountry] / --country |
Specifies country of the user |
/z / --zip |
Specifies postal/zip code of the user |
/p / --phone |
Specifies phone number of the user |
/nologo / --nologo |
Suppresses displaying the logo banner |
/? / --help |
Displays command syntax and options for the utility. |
Examples
- The following command activates NCache on a machine.
nactivate /k R4179Gba-b1f296-78F6U590 /f Paul /l Jones /e paul@alachisoft.com
- The following command generates the authentication code for manual activation which is to be copied and sent to Alachisoft support.
nactivate /k R4179Gba-b1f296-78F6U590 /f Paul /l Jones /e paul@alachisoft.com /m
- The following command displays command syntax and options for the utility. Logo banner is displayed as a part.
nactivate /?
- The following command displays command syntax and options for the utility suppressing the display of logo banner.
nactivate /? /nologo
Troubleshooting
NCache Activation Error
In some situations, while trying to launch NActivate tool, following error message is shown:
Error: "This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem."
Cause
This error message occurs usually when VC++ libraries are not installed. NActivate tool uses assemblies developed in VC++. Windows 2003 installation does not install Visual C++ Libraries required to run applications developed with Visual C++ on a computer that does not have Visual C++ 2005 SP1 installed.
Workaround
Install redistributable package from Microsoft. It will install all the required libraries. You can download redistributable package from the following link:
http://www.microsoft.com/en-us/download/details.aspx?id=26347