Error: "tsm is not recognized as an internal or external command, operable program or batch file"
Published: 31 Oct 2018 Last Modified Date: 29 Nov 2018
When running tsm commands on Tableau Server the following error may occur:
tsm is not recognized as an internal or external command, operable program or batch file
Tableau Server 2018.2.0 and newer versions
Windows Operating System
Add the Tableau Server bin folder path to the PATH variable to ensure that tsm commands can be run from any directory in the command window.
To ensure the correct path, navigate using Windows File Explorer to the bin folder on Tableau Server and copy the path from the top of the window. The path is version specific. Following is an example path from a 2018.2 installation:
The Windows environment PATH variable should updated during the Tableau Server install to include the path to the Tableau Server bin folder. When this variable is not set post install, an error will present when running tsm commands unless they are run from the bin folder itself.