To manually release NCache license from a machine, you have the option to manually deactivate that machine. Manual deactivation of a machine requires you to have a deactivation key which can be found on the NCache Cloud Portal.
Follow the steps provided in this chapter to know how you can manually deactivate NCache version on a machine and free the used license.
Key for Manual Deactivation
You can find the key required to successfully deactivate a machine from the Environment Activation Options section of the NCache Cloud Portal.
From the NCache Cloud Portal's Subscription Dashboard, click on the Environment Activation Options button or click on the icon.
Under the Manual Creation section, you will find the key required for deactivation next to a key icon.
There are two ways through which you can manually deactivate your machines. They are:
Online Deactivation Through PowerShell
- Open Windows PowerShell tool in your virtual machine and run the following command:
Unregister-NCache -Key xxxxxxxx-xxxxxx-xxxxxxxx
key attribute takes the deactivation key you got from the NCache Cloud Portal.
- On executing the
Unregister-NCachetool, NCache will be deactivated from your machine if the provided activation key is accurate.
Offline Deactivation Through PowerShell
In case your deployed machine is disconnected from the internet, you can still deactivate NCache from it. To manually deactivate NCache on your deployed machine, follow these steps:
- Open Windows PowerShell and run the following
Unregister-NCachecmdlet with the
Unregister-NCache -key xxxxxxxx-xxxxxx-xxxxxxxx -ManualDeactivate
This command will return a deactivation request code. Copy this code.
Go to NCache Cloud Portal. From the Environment Activation Options, click on the Offline Deactivation link provided under the Manual Creation section.
Paste the copied text in the Deactivation Text box and click on Verify. This will fetch the data associated with the activation request code.
Verify that the fetched data is correct and click on Deactivate.
This will deactivate NCache on your deployed machine and free your NCache license.