---
schema_version: "1"
id: 63a49d9ed57043581ca6f41be616f74bc8be00385cdad890116f2ab6fe9d5903
title: 停用產品金鑰
collection: tableau
version: current
locale: zh-tw
portal_url: https://docs.salesforce.com/tableau/current/zh-tw/server-linux/license_deactivate.md
canonical_url: https://help.tableau.com/current/server-linux/zh-tw/license_deactivate.htm
source_site: help.tableau.com
content_type: documentation
content_hash: f56bd1eccb98f462c21cd400a75eecaabaa07b84fd680f91cd8344ad46c37236
description: Deactivate a Tableau Server product key when needed.
---
[跳至主要內容](#main-content)

# 停用產品金鑰

在某些情況下,必須停用產品金鑰：

- 變更硬體組態
- 變更產品金鑰
- 將產品金鑰移到新安裝

## 開始之前

請確認您要移除正確的產品金鑰。您可以藉由在 CLI 中執行 [tsm licenses list](https://help.tableau.com/current/server-linux/zh-tw/cli_licenses_tsm.htm#TSMLicenseList) 以檢視授權詳細資訊。

1. 在瀏覽器中開啟 TSM：
    
    https://<tsm-computer-name>:8850
2. 按一下**「組態」**和「授權」。
    
    ![授權視窗，顯示授權即將到期。](/tableau/current/zh-tw/server-linux/zh-tw/Img/license_deactivate.png)
3. 選取要停用的產品金鑰，然後按一下「停用授權」。
4. 停用金鑰之後，重新啟動 Tableau Server。
    
    **附註：**若在重新啟動之前沒有其他產品金鑰保持為已啟用狀態，Tableau Server 將不會以可用狀態重新啟動。若發生這種情況，您將無法使用 Tableau Server，直到您在 TSM 中啟用新的產品金鑰。

1. 在初始節點（安裝了 TSM 的節點）上以管理員身分開啟命令提示字元。
2. 執行以下命令：
    
    `tsm licenses deactivate --license-key <product-key>`
    
    `tsm restart`