Uninstalling the 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.

Error
Warning

All the data stored for the component you are uninstalling will be deleted. To retain this data, you must back up the database before continuing with the uninstallation process.

  1. Log on with administrator privileges to the server on which BMC Application Diagnostics Server is installed.
  2. In a command line, navigate to <InstallationDirectory>\UninstallBMCADOPServer folder, for example C:\Program Files\BMC Software\BMC Application Diagnostics\UninstallBMCADOPServer.
  3. 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.txt

    This is the default configuration.

  4. 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:
    1. In the <InstallationDirectory>\UninstallBMCADOPServer folder open the adop-silent-option-uninstall file in edit mode.
    2. To uninstall only the BMC Application Diagnostics Collector, add the line:

      -U bmc_application_diagnostics_collector
    3. To uninstall only the BMC Application Diagnostics Portal, add the line:

      -U bmc_application_diagnostics_portal
    4. If you do not want to delete either component, add a hash sign (#) before the component.
    5. Run the silent uninstall command:

      uninstall.cmd -i silent -DOPTIONS_FILE=adop-silent-option-uninstall
Warning

Note

You can view the uninstallation log files in the %temp% folder.

Related topics

Installing-the-BMC-Application-Diagnostics-Server
Upgrading

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC Application Diagnostics 2.1