Uninstalling PATROL for VMware vSphere on Windows


This section provides procedures that describe how to uninstall PATROL for VMware vSphere and all related log files from Windows.

Uninstalling the KM on Windows

If you want to retain log and configuration files, record the installation directory where the products that you want to remove reside.

To uninstall individual products

  1. From the Uninstall directory in your BMC product installation directory, double-click uninstall.exe to launch the installation utility in uninstall mode.

    Warning

    Note

    As an option, you can launch the installation utility in uninstall mode by choosing Start > Settings > Control Panel > Add/Remove Programs and double-clicking BMC Software Tools in the Add/Remove Programs Properties dialog box.

  2. On the Welcome page, click Next.
  3. Select the installation directory from which you want to remove a product, and click Next.
  4. Select the product or products that you want to uninstall, and click Next.
  5. Review your selections, and click Uninstall.
     After the uninstallation is complete, a window is displayed that tells you whether the uninstallation was successful.

Uninstalling all products while retaining log files

This task describes how to uninstall the PATROL product but retain log files, which contain history for future analysis, and configuration files for redeployment for Windows.

To uninstall all products on Windows

  1. Uninstall all products as described in Uninstalling <ProductShort> on Windows
  2. Locate the uninstall.ctl file in the following directory:
    BMCProductsInstallationDirectory\Uninstall\Install\instdata
  3. Open the uninstall.ctl file in a text editor, and edit the /BMC/Base variable to specify the name of the directory from which you removed the products in step 2.
  4. Open a command line prompt.
  5. Change to the following directory.
    BMCProductsInstallationDirectory \Uninstall\Install\ instbin
  6. Enter the following command:
 {{thorinst.exe -uninstall <controlfile_path> -log <logfile_path> -output <outputfile_path>}}

Use the following table to help determine the log file and output log file locations:

Windows example

If C:\Program Files\BMC Software is your product installation directory, you would change to the C:\Program Files\BMC Software\Uninstall\ Install\instbin directory and enter the following command:

 {{thorinst.exe -uninstall "C:&#92;Program Files&#92;BMC Software&#92;Uninstall&#92;Install&#92;instdata&#92;uninstall.ctl" -log Z:NetworkLogs&#92;MyLogs.txt -output Z:&#92;NetworkLogs&#92;MyLogs.out}}

This command removes all installation files and directories except those that are used by the utility at the time the uninstallation was performed. The command also ensures that all log files, configuration files, and user-modified files are retained.

Uninstalling all products and log files

This task describes how to remove all PATROL products and related log files and configuration files from your computer on Windows. After these files have been removed, you cannot recover them unless you have made a backup copy of the installation.

To uninstall all product and log files on Windows

  1. Uninstall all products as described in Uninstalling <ProductShort> on Windows.
  2. Locate the uninstall-all.ctl file in the following directory:
    BMCProductsInstallationDirectory\Uninstall\Install\instdata
  3. Open the uninstall-all.ctl file in a text editor, and edit the /BMC/Base variable to specify the name of the directory from which you removed the products in step 2.
  4. Open a command line prompt.
  5. Change to the following directory:
    BMCProductsInstallationDirectory\Uninstall\Install\instbin
  6. Enter the following command.
    thorinst.exe -uninstall path_to_control_file -log path_to_log_file -output path_to_output_log_file
    Use the following table to help determine the log file and output log file locations:

Windows example

If C:\Program Files\BMC Software is your product installation directory, you would change to the C:\Program Files\BMC Software\Uninstall\ Install\instbin directory and enter the following command:

 {{thorinst.exe -uninstall "C:&#92;Program Files&#92;BMC Software&#92;Uninstall&#92;Install&#92;instdata&#92;uninstall-all.ctl" -log Z:&#92;NetworkedLogs&#92;MyLogs.txt -output Z:&#92;NetworkLogs&#92;MyLogs.out}}

This command removes all installation files and directories. The files used to perform the installation are marked for deletion and are removed when the computer on which the products were uninstalled is rebooted.

 

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

BMC PATROL for VMware vSphere 4.0