IBM DB2 Client silent installation & uninstallation

Hi All,

Steps to install IBM DB2 Client silently.

1. When you install Db2 in UI mode (setup/source) , you will be asked to to save the settings in a response file. We can use this response file later to install the application silently.

Command line :

"%~dp0\CLIENT\setup.exe" /u "%~dp0\CLIENT\PROD_CLIENT_32.rsp" /l "<path of the log file>"

Uninstallation :

x86 :

C:\Program Files\IBM\SQLLIB\BIN\db2unins -p "CLIENT" -y

x64 :

C:\Program Files\IBM\SQLLIB\BIN\db2unins -p "CLIENT" -y

C:\Program Files(x86)\IBM\SQLLIB\BIN\db2unins -p "CLIENT" -y


  • Thank you.
    I tried it. But my problem is DB2 service which popup to confirm stop and delete the application/service. So that, please help to advice force the popup.
    Thanks so much! - phamhiepst 9 years ago
  • Install command: setup.exe -u <Path of Install_PROD_SERVER.rsp> -l <Path of install log> And

    Uninstall command : before uninstalling stop the process db2mgmtsrv.exe. after that pass below this command,

    db2unins -f -y -l <Path of uninstall log> - santhya 7 years ago
This post is locked

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login


This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ