IBM Support

How to perform a silent removal of the DB2 Runtime Client

Question & Answer


Question

How can I perform a silent uninstall of the DB2© Runtime Client?

Cause

The DB2© Runtime Client does not support the db2unins command and the command is not provided with the runtime client installation. Copying the db2unins command from another DB2© product installation is not supported.

Answer

Use the following msi command to perform a silent uninstall of a DB2© Runtime Client:
msiexec.exe /x {product code} SILENT_MODE="ON" /qn

DB2© Runtime Client product codes by version:

 32bit Runtime Clients
  • V11.5 - {9915B73E-D89B-4D1C-89B3-5FEF7978024B}
  • V11.1 - {36DAE68E-6D8E-479C-BE52-D1D8E2A81E63}
  • V10.5 - {A9AE5899-1528-4050-A363-F99E9D12D86F}
  • V9.7 - {D69ADB0B-B88E-4339-85BD-6B7AD104F038}
  • V9.5 - {5AEE236C-0100-464B-BD2E-883AA70A5D73}
  • V9.1 - {4A54CF0D-EE0D-48CB-8C96-69C720FD16C6}
64bit Runtime Client
  • v11.5 - {9915B73E-D89B-4D1C-89B3-5FEF7978024C}
  • v11.1 - {36DAE68E-6D8E-479C-BE52-D1D8E2A81E64}
  • v10.5 - {A9AE5899-1528-4050-A363-F99E9D12D870}
  • v10.1 - {BD126458-3EC1-4DC3-9678-F9DF1D71DBB5}
  • v9.7 - {D69ADB0B-B88E-4339-85BD-6B7AD104F039}

Example silent install command for DB2© v9.7 runtime client:
 
msiexec.exe /x {D69ADB0B-B88E-4339-85BD-6B7AD104F038} SILENT_MODE="ON" /qn /log "C:\uninstall.log"

For multiple installations, and to confirm product code, the product code can be located from the following Windows registry key.
 
HKEY_LOCAL_MACHINE\SOFTWARE\IBM\DB2\InstalledCopies\<DB2COPYname>\<Product Name>\CurrentVersion\ProductCode

Example for Runtime Client installation:
 
HKEY_LOCAL_MACHINE\SOFTWARE\IBM\DB2\InstalledCopies\DB2COPY1\IBM Data Server Runtime Client\CurrentVersion\ProductCode

 

[{"Type":"MASTER","Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"ARM Category":[{"code":"a8m500000008hAdAAI","label":"Install\/Migrate\/Upgrade->Uninstall"}],"ARM Case Number":"","Platform":[{"code":"PF033","label":"Windows"}],"Version":"10.5.0;11.1.0;11.5.0"}]

Document Information

Modified date:
23 September 2021

UID

swg21501835