---
schema_version: "1"
id: 5d17f6740c6c5bf24dfeda634d2595115d9a0d73e5718f389d3c1198f1e74e82
title: Deactivate Product Key
collection: tableau
version: next
locale: en-us
portal_url: https://docs.salesforce.com/tableau/next/en-us/server/license_deactivate.md
canonical_url: https://help.tableau.com/v0.0/server/en-us/license_deactivate.htm
source_site: help.tableau.com
content_type: documentation
content_hash: 3a11173eac63b15b9ce2930cea0510bb4545968be9e76cef9e2e59c37035f1cd
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 license details by running [tsm licenses list](https://help.tableau.com/v0.0/server/en-us/cli_licenses_tsm.htm#TSMLicenseList) in the CLI.

1. If the computer where you are running Tableau Server has been configured to connect to the internet through a forward proxy, follow the procedure in the topic, [Configure Product Key Operations with Forward Proxy](https://help.tableau.com/v0.0/server/en-us/activate_proxy.htm), before continuing.
2. Open TSM in a browser:
    
    https://<tsm-computer-name>:8850
3. Click **Configuration** and Licensing .
    
    ![Licensing window showing a license that is expiring soon.](/tableau/next/en-us/server/en-us/Img/license_deactivate.png)
4. Select the product key that you want to deactivate, and then click Deactivate License.
5. 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`