I am trying to write a script that activates Tableau through a .bat file (command line) in Amazon AppStream, similar to the Tableau documentation here. Similarly, since AppStream is a virtual desktop, I am enabling it with virtual desktop support.
Unfortunately, when I run my script as a local policy on startup and shutdown of an AppStream image instance, none of my Tableau commands appear to work. I am not sure if this is an AppStream problem or a Tableau problem, but commands in the .bat file that do not contain Tableau commands (like editing the registry) appear to work fine.
Essentially, after editing the registry, this part of my .bat file does not work:
"C:\Program Files\Tableau\Tableau 2018.3\bin\tableau.exe" -activate <product-key>
"C:\Program Files\Tableau\Tableau 2018.3\bin\tableau.exe" -register
"C:\Program Files\Tableau\Tableau 2018.3\bin\tableau.exe"|more
Does anyone have any experience setting up Tableau in AppStream?