---
schema_version: "1"
id: ef23d0907a3ff351592333a4ebb136ad4479bca3ed132edff3bc4e5b75f537c5
title: Deactivate Product Key
collection: tableau
version: next
locale: en-gb
portal_url: https://docs.salesforce.com/tableau/next/en-gb/server-linux/license_deactivate.md
canonical_url: https://help.tableau.com/v0.0/server-linux/en-gb/license_deactivate.htm
source_site: help.tableau.com
content_type: documentation
content_hash: bb8155a4001931da7c0d641df61cbf184ff03a5250ad293ce9d1e85f203547da
description: Deactivate a Tableau Server product key when needed.
---
[Skip to main content](#main-content)

# Deactivate Product Key

There are some scenarios where you must deactivate a product key:

- Changing a hardware configuration
- Changing product keys
- Moving a product key to a new installation

## Before you begin

Verify that you are removing the correct product key(s). You can view licence details by running [tsm licences list](https://help.tableau.com/v0.0/server-linux/en-gb/cli_licenses_tsm.htm#TSMLicenseList) in the CLI.

1. Open TSM in a browser:
    
    https://<tsm-computer-name>:8850
2. Click **Configuration** and Licensing .
    
    ![Licensing window showing a licence that is expiring soon.](/tableau/next/en-gb/server-linux/en-gb/Img/license_deactivate.png)
3. Select the product key that you want to deactivate, and then click Deactivate Licence.
4. After the key is deactivated, restart Tableau Server.
    
    **Note:** If no other product keys remain activated before restarting, Tableau Server will not restart in a useable state. If this occurs, you will not be able to use Tableau Server until you activate a new product key in TSM.

1. Open a command prompt as administrator on the initial node (the node where TSM is installed).
2. Run the following commands:
    
    `tsm licenses deactivate --license-key <product-key>`
    
    `tsm restart`