# Offline Activation and Deactivation

## Content

ComponentOne supports **offline license activation and deactivation** for development machines that do not have direct internet access.
Offline licensing is performed using the **MESCIUS License Manager** in combination with the ComponentOne licensing portal, which is accessed from a separate internet-connected device.

## When to Use Offline Activation

Use offline activation if:

* The development machine does not have internet access
* Network restrictions prevent direct communication with the licensing service

An internet-connected device is still required to complete the activation or deactivation process.

## Offline Activation

Offline activation is a two-step process:

1. Generate an offline activation request on the offline machine.
2. Complete activation on an internet-connected device and import the response.

### Step 1: Generate an Offline Activation Request

1. Open **MESCIUS License Manager**.
2. Click the gear icon to open **Settings**.
    ![](https://cdn.mescius.io/document-site-files/images/f8f8411e-09a6-47b0-a013-52f621fe586f/16c32e67-6566-4d6d-9e4d-b00727ca9a5f-20260224.f96476.png?width=600)
3. Under **Connection Mode**, select **Offline**, and then click **Back** to close the Settings page.
    ![](https://cdn.mescius.io/document-site-files/images/f8f8411e-09a6-47b0-a013-52f621fe586f/fd444fe1-7312-4c03-b5c5-8bf7989ad4b1-20260224.e668b2.png?width=600)
4. Select **Activate Serial Key**.
5. Enter a valid serial key and select **Activate**.
6. When the **Offline Activation Request** is generated:
    * Save the generated text.
    * Confirm the checkbox.
7. Select **Back** to close the activation window.
    ![](https://cdn.mescius.io/document-site-files/images/f8f8411e-09a6-47b0-a013-52f621fe586f/233aa848-ca48-4421-8647-0ac14016cef3-20260224.24c143.png?width=600)
    ![](https://cdn.mescius.io/document-site-files/images/f8f8411e-09a6-47b0-a013-52f621fe586f/d819d5a2-2c80-472b-8974-d1653e2591b7-20260224.579226.png?width=600)

### Step 2: Complete Activation on an Internet-Connected Device

1. On a device with internet access, open the **ComponentOne licensing portal** [[<span class="_19itglyw _vchhusvi _r06hglyw" style="border: none; box-sizing: border-box; appearance: none;">Home - SA3 License</span>](https://sa3.mescius.com/) ]
2. Select **Activate**.
    ![](https://cdn.mescius.io/document-site-files/images/f8f8411e-09a6-47b0-a013-52f621fe586f/d32ac9d6-659f-45e4-9162-0130dd2f889e-20260224.d9b991.png?width=600)
3. Paste the activation request text generated by the License Manager.
4. Select **Activate**.
    ![](https://cdn.mescius.io/document-site-files/images/f8f8411e-09a6-47b0-a013-52f621fe586f/c1bd4378-ce01-4a41-9120-79537f63e50e-20260224.b9f599.png?width=600)
5. After activation completes, save the response text generated by the portal.
    ![](https://cdn.mescius.io/document-site-files/images/f8f8411e-09a6-47b0-a013-52f621fe586f/54249f6a-b917-45b0-8621-4e08cab16f03-20260224.c41d7c.png?width=600)

### Step 3: Import the Offline License

1. Return to the offline machine.
2. Open **MESCIUS License Manager**.
3. Select **Import Offline License**.
    ![](https://cdn.mescius.io/document-site-files/images/f8f8411e-09a6-47b0-a013-52f621fe586f/512fade4-800a-4b36-9f74-75a2d78e8dfa-20260224.74795e.png?width=600)
4. Paste the response text generated by the licensing portal.
5. Select **Activate**.
    ![](https://cdn.mescius.io/document-site-files/images/f8f8411e-09a6-47b0-a013-52f621fe586f/1d4b0904-8aa1-4d02-a047-2407603909fa-20260224.573a65.png?width=600)

If the import is successful, a confirmation message is displayed and the activated serial key appears in the license list.
![](https://cdn.mescius.io/document-site-files/images/f8f8411e-09a6-47b0-a013-52f621fe586f/d8f423b7-936d-4a46-a1ba-bda1f72b708c-20260224.52410a.png?width=600)
![](https://cdn.mescius.io/document-site-files/images/f8f8411e-09a6-47b0-a013-52f621fe586f/ac3b6f0c-f84d-49a3-a604-cc61a3d1d5e5-20260224.f56746.png?width=600)

## Offline Deactivation

Offline deactivation allows you to remove an activated license from a machine that does not have internet access.
As with activation, this process requires both the offline machine and an internet-connected device.

### Step 1: Generate an Offline Deactivation Request

1. Open **MESCIUS License Manager**.
    ![](https://cdn.mescius.io/document-site-files/images/f8f8411e-09a6-47b0-a013-52f621fe586f/b9e6e7ed-6c50-41b6-ab76-99802cf4a4c0-20260224.1c13ea.png?width=600)
2. Open **Settings**.
3. Under **Connection Mode**, select **Offline**, and then close the Settings page.
    ![](https://cdn.mescius.io/document-site-files/images/f8f8411e-09a6-47b0-a013-52f621fe586f/7992df45-942c-47e1-9b0d-ef2b2db2ccfd-20260224.8bb1d6.png?width=600)
4. In the license list, select **Deactivate** next to the license you want to remove.

![](https://cdn.mescius.io/document-site-files/images/f8f8411e-09a6-47b0-a013-52f621fe586f/c0aa6bbf-7a1d-4cba-a571-4176f2d5c162-20260224.779e3f.png?width=600)

5. Save the text generated in the **Offline Deactivation Request** box.
6. Confirm the checkbox and select **Back**.

![](https://cdn.mescius.io/document-site-files/images/f8f8411e-09a6-47b0-a013-52f621fe586f/2de5bac7-70e1-466b-a042-6fcc38533d41-20260224.d2ba01.png?width=600)
The license is removed from the local list after the request is generated.
![](https://cdn.mescius.io/document-site-files/images/f8f8411e-09a6-47b0-a013-52f621fe586f/4d305079-9764-4a5e-bf35-53315b5ca2e8-20260224.90a835.png?width=600)

### Step 2: Complete Deactivation on an Internet-Connected Device

1. On a device with internet access, open the **ComponentOne licensing portal** [[<span class="_19itglyw _vchhusvi _r06hglyw" style="border: none; box-sizing: border-box; appearance: none;">Home - SA3 License</span>](https://sa3.mescius.com/)]
2. Select **Deactivate**.

![](https://cdn.mescius.io/document-site-files/images/f8f8411e-09a6-47b0-a013-52f621fe586f/a24c9969-d282-4d22-b9a7-921b024da8c7-20260224.250ce6.png?width=600)

3. Paste the deactivation request text generated by the License Manager.
4. Select **Deactivate**.

![](https://cdn.mescius.io/document-site-files/images/f8f8411e-09a6-47b0-a013-52f621fe586f/bf00c546-d943-4b2a-bf3d-feeeae71f7f5-20260224.37d404.png?width=600)
If deactivation is successful, a confirmation message is displayed.
![](https://cdn.mescius.io/document-site-files/images/f8f8411e-09a6-47b0-a013-52f621fe586f/2a4480b3-f7b1-4659-b1aa-20a90fcfdb8a-20260224.7eb9fa.png?width=600)

### Notes and Considerations

* Offline activation and deactivation require manual transfer of activation data between machines.
* Each activation and deactivation counts toward applicable license activation limits.
* Ensure the correct serial key is selected before generating activation or deactivation requests.

For more information about activation limits and licensing behavior, see [Licensing Process](/componentone/docs/license/online-license/c1-licensing-process).

## Offline Activation Using the Legacy License Manager

If your development or build machine using Grape City Licensing Manager has no internet connection follow these steps to activate your license:

1. Install the ComponentOne product on the offline machine. You may gain access to an offline installer download for the version purchased from your online account under My Licenses & downloads. The offline installer may only be installed on a machine that does not have the web installer (C1ControlPanel) already installed.
2. Launch the MESCIUS License Manager tool (C:\\ProgramData\\GrapeCity\\gclm\\gclm.exe) and proceed to activate a key as follows.

When the MESCIUS License Manager fails to activate a serial key due to network issues, you can activate your serial key offline by clicking the **Offline Activate** button.

![](https://cdn.mescius.io/document-site-files/images/f8f8411e-09a6-47b0-a013-52f621fe586f/images/activation-error.png)

Clicking the **Offline Activation** button opens the **Offline Activate** window with instructions. You can follow the instructions and activate your serial key offline by clicking the **Activate** button.

![](https://cdn.mescius.io/document-site-files/images/f8f8411e-09a6-47b0-a013-52f621fe586f/images/offline-activation.png)

## Offline Activation by Command Line

Offline activation is a manual process that can be tedious to do for many developers. Instead, you may implement a process to perform the offline activation by command. This process is somewhat automatic, but also requires a manual step in the middle that can be performed at once for all machines or for a single machine. The steps below detail this process:

Before offline activation by command line, see the topic [Activation by Command Line](/componentone/docs/license/online-license/activation/licensing-by-command-line#activationcl), to install the MESCIUS License Manager tool (gclm).

1. Write a bat file or program that runs on each offline machine that executes:
    1. Windows: C:\\ProgramData\\GrapeCity\\gclm\\gclm.exe "product id" -g "key" "activation file name"
    2. Linux/MacOS: gclm "product id" -g "key" "activation file name"

    >type=note
> 

> Notes:
> \> \* This creates an "activation file name" \(\.lic\) which includes the name of the machine \(computer environment variable\)\. This could be put on a network location such as \[file:/%3Cnetwork\-location%3E%computername%\-gcactivation\.lic\]\\\\\%computername%\-gcactivation\.lic\.
> \> \* The "product id" can be obtained from the topic [Activation by Command Line](/componentone/docs/license/online-license/activation/licensing-by-command-line#activationcl).
> \> \* Replace "key" with your serial key\.
> \> \* Studio Enterprise Example: C:\\ProgramData\\GrapeCity\\gclm\\gclm\.exe "331cf6cd\-b73c\-429f\-ba79\-fa2f85eebd68" \-g "key" \[file:/%3Cnetwork\-location%3E%computername%\-gcactivation\.lic\]\\\\\%computername%\-gcactivation\.lic

2. From an online machine, go to the [https://sa2.mescius.com/activate](https://sa2.mescius.com/activate) website and manually generate the KeyFile for each machine using the activation file.
3. Run a second bat file or command on each offline machine with:
    1. Windows: C:\\ProgramData\\GrapeCity\\gclm\\gclm.exe "product id" -i "keyfile"
    2. Linux/MacOS: gclm "product id" -i "keyfile"

    >type=note
> 

> Notes:
> \> \* You should name the KeyFile so that it identifies the machine the activation file came from\.
> \> \* All the KeyFiles will be different and tied to a specific machine\.

## Offline Deactivation Using the Legacy License Manager

Sometimes, the developer using the MESCIUS license might need to switch to a new machine. In this case, if the new machine does not have the active internet connection then the following steps can be followed to deactivate the license:

Launch the MESCIUS License Manager tool (C:\\ProgramData\\GrapeCity\\gclm\\gclm.exe) and proceed to deactivate a key as follows.

When the MESCIUS License Manager fails to deactivate a serial key due to network issues, you can deactivate your serial key offline by clicking the **Offline Deactivate** button.
![MESCIUS Licensing Offline Deactivation](https://cdn.mescius.io/document-site-files/images/f8f8411e-09a6-47b0-a013-52f621fe586f/images/offline-deactivation.png)

The Offline Deactivation window appears with instructions as shown in the following image. You can deactivate your serial key offline by following the steps.
![](https://cdn.mescius.io/document-site-files/images/f8f8411e-09a6-47b0-a013-52f621fe586f/images/offline-deactivation-window.png)

The following steps are also demonstrated below in detail.

1. On a machine with an active internet connection, go to [https://sa2.mescius.com/](https://sa2.mescius.com/).
    ![](https://cdn.mescius.io/document-site-files/images/f8f8411e-09a6-47b0-a013-52f621fe586f/images/license-service.png)
2. Copy the Deactivation key from the offline machine and send it via file transfer to another internet-connected system.
3. On the sa2 website, click the Deactivation option to see a Deactivation window. Copy the deactivation key from step 2 and paste it into the Deactivation box.
    ![](https://cdn.mescius.io/document-site-files/images/f8f8411e-09a6-47b0-a013-52f621fe586f/images/license-offline-deactivation.png)
<br>
    On successful deactivation, "Deactivated Successfully" message appears as shown below.
    ![](https://cdn.mescius.io/document-site-files/images/f8f8411e-09a6-47b0-a013-52f621fe586f/images/offline-deactivation-successful.png)

>type=note
> **Note**: You will lose your activation if you do not follow the above steps after deactivating the key from the offline machine.