KNOWLEDGE BASE

Obliterate Script Unavailable after Uninstalling Tableau Server for Windows


Published: 21 Aug 2018
Last Modified Date: 14 Feb 2020

Issue

After uninstalling Tableau Server 2018.2 and newer versions from Windows, the Obliterate script is not available to clean up additional files left on the system.

Environment

  • Tableau Server 2018.2+
  • Windows

Resolution

Download the attached tableau-server-obliterate.txt.
Change the file extension from .txt to .cmd.
Follow the instructions in Remove Tableau Server.

Cause

Removing Tableau Server also removes the obliterate script. 

Additional Information

Preserving Tableau Server back up and log files

In previous versions of Tableau Server, running the tableau-server-obliterate script deleted all content from the Data directory. Beginning with version 2020.1, the default behavior of the tableau-server-obliterate script has changed: the script copies and saves Tableau Server back up and log files to the logs-temp directory. The default location for the logs-temp directory is at \ProgramData\Tableau\logs-temp. You can set options on the script to disable this new functionality.

To change the default behavior and to remove back up or log files, include on of the following options when running the tableau-server-obliterate script:

  • -k Do not copy backups to logs-temp directory.
  • -g Do not copy logs to logs-temp directory.
  • -a Do not copy anything to logs-temp directory.

Discuss this article... Feedback Forum
Did this article resolve the issue?