# How can customers deactivate their license?

If you would like to allow your customers to deactivate a license in order to activate it on another computer, QLM provides several solutions as described below.&#x20;

### 1. Online Computer

If the computer on which the license is currently activated is functional and online, a customer can deactivate a license in one of the following ways:

* Using the QLM License Wizard / Deactivate option.
* Using the QLM API as described [here.](/docs/how-to/how-to-clear-license-keys-from-an-end-user-system.md)

### 2. Offline Computer

If the computer on which the license is currently activated is functional but offline, a customer can deactivate a license in one of the following ways:

* Using the QLM License Wizard / Offline Deactivate option as described in the Offline Deactivation Code of [this article](/docs/fundamental-concepts/how-does-offline-activation-work.md).
* Using a combination of the QLM API [CreateDeactivationCode](/docs/api-reference/.net-api/qlmlicense/client-side-methods/createdeactivationcode.md) with the [QLM Self Help](/docs/self-help-customer-site/how-to-configure-the-qlm-self-help-web-page.md) portal / Deactivate option.
* Using the [QLM Customer Portal](/docs/qlm-customer-portal.md)

### 3. Damaged Computer

If the computer on which the license is currently activated is not functional, the customer cannot generate a deactivation verification code and use the QLM Self Help Portal to deactivate his license. Your options are:

* Remove the requirement for a deactivation verification code by setting the [Server Property](/docs/qlm-license-server/server-properties.md)  showDeactivationVerificationCode to false. This will allow the user to deactivate the license from the QLM Self Help portal even if the computer is no longer functional.
* Perform the deactivation on behalf of the customer from the QLM Management Console.

QLM also provides a mechanism for preventing users from cheating by claiming that their computer is dead. This mechanism is only effective when the "dead" computer goes back online. More information about this topic can be found [here](/docs/faq/how-does-qlm-protect-against-users-requesting-additional-activations-because-a-computer-died.md).


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.soraco.co/docs/how-to/how-can-customers-deactivate-their-license.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
