good afternoon,

Does anyone know a command line to uninstall SAP Hana Studio 1.00.092 completely silently?
I'm deploying version 1.00.093 but before that I need to uninstall the previous version silently. The uninstall occurs after running C:\Program Files\sap\hdbstudio\install\hdbuninst.exe but I couldn't find a way to run that silently since it asks for an "installation ID"(0 to remove the whole application or 1 to abort).
Does anyone have any ideas please?

thanks in advance.
Answer Summary:
2 Comments   [ - ] Hide Comments


  • Try running the uninstaller in a command prompt with '--help' - if there are any inbuilt switches that can help you this will display them.
  • run this from a batch file:
    echo 0|hdbuninst.exe

    it pipes the zero to the uninstaller
Please log in to comment

Answer Chosen by the Author


I just figured this out:  run this via CMD prompt (or batch file):
echo 0|C:\Program Files (x86)\sap\hdbclient\install\hdbuninst.exe -b

it will pipe (pass) a zero to the uninstaller.
Answered 09/19/2015 by: rdmarshall
White Belt

Please log in to comment
Answer this question or Comment on this question for clarity


This is what worked for me:

\hdbuninst.exe -b --path="C:\Program Files\SAP\hdbclient"

Change the path above to the installation path. 
Answered 11/12/2015 by: krisc4
Second Degree Blue Belt

Please log in to comment
This content is currently hidden from public view.
Reason: Removed by member request
For more information, visit our FAQ's.