Uninstalling manually on Windows operating systems

Steps to take when manually uninstalling the HCL Workload Automation master domain manager on a Windows operating systems.

Run the following steps to manually remove an HCL Workload Automation master domain manager.
Note: If your RDBMS is based on Oracle, browse to the TWA_home\usr\servers\engineServer\configDropins\overrides path and check in the datasource.xml configuration file the net service name used for your database before uninstalling the master domain manager.
1. Shut down all HCL Workload Automation operations and processes
  1. On a system prompt, go to the HCL Workload Automation installation path.
  2. Set the environment by running the twa_env.cmd command.
  3. Stop the dynamic agent by running the ShutDownLwa command.
  4. Stop netman, conman and their child processes by running the conman “shutdown command.
  5. Stop the event process by running the conman stopmon command.
  6. Stop the application server process by running the conman stopappservman command.
  7. In the task manager, verify that the following processes are inactive:
    netman 
    appservman 
    java 
    mailman 
    monman
As an alternative, you can also stop all processes by shutting down the related HCL Workload Automation services from the services panel.

2. Delete the HCL Workload Automation services
If you are uninstalling the master domain manager, you must delete the following services:
tws_tokensrv_TWS_user
tws_maestro_TWS_user
tws_ssm_agent_TWS_user
tws_netman_TWS_user
tws_cpa_agent_TWS_user
IBMWASService - TWS_user
The command to delete a service is:
sc delete service_name
When you finished, check that the following services are no longer listed in the active services for the TWS_user:

Workload Scheduler
Netman
Token service
Common Platform agent

If any of these services is still in the list, reboot the system and check again.
3. Delete the HCL Workload Automation files
Delete all the files under the TWA_install_dir directory.
4. Drop the HCL Workload Automation tables to the RDBMS
On DB2:
Run the following steps:
  1. From the program menu, open the DB2 command line processor (CLP).
  2. Look for the database name by running the command:
    list db directory
  3. If you see an entry named your_db_name associated to the HCL Workload Automation instance, run the command:
    drop db your_db_name
If the master domain manager was installed on the DB2 client, run steps 1 and 5 also on the system where the master domain manager is installed.
On ORACLE:
Run the following steps:
  1. Access the ORACLE command line.
  2. Run the command:
    sqlplus system/password@net_service_name
  3. Delete all the tables related to the HCL Workload Automation instance by running the command:
    drop user ORACLE_TWS_user cascade;