Recovering from a failed uninstallation on Windows systems
You must recover a failed attempt to uninstall IBM Security Guardium Key Lifecycle Manager on a Windows system.
About this task
This task assumes that the uninstallation program failed to complete successfully. Take these recovery steps:
Procedure
-
Stop the WebSphere Application Server Liberty service.
- Open the Windows Services Console by opening the Control Panel and clicking Administrative Tools > Services.
-
Locate the WebSphere Liberty service.
For example:
GKLM421Server
-
Open the Properties dialog box for the service. If the
Service status is not
Stopped
, click Stop. - Click OK to close the dialog box and exit the Windows Services Console.
If you cannot stop the service from inside the Windows Service Console, open a command prompt window and enter these commands to stop the service manually:cd WAS_HOME\bin server.bat stopWinService defaultServer
-
Remove the WebSphere Liberty service, if it is not
already removed.
Open a command prompt window and enter these commands:
cd WAS_HOME\bin server.bat unregisterWinService defaultServer
-
Uninstall WebSphere Liberty, if exists and other
products are not using it.
For uninstallation instructions, see the following links:
- Graphical user interface
- https://www.ibm.com/docs/en/was-liberty/base?topic=iuldos-uninstalling-liberty-from-distributed-operating-systems-using-gui
- Command-line interface
- https://www.ibm.com/docs/en/was-liberty/base?topic=iuldos-uninstalling-liberty-from-distributed-operating-systems-using-command-line
If the WAS_HOME or WAS_HOME\bin directories are already removed, skip Steps 1, 2, and 3.
-
Open the C:\ProgramData\IBM\Installation Manager\installRegistry.xml file
in a text editor.
Note: Back up the installRegistry.xml file.
-
Remove the entries that are relating only to IBM Security Guardium Key Lifecycle Manager.
For example:
<profile id='IBM Security Key Lifecycle Manager v4.1.1' kind='product'> .... </profile>
-
Remove the installation log files in this directory:
\IM App Data Dir\logs
- Remove Control Panel > Add or remove programs > IBM Installation Manger.
-
Remove the following folders, if exists:
- C:\Program Files\IBM\DB2GKLMV421
- C:\Program Files\IBM\WebSphere
- C:\Program Files\IBM\GKLMV421
- C:\Program Files\IBM\Installation Manager
- C:\Program Files\IBM\IBMIMShared
- Restart the computer.