ATRDiag.exe Command Line Reference
You can use the ATRDiag command line utility to manage licensing issues related to the login-based licence management and authorisation-to-run (ATR) features.
Synopsis
ATRDiag -dumpATR -showAll -showVerbose -product ["Tableau Desktop"]["Tableau Prep"]["Tableau Server"]
-subProduct {subProduct} -version {version} -setVersion {version}
-log [Trace][Debug][Info][Warn][Error][Fatal][Off] -status -deleteAllATRs
-deleteInvalidATRs -deleteATR {atrIdToDelete}
-enableATRFeature -disableATRFeature -enableLBLMFeature -disableLBLMFeature
-requireLBLMFeature -setDuration {seconds}
Note: All ATRDiag options are case-insensitive.
Options
-dumpATRDisplay a valid authorisation-to-run (ATR) on the command prompt (if present). Use
-version/-product/-subProduct/-versionto control which ATR is dumped if more than one is valid.-showAllEnumerate the contents of the registry to see available ATRs.(some of which might not be valid).
-showVerboseEnumerate the contents of the registry and use
-version/-product/-subProduct/-versionto provide per-product.-product ["Tableau Desktop"]["Tableau Prep"]["Tableau Server"]Defaults to "Tableau Desktop". Must specify "Tableau Server" to display Server ATR.
For example:
atrdiag -product "Tableau Server"
-subProduct {subProduct}Defaults to "Professional".
-version {version}No default; a valid value for this field is "Tableau 2021.1".
-setVersion {version}Persist a default value for -version.
-log [Trace][Debug][Info][Warn][Error][Fatal][Off]Display ATR log information.
-statusProvide ATR feature status (enabled or disabled), the licence server and dump the ATR.
-deleteAllATRsRemove all ATRs present on the machine.
-deleteInvalidATRsRemove all invalid ATRs.
-deleteATR {atrIdToDelete}Remove an ATR by ID.
-enableATRFeatureTurn on the ATR feature. Must run as an administrator. For use on Tableau Desktop only.
-disableATRFeatureTurn off the ATR feature. Must run as an administrator. For use on Tableau Desktop only.
-enableLBLMFeatureTurn on login-based licence management (LBLM). Must run as an administrator.
-disableLBLMFeatureTurn off login-based licence management (LBLM). Must run as an administrator.
-requireLBLMFeatureSet the login-based licence management (LBLM) feature to required. Must run as an administrator.
-setDuration {seconds}Set
ATRRequestedDurationSecondsto seconds. Must run as an administrator.
Global Options
-h, --helpOptional.
Show the command help.
