KNOWLEDGE BASE

Prep Flows Scheduled Using cmd Line Fails At End of LBLM Lease Period


Published: 15 Sep 2021
Last Modified Date: 16 Sep 2021

Issue

Command line scheduled to run the Prep flows fails when LBLM lease expires.

Environment

  • Tableau Prep Builder 2020.4.5

Resolution

As a workaround, please follow the steps below:
  1. Open Tableau Prep or Tableau Desktop via the UI to activate using LBLM. 
  2. Change the ATR duration to 3 months (maximum) on Tableau Desktop by editing the registry or by changing the settings using cmd line.
  3. Use the product key instead of LBLM using Tableau Desktop: "C:\Program Files\Tableau\Tableau <version>\bin\tableau.exe" -activate <product_key>
  4. Use Prep Conductor to publish the flows to Tableau server (This requires Data Management Add on)

Cause

When using LBLM Tableau Prep or Tableau Desktop cannot finish the sign in to server at the end of the lease period.
Did this article resolve the issue?