Uninstalling the BMC Application Diagnostics Server on Windows in silent mode
Perform the following steps to uninstall the BMC Application Diagnostics Server on Windows computers using silent mode, which requires no user interaction during uninstallation.
- Log on with administrator privileges to the server on which BMC Application Diagnostics Server is installed.
- In a command line, navigate to <InstallationDirectory>\UninstallBMCADOPServer folder, for example C:\Program Files\BMC Software\BMC Application Diagnostics\UninstallBMCADOPServer.
To silently uninstall the BMC Application Diagnostics Collector and the BMC Application Diagnostics Portal, run the following command:
uninstall.cmd -i silent -DOPTIONS_FILE=adop-silent-option-uninstall.txtThis is the default configuration.
- You can edit the silent installation file to specify which component to uninstall, as well as the MySQL root password for cleaning the database tables:
- In the <InstallationDirectory>\UninstallBMCADOPServer folder open the adop-silent-option-uninstall file in edit mode.
To uninstall only the BMC Application Diagnostics Collector, add the line:
-U bmc_application_diagnostics_collectorTo uninstall only the BMC Application Diagnostics Portal, add the line:
-U bmc_application_diagnostics_portal- If you do not want to delete either component, add a hash sign (#) before the component.
- Configure the database with the MySQL root password for cleaning the database tables.
The displayed password is the default password generated during installation. Leave this password if you have not changed the MySQL root password since installation. If you have changed the MySQL root password since installation, enter a new, encrypted password using the following procedure:- Navigate to <installation dir>\utilities
- Run ADOPServerMaintenanceTool.cmd
- Select the last tab Encrypt.
- Enter the password and confirm the password.
- Click Encrypt.
Copy the encrypted password and paste it in the silent option file.
-J db_admin_password=DES\:c8e0fe3ab90cb90e0def21a18dd8454e
Run the silent uninstall command:
uninstall.cmd -i silent -DOPTIONS_FILE=adop-silent-option-uninstall
The following message displays at the end of the uninstallation process:
The batch file cannot be found.
This is a result of communication between Windows and Java. It has no impact, and can be ignored.