Here are the instructions on how to do a clean uninstall and reinstall. Some steps may not be relevant but make sure you go through all of them.
- Stop and remove services
From a command prompt run the following commands:
sc stop asbagent
sc stop loggingagent
sc stop DSEngine
sc stop dsrpc
sc stop dstelnet
sc delete asbagent
sc delete loggingagent
sc delete DSEngine
sc delete dsrpc
sc delete dstelnet
- Drop databases
If the Metadata repository and WebSphere Information Analyzer databases were created by the Information Server installer they should be dropped before reinstalling. They will not be removed as part of the DB2 uninstallation.
Open a DB2 command window from the Start menu (All Programs -> IBM DB2 -> DB2COPY -> Command Line Tools -> Command Windows or by running db2cmd.exe.
Execute the following statements in the DB2 command windows:
db2 drop database --- metadata repository database name (xmeta by default)
db2 drop database --- information analyzer database name (iadb by default)
A listing of existing database can be obtained with the following command:
db2 list database directory
Remove registry keys
Run regedit and remove the following keys:
- Uninstall supporting software
- WebSphere Application Server:
If WebSphere Application Server was installed with Information Server it can be removed through the Control Panel – Add/Remove Programs facility. In some cases it may be necessary to uninstall and cleanup a WebSphere Application Server installation manually. See the following WebSphere Application Server Information Center topic for more information:
- Federation Server Relational Wrappers, Federation Server Non-Relational Wrappers:
If Federation Server was installed, the Federation Server wrappers can be removed through the Control Panel – Add/Remove Programs facility. They may also be removed as part of a DB2 cleanup if the db2unins utility is used as described below.
If DB2 was installed with Information Server it can be removed through the Control Panel – Add/Remove Programs facility. Alternatively, the db2unins utility can be used to cleanup one or more DB2 products. See the following DB2 Information Center topic for more information:
The db2unins utility can be run from the bin directory of an existing DB2 installation (C:\IBM\SQLLIB\bin by default) or from the DB2 installer if the installation directory no longer exists. A copy of the DB2 installer can be extracted from the Information Server installer if necessary:
- Locate the assembly.dat file in the assemblies\db2installer\188.8.131.52 subdirectory of the Information Installer
- The assembly.dat is a ZIP file and can be unzipped to a temporary location (it might be necessary to rename assembly.dat with a .zip extension before unzipping)
- Locate the db2ExpandArchiveAction_compressedFile under the temporary location (it will be in a directory with a 32-character hexadecimal name) and rename it to contain a .zip extension
- Unzip the compressed file and navigate to the DB2Installation\DB2 subdirectory
- The db2unins utility can be executed from this location.
- MKS Toolkit
If MKS Toolkit was installed by the Information Server installer and Information Server is not going to be re-installed, it should be removed through the Conrol Panel – Add/Remove Programs facility.
- Cleanup left over files
Remove the InstallShield registry (Critical)
- Delete the Information Server installation directory (
C:\IBM\InformationServer by default)
- Delete the WebSphere Application Server installation directory (
- Delete the installer temporary logs (
- Delete the start menu shortcuts (
C:\Documents and Settings\All Users\Start Menu\Programs\IBM Information Server)
- Delete the desktop shortcuts (if created):
- C:\Documents and Settings\All Users\Desktop\Administrator Client.lnk
- C:\Documents and Settings\All Users\Desktop\Designer Client.lnk
- C:\Documents and Settings\All Users\Desktop\Director Client.lnk
- C:\Documents and Settings\All Users\Desktop\Console for IBM Information Server.lnk
- C:\Documents and Settings\All Users\Desktop\Web Console for IBM Information Server.lnk
NOTE: You can type
%TEMP% into a Windows Explorer address bar or a command prompt and it will expand to your temporary directory.
C:\Program Files\Common Files\InstallShield\Universal\IBM\InformationServer
Reboot your system (Critical)
Windows may not be able to remove some files and services until the system is restarted. If a new installation is done before a restart some newly installed files and services may be removed when the system is later restarted.