---
schema_version: "1"
id: f415d2afc33c3816bd6f16ed7c9e577dd755e9887a2339685160918dd5008065
title: 管理 Tableau Desktop 授權使用情況
collection: tableau
version: current
locale: zh-tw
portal_url: https://docs.salesforce.com/tableau/current/zh-tw/desktopdeploy/desktop_deploy_reporting_admin.md
canonical_url: https://help.tableau.com/current/desktopdeploy/zh-tw/desktop_deploy_reporting_admin.htm
source_site: help.tableau.com
content_type: documentation
content_hash: 126638aea94a1a9a8df5d6cb43dd77eaf8a3a19e5af6716df945253e519a4212
description: Configure Tableau Desktop license usage reporting to send data to Tableau Server.
---
[跳至主要內容](#main-content)

# 管理 Tableau Desktop 授權使用情況

設定 Tableau Desktop 授權使用情況報告，以從 Tableau Desktop 的個別執行個體中收集使用情況資訊，並將該資訊傳送給您指定的 Tableau Server 執行個體。您可以使用收集的資訊來幫助您管理組織中的 Tableau Desktop 授權。有關如何追蹤伺服器授權使用情況的資訊，請參閱 Tableau Server 說明中的[檢視伺服器授權](https://help.tableau.com/current/server/zh-tw/view_licenses.htm)。

Tableau 提供下列工具，協助您追蹤及管理組織中的授權和使用狀況。

<table style="width: 100%;" class="simple-table"><colgroup><col><col></colgroup><tbody><tr><td>工具</td><td>描述</td></tr><tr><td>客戶入口網站</td><td><p>Tableau 網站上的<a href="http://customer.tableau.com/" target="_blank">客戶入口網站</a>頁面使您能進行購買、管理以及檢視指派給您的使用者的產品金鑰的註冊資訊。您可以代表貴組織管理您的 Tableau 帳戶、下載 <span class="mc-variable Variables.TabsProductDesktop variable">Tableau Desktop</span> 安裝套件，並開啟和管理與 Tableau 技術支援團隊的目前及先前案例互動。</p><p>入口網站不提供詳細使用情況資料。不過，您可以依據入口網站中提供的使用者註冊記錄來確定組織中安裝了 Tableau 的使用者。</p></td></tr><tr><td><span class="mc-variable Variables.TabsProductDesktop variable">Tableau Desktop</span> 報告</td><td><p>若為 <span class="mc-variable Variables.TabsProductDesktop variable">Tableau Desktop</span>（版本 10.0 及更高版本），您可以設定 <span class="mc-variable Variables.TabsProductDesktop variable">Tableau Desktop</span> 報告，以將使用情況資訊報告給組織中執行的 Tableau Server 執行個體。此功能僅適用於使用產品金鑰的客戶，而不適用於使用 <span class="mc-variable Variables.IBA_lowercase variable">以登入為基礎的授權管理</span> 的客戶。</p><p><span class="mc-variable Variables.TabsProductDesktop variable">Tableau Desktop</span> 報告會從 <span class="mc-variable Variables.TabsProductDesktop variable">Tableau Desktop</span> 的個別執行個體收集使用情況資訊，並將該資訊傳送到 Tableau Server，您可以在其中使用管理檢視來追蹤和報告使用情況。</p><p>透過將 <span class="mc-variable Variables.TabsProductDesktop variable">Tableau Desktop</span> 設定為報告使用情況資訊，還可以驗證入口網站中顯示的產品金鑰-註冊對與組織中已啟用的 <span class="mc-variable Variables.TabsProductDesktop variable">Tableau Desktop</span>-使用者對是否相符。有關詳情，請參閱<a href="#enable" class="xref">啟用和設定 Tableau Desktop 報告</a>。有關如何追蹤伺服器授權使用情況的資訊，請參閱 Tableau Server 說明中的<a href="https://help.tableau.com/current/server/zh-tw/view_licenses.htm" target="_blank">檢視伺服器授權</a>。</p></td></tr><tr><td>虛擬桌面支援</td><td><p>可以將 <span class="mc-variable Variables.TabsProductDesktop variable">Tableau Desktop</span>（版本 10.5 及更高版本）設定為在預先確定的時段後自動停用授權。此功能旨在支援使用非持久性虛擬桌面的組織，這些虛擬桌面可能會頻繁回收，從而導致新的啟動請求。</p><p>將 <span class="mc-variable Variables.TabsProductDesktop variable">Tableau Desktop</span> 執行個體設定為自動歸還啟用時，若回收 VM 或對電腦重新安裝映像，則該 VM 或電腦上的任何已啟動授權或 <span class="mc-variable Variables.IBA_lowercase variable">以登入為基礎的授權管理</span> 租約會在預設時段後自動歸還，讓您可以選擇啟用另一台電腦。</p><p>有關如何設定虛擬 Desktop 支援的資訊，請參閱<a href="https://help.tableau.com/current/desktopdeploy/zh-tw/desktop_deploy_license_deactivate.htm" class="xref">設定虛擬桌面支援</a></p></td></tr><tr><td>登入式授權使用情況報告</td><td><p>可以檢視 <span class="mc-variable Variables.TabsProductOnline variable">Tableau Cloud</span> 或 Tableau Server 的登入式授權使用情況。報告會顯示啟用、使用中的建立者席位、非使用中的建立者席位，以及建立者席位的上次使用時間。如需深入瞭解如何啟用登入式授權管理，請參閱<a href="https://help.tableau.com/current/server/zh-tw/license_lblm.htm" target="_blank">登入式授權管理</a>。</p></td></tr></tbody></table>

## 啟用和設定 Tableau Desktop 報告

Tableau Desktop 報告預設處於停用狀態。若要使用該功能，您需要執行以下操作：

1. 在 Tableau Server 上啟用報告。
2. 設定 Tableau Desktop 安裝，以向一個或多個 Tableau Server 執行個體報告。

### 步驟 1：在 Tableau Server 上啟用報告。

Tableau Server TSM 管理員可以透過使用 TSM Web 介面，或者透過使用 TSM CLI 從命令列啟用報告。您只需要使用以下所列的一種程序完成此動作。

#### 使用 TSM Web 介面

1. 在瀏覽器中開啟 TSM：
    
    https://<tsm-computer-name>:8850。有關詳細資訊，請參閱 Server 說明中的[登入到 Tableau 服務管理器 Web UI](https://help.tableau.com/current/server/zh-tw/sign_in_tsm.htm)。
2. 在「組態」索引標籤上按一下「通知」，然後按一下「事件」。
3. 在**「伺服器健康情況監視」**下，選取**「啟用 Tableau Desktop 授權報告」**方塊。這會為 Desktop 報告設定 Tableau Server。
4. 輸入設定資訊後，按一下「儲存暫止的變更」。
5. 按一下頁首的「暫止的變更」：
    
    ![Tableau Server 管理員工具列，表示存在暫止的變更。](/tableau/current/zh-tw/desktopdeploy/zh-tw/Img/tsm-ui-pending-changes-btn.png)
6. 按一下「套用變更並重新啟動」。

#### 使用 TSM CLI

若要在 Tableau Server 上啟用報告，請在 Tableau Desktop 將向其報告的每個 Tableau Server 執行個體上使用以下 `tsm` 命令：

tsm configuration set -k features.DesktopReporting -v true 
tsm pending-changes apply 
tsm restart

有關如何使用 `tsm` 的詳細資訊，請參閱 Tableau Server 說明中的 [tsm 命令列參考](https://help.tableau.com/current/server-linux/zh-tw/tsm.htm)。

### 步驟 2：為報告設定 Tableau Desktop

可以透過以下兩種方式之一設定 Tableau Desktop，以報告授權資訊：

**在安裝或重新安裝期間（僅限於 Windows）**

- 對於 Windows 電腦上安裝的 Tableau，您可以使用安裝程式命令屬性指定要向其報告的 Tableau Server 執行個體並設定不同的報告頻率間隔。
- `REPORTINGSERVER` 屬性定義在其中傳送授權報告資訊的一個或多個 Tableau Server 執行個體。若要指定 Tableau Server 的執行個體，請指定通常將用於連線到伺服器的 URL ，包括埠（如果不是預設埠 80）。
    
    如果 Tableau Server 使用 SSL，您需要在 URL 前面加上 `https://`，否則請使用 `http://`。
- `SCHEDULEREPORTINTERVAL` 屬性設定 Tableau 將用於向伺服器報告的間隔（以秒為單位）。

**範例**

以下命令會安裝 Tableau Desktop，並將其設定為以兩小時為報告間隔向兩個 Tableau Server 執行個體報告。

一個執行個體 (`http://mytableau`) 使用預設埠，並且未使用 SSL。另一個執行個體 (`https://mytableau02`) 使用 SSL 和預設連接埠 443。

tableau-setup-std-x64.exe /quiet ACCEPTEULA=1 SCHEDULEREPORTINTERVAL=7200 REPORTINGSERVER="https://mytableau02,http://mytableau"

有關使用命令列屬性的詳細資訊，請參閱[使用命令列安裝](https://help.tableau.com/current/desktopdeploy/zh-tw/desktop_deploy_automate.htm)。

**安裝之後**

- 新增 Windows 登錄機碼 (`ReportingServer`) 或 Mac `.plist` 檔案值 (`com.tableau.ReportingServer.plist`)，其中包含您要在其中傳送授權資訊的一個或多個 Tableau Server 執行個體的位址。
- 可以將 Tableau Desktop 執行個體設定為向最多六個不同的伺服器傳送報告資訊。您還可以編輯登錄檔或 .plist 檔以指定非預設報告頻率間隔。
    
    有關詳細資訊，請參閱本主題中的[啟用安裝後 Tableau Desktop 報告](#update)。

若在安裝 Tableau Desktop 後更新登錄檔或 .plist 檔案，需要重新啟動 Tableau Desktop 才能使變更生效。

## 啟用安裝後 Tableau Desktop 報告

若您的組織已部署 Tableau Desktop 並且想要使用 Desktop 報告，則您必須在已安裝 Tableau Desktop 的每台電腦上更新登錄機碼或 `.plist` 檔案值。

### Windows

1. 作為執行 Tableau Desktop 電腦上的管理員，請在對登錄檔進行任何變更之前將其備份。
2. 開啟登錄編輯程式，並展開 `HKEY_LOCAL_MACHINE\SOFTWARE\Tableau`。然後編輯登錄檔，建立一個包含名為 `ReportingServer` 的新項，其中包含以下值：
    
    - **名稱**：新增一個名為 `Server` 的字串值。
    - **資料**：新增 Tableau Desktop 執行個體將向其傳送報告資料的 Tableau Server 執行個體的一個或多個 URL。如果需要，請包括協定（`http` 或 `https`）和埠號。用逗號 (,) 分隔多個位址。最多可包括六個地址。第六個位址後面的任何位址會被忽略。
        
        例如，以下 `Server` 值將 Tableau Desktop 設定為向兩個 Tableau Server 執行個體報告。第一個執行個體 `https://mytableau02` 設定為使用 SSL，並在預設連接埠 443 上偵聽。第二個執行個體 `http://mytableau` 不使用 SSL，並在預設埠 80 上偵聽：
        
        `https://mytableau02,http://mytableau`
    - **名稱**：新增一個名為 `ScheduleReportInterval` 的字串值。
    - **資料：**新增想要 Tableau Desktop 向伺服器報告的間隔（以秒為單位）。
        
        例如，值為 `14400` 的 `ScheduleReportInterval` 將 Tableau Desktop 設定為每四小時報告一次。
    
    登錄編輯程式中的 `Server` 和 `ScheduleReportInterval` 項如下圖所示。

![登錄編輯器中的「伺服器」和「排程報告間隔」金鑰。](/tableau/current/zh-tw/desktopdeploy/zh-tw/Img/license_reporting_server.png)

4. 重新啟動 Tableau 以使變更生效。

### Mac

#### 透過 /Library/Preferences 更新 .plist 檔案

1. 在對 `.plist` 檔進行任何變更之前，請將其備份。
2. 透過執行以下命令使 `/Library/Preferences` 位置可見：
    
    `defaults write com.apple.finder AppleShowAllFiles YES`
3. 在 `/Library/Preferences` 中建立一個 `com.tableau.ReportingServer.plist` 檔案，將 `Server` 金鑰設定為想要 Tableau Desktop 執行個體向其報告的伺服器的位址，並將 `scheduleReportInterval` 金鑰設定為 Tableau Desktop 向伺服器報告應採用的頻率（以秒為單位）。
    
    **範例：**
    
    一個 `.plist` 檔案，該檔設定為每四小時將資訊傳送到兩個伺服器（`https://mytableau02` 和 `http://mytableau`）。
    
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
      <dict>
        <key>Server</key>
        <string>https://mytableau02,http://mytableau</string>
        <key>scheduleReportInterval</key>
        <string>14400</string>
      </dict>
    </plist>
4. 重新啟動 Tableau 以使變更生效。

#### 透過命令列更新 .plist 檔案

1. 在對 `.plist` 檔進行任何變更之前，請將其備份。
2. 以管理員身份開啟終端提示字元，使用以下命令設定想要 Tableau Desktop 執行個體向其報告的伺服器的位址，並使用 `scheduleReportInterval` 字串設定 Tableau Desktop 向伺服器報告應採用的頻率（以秒為單位）。
    
    **範例：**
    
    每四小時將資訊傳送到兩個伺服器（`https://mytableau02` 和 `http://mytableau`）：
    
    `sudo defaults write /Library/Preferences/com.tableau.ReportingServer Server -string "https://mytableau02,http://mytableau"`
    
    `sudo defaults write /Library/Preferences/com.tableau.ReportingServer scheduleReportInterval -string "14400"`
    
    **重要資訊：**不要將上面的範例複製並貼上到終端中。請手動鍵入以避免產生錯誤。
3. 重新啟動 Tableau 以使變更生效。

## 在 Tableau Server 上檢視 Tableau Desktop 使用情況和到期資訊

設定用於報告的 Tableau Desktop 執行個體後，它會將使用情況資訊傳送到 Tableau Server。若已在 Tableau Server 上啟用報告，則可以使用「Tableau Desktop 授權使用情況」管理檢視來查看授權使用情況資料。

![包含永久授權、試用授權和定期授權到期資訊的資料表。](/tableau/current/zh-tw/desktopdeploy/zh-tw/Img/adminview_desktop_expiration.png)

「Tableau Desktop 授權使用情況」管理檢視可以回答諸如以下問題：

- 我的組織中安裝了哪些類型的授權？
- 哪些使用者具有 Tableau 授權。
- 哪些授權最經常使用，哪些最不經常使用。
- 哪些授權已過期或者可能即將過期。
- 組織中的維護更新何時到期。

您也可以使用管理檢視確定較大使用量，並且您可以確定特定使用者是否一直未使用 Tableau 並且可能需要額外的訓練。

有關詳細資訊，請參閱 Tableau Server 說明中的 [Desktop 授權使用情況](https://help.tableau.com/current/server/zh-tw/adminview_desktop_license_usage.htm)和 [Desktop 授權過期](https://help.tableau.com/current/server/zh-tw/adminview_desktop_license_expiration.htm)。

## 檢視登入型授權使用情況

您可以檢視 Tableau Cloud 或 Tableau Server 登入型授權使用狀況。報告會顯示使用者、主機、使用者角色、產品、版本、啟用、使用中的 Creator 席位、非使用中的 Creator 席位，以及 Creator 席位的上次使用時間。您可以檢視過去 30 天的資料，最多可回溯 183 天。

若要查看 以登入為基礎的授權管理 授權使用狀況管理檢視：

1. 在 Tableau Cloud 或 Tableau Server 的巡覽窗格中，按一下「網站狀態」。
    
    ![站台狀態頁面顯示監視站台活動的儀表板清單。](/tableau/current/zh-tw/desktopdeploy/zh-tw/Img/lblm.png)
2. 在「網站狀態」頁面上，按一下「登入型授權使用狀況」。
3. 可選。在報告畫面中，您可以變更時間範圍以顯示席位的上次使用時間、篩選動作、篩選使用者名稱以及依照欄排序。
    
    ![基於登入的授權管理使用情況報告範例。](/tableau/current/zh-tw/desktopdeploy/zh-tw/Img/lblm_usage_report.png)