• Products
  • Solutions
  • Customers
  • Resources
  • Company
  • Pricing
  • Download
Try Playground
  • NCache Licenses
  • License Management
  • Activate License
Show / Hide Table of Contents
  • Installation Guide
  • Planning
    • Edition Comparison
    • Capacity Specification
    • Requirements
    • Security Considerations
    • Firewalls & Ports
    • Multiple NCache Versions
  • .NET Edition
    • Prerequisites
    • Windows Installer
      • Windows Installer (Wizard)
      • Windows Installer (Command Line)
      • Network Installation with PowerShell
        • Remote Install NCache
        • Remote Uninstall NCache
    • Linux Installer
    • Docker
  • Java Edition
    • Prerequisites
    • Linux Installer
    • Docker
    • Windows Installer
      • Windows Installer (Wizard)
      • Windows Installer (Command Line)
  • Client Installation
    • .NET
    • Java
    • Python
    • Node.js
  • Evaluation Period Management
  • NCache Licenses
    • Licensing Model
    • License Management
      • Activate License
      • Reactivate License
      • Deactivate License
  • Upgrading NCache
    • Upgrade Servers and Clients
    • Upgrade Servers Only
    • Live Upgrade Servers
    • Apply Private NCache Patches
  • OS Upgrades and Patches
    • Windows Upgrades and Patches
    • Linux Upgrades and Patches
    • NCache Maintenance Mode
    • Disable Auto Restart

Activate License

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 cmdlet. There are two possible modes to activate your NCache license, online and offline.

Online Activation License

NCache activation can be performed in online mode when an internet connection is available on the machine. Just follow the steps below:

  • In the terminal of your choice, execute the following command. The Key/key parameter represents the license key (you got upon purchasing NCache from Alachisoft).
  • Windows
  • Linux
Register-NCache -Key xxxxxxxxx-xxxxxx-xxxxxxxx -Environment Production -FirstName John -LastName Smith -Email john@yourdomain.com -Company your_company_name -RegisterAs CacheServer
register-ncache -key xxxxxxxx-xxxxxx-xxxxxxxx -environment Production -firstname John -lastname Smith -email john@yourdomain.com -company your_company_name -registeras CacheServer
  • On successful activation of license, you are prompted with a success message.

Offline Activation License

NCache activation can also be performed in offline mode when an internet connection is not available on the machine that you want to activate by providing the license key and specifying the OfflineActivate parameter. Just follow the steps below:

  • In the terminal of your choice, execute the following command to generate your Activation Request Code URL by providing the license key and specifying the OfflineActivate parameter.
  • Windows
  • Linux
Register-NCache -Key xxxxxxxxx-xxxxxx-xxxxxxxx -Environment Production -Clients 6 -FirstName John -LastName Smith -Email john@yourdomain.com -Company your_company_name -OfflineActivate -RegisterAs CacheServer
register-ncache -key xxxxxxxx-xxxxxx-xxxxxxxx -environment production -firstname John -lastname Smith -email john@yourdomain.com  -company your_company_name -server 20.200.20.38  -offlineactivate -registeras CacheServer
  • 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 the 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 the Activation Result page showing the Activation Authorization Code.

  • Copy the Activation Authorization Code back to this machine and execute the following Activation Authorization Code against the AuthCode parameter.

  • Windows
  • Linux
Register-NCache -AuthCode xxxxxxxxxxxxxx -OfflineActivate
register-ncache -authcode xxxxxxxxxxxxxx -offlineactivate
  • On successful activation, you are prompted with a success message.

See Also

Licensing Model
Reactivate License
Deactivate License
Evaluation Period Management

In This Article
  • Online Activation License
  • Offline Activation License
  • See Also

Contact Us

PHONE

+1 (214) 764-6933   (US)

+44 20 7993 8327   (UK)

 
EMAIL

sales@alachisoft.com

support@alachisoft.com

NCache
  • NCache Enterprise
  • NCache Professional
  • Edition Comparison
  • NCache Architecture
  • Benchmarks
Download
Pricing
Try Playground

Deployments
  • Cloud (SaaS & Software)
  • On-Premises
  • Kubernetes
  • Docker
Technical Use Cases
  • ASP.NET Sessions
  • ASP.NET Core Sessions
  • Pub/Sub Messaging
  • Real-Time ASP.NET SignalR
  • Internet of Things (IoT)
  • NoSQL Database
  • Stream Processing
  • Microservices
Resources
  • Magazine Articles
  • Third-Party Articles
  • Articles
  • Videos
  • Whitepapers
  • Shows
  • Talks
  • Blogs
  • Docs
Customer Case Studies
  • Testimonials
  • Customers
Support
  • Schedule a Demo
  • Forum (Google Groups)
  • Tips
Company
  • Leadership
  • Partners
  • News
  • Events
  • Careers
Contact Us

  • EnglishChinese (Simplified)FrenchGermanItalianJapaneseKoreanPortugueseSpanish

  • Contact Us
  •  
  • Sitemap
  •  
  • Terms of Use
  •  
  • Privacy Policy
© Copyright Alachisoft 2002 - 2025. All rights reserved. NCache is a registered trademark of Diyatech Corp.
Back to top