KNOWLEDGE BASE

Deactivating Tableau Server Offline


Published: 27 Oct 2015
Last Modified Date: 14 May 2018

Question

How to deactivate a product key for Tableau Server when the computer running Tableau Server does not have internet access.

Environment

  • Tableau Server
  • Windows and Linux

Answer

On Windows:
  1. Right click the Manage Product Keys utility and select Run As Administrator.
  2. Click Deactivate.
  3. A prompt will display asking to save a return.tlq file (offline deactivation file).
  4. Save the .tlq file in a location that is easy to access.
  5. Copy the .tlq file to a computer that has internet access.
  6. On a computer that is connected to the internet, navigate to the following link: https://www.tableau.com/support/activation.
  7. Click Choose File.
  8. Navigate to the location where the return.tlq file was saved.
  9. Select Upload Activation File.
  10. A return.tlr file will be generated. 
  11. On the computer running Tableau Server (primary node if a distributed instance), copy the return.tlr file into the Tableau Server bin folder, located by default at: C:\Program Files\Tableau\Tableau Server\[Version]\bin.
  12. Open a command prompt as an administrator and navigate to the Tableau Server bin folder.
  13. Run the following command: tabadmin activate --tlr return.tlr

On Linux:

  1. Run "tsm licenses get-offline-deactivation-file -k <productkey> -o <target-directory>". The target directory must exist before running the command.
  2. Copy the file "deactivate.tlq" from the target directory to a trusted computer that has internet access.
  3. On that computer, navigate to the following link: https://www.tableau.com/support/activation.
  4. Click Choose File.
  5. Navigate to the location where the deactivate.tlq file was saved.
  6. Select Upload Activation File.
  7. A return.tlr file will be generated.
  8. Copy the return.tlr file to the Tableau Server primary node.
  9. Run "tsm licenses deactivate -f <path-and-deactivation-file>".
Did this article resolve the issue?