> For the complete documentation index, see [llms.txt](https://docs.licensespring.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.licensespring.com/license-entitlements/portal/offline-portal/activating-and-deactivating-offline.md).

# Activating and Deactivating Offline

An offline activation binds a license to the computer that created the request file. An offline deactivation releases it again, so it can be activated on another computer. Both start with uploading a request file to the Offline Portal.

### Activating a License Offline

{% stepper %}
{% step %}

#### Issue the license

The end user enters their license in the application. They can use a license key or user credentials. Configure the SDK for offline activation.
{% endstep %}

{% step %}

#### Create the activation request

The application writes an activation request file, such as `ls_activation.req`.
{% endstep %}

{% step %}

#### Upload the request

On a computer that is online, open the Offline Portal. Drop the file onto the upload area, or use the **click to select** link. The progress card shows the file name, request type, and product.

<figure><img src="https://1783554078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgLzurdfXUuKr9IziZWLz%2Fuploads%2Fyn2MfySUdvWoA0jdCKG9%2F22-activation-uploading.jpg?alt=media&amp;token=f1fe3f79-684f-4e62-8e77-c4d30f695588" alt=""><figcaption></figcaption></figure>

* Uploading an activation request
  {% endstep %}

{% step %}

#### Wait for activation

After the upload, the server activates the license. This usually takes a few seconds.

<figure><img src="https://1783554078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgLzurdfXUuKr9IziZWLz%2Fuploads%2Fzeph1VDvrIaBcpHNifbZ%2F23-activation-processing.jpg?alt=media&amp;token=a2df3ccd-33fc-4062-8b24-fc198e15a387" alt=""><figcaption></figcaption></figure>

* The server activating the license
  {% endstep %}

{% step %}

#### Download the license file

The download of `ls_activation.lic` starts automatically. If it does not, click **Download ls\_activation.lic**. The result page also shows the product, license, license type, and expiry date.

<figure><img src="https://1783554078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgLzurdfXUuKr9IziZWLz%2Fuploads%2FUmnUw21HlJgBYIN13utC%2F11-activation-success.jpg?alt=media&amp;token=adabed59-5945-47de-a983-4c7d7a22b152" alt=""><figcaption></figcaption></figure>

* Activation result with the license file ready
  {% endstep %}

{% step %}

#### Load the license file

Copy the license file to the offline computer. Load it in the application to unlock it and bind the license to that computer.
{% endstep %}
{% endstepper %}

### Activating a Bundle

A bundle license activates every product in the bundle with one request file.

{% hint style="warning" %}
Turn on **Bundle license** only for bundle activation and deactivation files. The portal rejects a bundle file with the toggle off. It also rejects a single-license file with the toggle on.
{% endhint %}

{% stepper %}
{% step %}

#### Enable bundle licensing

Turn on **Bundle license** under the upload area.
{% endstep %}

{% step %}

#### Upload the bundle request

Upload the bundle activation request as described in the activation flow.
{% endstep %}

{% step %}

#### Download the bundle license

The download of `ls_bundle_activation.lic` starts automatically. The result page lists each bundled product with its license type and expiry date.

<figure><img src="https://1783554078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgLzurdfXUuKr9IziZWLz%2Fuploads%2FMIxnTIX12wPLAN4abElk%2F25-bundle-activation-success.jpg?alt=media&amp;token=bab596ba-f12e-4260-83cd-dbca5f2e827b" alt=""><figcaption></figcaption></figure>

Bundle activation result listing each product
{% endstep %}

{% step %}

#### Load the bundle license

Copy `ls_bundle_activation.lic` to the offline computer. Load it in the application.
{% endstep %}
{% endstepper %}

### Retrieving the License File from the Vendor Platform

Regardless of how a license was activated, you can retrieve its license file from the vendor platform. When you change a license's entitlements, the license file is updated and you can send it to the customer:

{% stepper %}
{% step %}

#### Find the license

Go to the vendor platform and open the license.
{% endstep %}

{% step %}

#### Locate the device

On the **Devices** tab, find the device that holds the offline license.
{% endstep %}

{% step %}

#### Download the refresh file

Use the download license refresh file action.
{% endstep %}

{% step %}

#### Send the file

Save `license_refresh.lic` and send it to the end user.
{% endstep %}

{% step %}

#### Refresh the local license

The end user loads the file in the application. This refreshes the local license with the new entitlements and changes.
{% endstep %}
{% endstepper %}

### Deactivating a License Offline

{% stepper %}
{% step %}

#### Create the deactivation request

In the application, deactivate the license offline. The application writes a deactivation request file, such as `ls_deactivation.req`.
{% endstep %}

{% step %}

#### Upload the request

Drop the file onto the upload area, or or use the **click to select** link. For a bundle, turn on **Bundle license** first.

<figure><img src="https://1783554078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgLzurdfXUuKr9IziZWLz%2Fuploads%2F21yULWrtW7Zm6HUMEB2Z%2F26-deactivation-uploading.jpg?alt=media&amp;token=a1b0b303-d2ef-471a-99b1-63b714be179f" alt=""><figcaption></figcaption></figure>

* Uploading a deactivation request
  {% endstep %}

{% step %}

#### Wait for deactivation

The server deactivates the license. This usually takes a few seconds.

<figure><img src="https://1783554078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgLzurdfXUuKr9IziZWLz%2Fuploads%2FKhxszjlIxTIdqPECVRbj%2F27-deactivation-processing.jpg?alt=media&amp;token=51ac4f0f-14db-4ef9-ab16-9f0d1ddcab43" alt=""><figcaption></figcaption></figure>

* The server deactivating the license
  {% endstep %}

{% step %}

#### Confirm completion

The license is released. There is no file to download or load into the application.
{% endstep %}
{% endstepper %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.licensespring.com/license-entitlements/portal/offline-portal/activating-and-deactivating-offline.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
