> For the complete documentation index, see [llms.txt](https://docs.vega365.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vega365.com/nidhi/getting-started/license-activation.md).

# License Activation

Nidhi is licensed **per recording server**, as an **annual subscription**. A **trial** lets you try it first. Each licence comes from Vega Systems as a **licence ID** and **password**.

Nidhi protects a recording server only while its licence is active. Without one, the cloud drive isn't mounted and the Dashboard shows the recording server as **Not activated**.

You activate licences from the Management Client. The Nidhi Recorder Service on the recording server does the activation itself, so you don't need to go to the recording server. (On the recording server, the [Recorder Console](https://docs.vega365.com/nidhi/recording-server/recorder-console.md) has the same wizard under **☰ Menu > License...**.)

## Where to start

Any of these opens the **License** wizard for a recording server:

* **Add a license**, in the first step of the [setup](https://docs.vega365.com/nidhi/management-client/setting-up-a-recording-server.md).
* On the [Dashboard](https://docs.vega365.com/nidhi/management-client/dashboard.md), the **Activate...** link on a recording server that needs a licence.
* On the [Recording Server Page](https://docs.vega365.com/nidhi/management-client/recording-server-page.md), **⚙ Settings > License...**

The wizard opens on **License**, which says whether the recording server has a licence. Click **Next** to choose how to connect, [Online](#online) or [Offline](#offline).

## Online

The recording server must reach `secure.softwarekey.com` (HTTPS).

{% stepper %}
{% step %}

### Connection

Choose **Online** and click **Next**.

<figure><img src="https://1044727958-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOkTZH1L3AaRU2hwQk4Ve%2Fuploads%2Fgit-blob-59fe74c206fd6a5f49ca50a8f6ff884eeee79b91%2Fmc-license-connection.png?alt=media" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### License ID

Enter the **License ID** and **Password** from Vega Systems. The **Installation name** is the recording server's name. Change it if you like (it shows in Vega's licence records).

<figure><img src="https://1044727958-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOkTZH1L3AaRU2hwQk4Ve%2Fuploads%2Fgit-blob-c49ba5edec40ae6cdaa8819a27d410866fd8bdd8%2Fmc-license-id.png?alt=media" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Done

The licence is activated, and the wizard shows **Trial · ends** *date* or **Subscription · ends** *date*. Continue with the setup.
{% endstep %}
{% endstepper %}

## Offline

For recording servers without internet access. You carry two small files between the recording server and the SoftwareKey web page on any PC with internet.

{% stepper %}
{% step %}

### Connection

Choose **Offline**.
{% endstep %}

{% step %}

### License ID

Enter the **License ID** and **Password**.
{% endstep %}

{% step %}

### Request file

Click **Save request file…** and save the activation request file (XML) where you can carry it to a PC with internet, for example a USB stick.

<figure><img src="https://1044727958-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOkTZH1L3AaRU2hwQk4Ve%2Fuploads%2Fgit-blob-78cd0a1bf99c4e0c9e3108591c7fe334af113fcc%2Fmc-license-request.png?alt=media" alt=""><figcaption></figcaption></figure>

You can close the wizard now. When you have the response file, open **License...** again, choose **Offline** and click **I already have the response file**.
{% endstep %}

{% step %}

### Upload

On a PC with internet, open `https://secure.softwarekey.com/solo/customers/ManualRequest.aspx`, upload the request file and save the response file it gives you.
{% endstep %}

{% step %}

### Response file

Back in the wizard, open the response file. The licence is activated.
{% endstep %}
{% endstepper %}

## Renewing

Thirty days before a licence ends, the Dashboard shows it in orange (**Subscription · ends** *date*) and the recording server's page says **Renew it before it ends**.

After you renew the subscription with Vega Systems, open **License...** and choose **Renew the license**. It fetches the new end date. Nothing is handed back.

## From trial to subscription

* If Vega Systems upgraded your trial to a subscription under the **same** licence ID, choose **Renew the license**.
* If the subscription has a **new** licence ID, choose **Activate your subscription**. The trial is handed back, then the subscription is activated. Until it is, Nidhi doesn't protect the recording server, so do it in one go.

## Handing a licence back

To move a licence to another recording server, or after activating the wrong one, open **License...** and choose **Activated the wrong license? Hand it back...** Then activate it on the other recording server.

When you remove Nidhi from a recording server (see [Remove Nidhi](https://docs.vega365.com/nidhi/management-client/software-management.md#remove-nidhi)), its licence is freed as part of the removal. This happens online, or with a request file (`Nidhi-release-request_<recorder>.xml`) that you upload on the SoftwareKey page. If the licence can't be freed, nothing is removed.

## When a licence ends

{% hint style="warning" %}
**Renew before the end date.** Once a recording server's licence ends, Nidhi no longer protects its footage. The Dashboard warns you 30 days ahead.
{% endhint %}

When the licence has ended:

* The Dashboard shows the recording server in red, with **Subscription ended** *date* (or the trial's end).
* **New recordings stop going to the cloud.** XProtect keeps recording to the recording server's own disks, but when they fill up, the oldest recordings are lost instead of being kept in the cloud.
* **Footage in the cloud can't be played back** in XProtect until the licence is renewed.
* **Footage already in the cloud stays there.** Nothing is deleted.

Renew the licence and everything picks up again. Recordings go to the cloud, and the footage there plays back as before.

## Messages

| Message                                                                      | What to do                                                                                              |
| ---------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
| *This license has no activations left*                                       | The licence is activated on another recording server. Hand it back there, or ask Vega Systems for more. |
| *The recorder could not reach the licensing server (secure.softwarekey.com)* | Check the recording server's internet connection and proxy, or activate [offline](#offline).            |
| *Start the Nidhi Recorder Service first*                                     | The service activates the licence, so start it in Windows Services on the recording server.             |
