The Tivoli Storage Manager uninstall program automatically stops all running TSM services, and removes all previously installed versions of TSM when run in silent mode. It starts the uninstall immediately on issuing the command without any confirmation prompts.
To silently uninstall TSM, run the uninstal.exe program that is found in the TSM home directory with the /silentall command line parameter. To run the silent uninstall, create a batch file that contains the following commands:
start /wait uninstal /silentall echo Silent Uninstall Complete!