Important This documentation space contains information about PATROL Agents when deployed in a TrueSight Operations Management environment. If you are a BMC Helix Operations Management user, see PATROL Agent for BMC Helix Operations Management 24.3.01.

Uninstalling the PATROL Agent


This topic provides instructions for uninstalling the PATROL Agent, Installation Utility, and Knowledge Modules.

To uninstall the PATROL Agent

Do the following:

Navigate to the Uninstall directory in your BMC product installation directory, and run the following command:

#Windows operating system
#Syntax
uninstall.exe -silent {Name of the PATROL Agent Image}
#Example
uninstall.exe -silent PA_Host1
#UNIX
#Syntax
./uninstall.sh -silent {Name of the PATROL Agent Image}
#Example
./uninstall.sh -silent {PA_Host1}

You can use the Installation Utility to uninstall only those products that were installed with the current or later versions of the Installation Utility. To uninstall PATROL Agents installed using an earlier version of the utility, you must use the specific version that you used for the original installation.

To uninstall all the PATROL components in Windows

You can use the uninstall command to uninstall KMs, PATROL Agent, and the Installation Utility that are running on the host computer using the following flag options:

  • uninstall.exe -silent {images}: Enter a comma-separated list of image names that you want to uninstall.
  • uninstall.exe -silent {all_kms}: Use this option to uninstall all the KMs that are installed.
  • uninstall.exe -silent {all}: Use this option to uninstall all the BMC PATROL products that are installed.
    • To remove all the PATROL associated files, run the finalUninstallWipe.exe with administrator privilege from the C:\Program Files\BMC Software\Uninstall\Install\instbin directory.

Remove the rest of the PATROL Agent registry keys manually.

  • Navigate to Computer\HKEY_LOCAL_MACHINE\SOFTWARE\BMC Software\Patrol and delete the following keys:
    • Patrol
    • Patrol Agent
    • Patrol Security
  • Navigate to Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node and delete the following key:
    • BMC Software

To uninstall all the PATROL components in UNIX

Use the uninstall command to uninstall KMs, PATROL Agent, and the Installation Utility that are running on the host computer using the following flag options:

  • uninstall.sh -silent {images}: Enter a comma-separated list of image names that you want to uninstall.
  • uninstall.sh -silent {all_kms}: Use this option to uninstall all the KMs that are installed.
  • uninstall.sh -silent {all}: Use this option to uninstall all the BMC PATROL products that are installed.
    • To remove all the PATROL associated files in the /opt/bmc and /etc/patrol.d directory, run the WipeUninstall.sh script with the root privilege from the /home/patrol/BMCINSTALL/<date_timestamp> directory.
    • It doesn't remove the registry of PATROL and BMC tool. Remove it manually.

Delete the PatrolAgent.service file. The file maybe present in any one of the following directories:

  • /etc/systemd/system
  • /usr/lib/systemd/system



If you are using AIX and HPUX operating system, after uninstallation, delete the following softlinks manually in /usr/lib :

Delete the softlinks if it points to BMC base install directory. Don't delete if it points to other third-party software.

  • libnspr4.so
  • libfreebl3.so
  • libnss3.so
  • libnssckbi.so
  • libnssdbm3.so
  • libnssutil3.so
  • libplds4.so
  • libplc4.so
  • libsoftokn3.so
  • libsmime3.so
  • libssl3.so
  • libsqlite3.so

To uninstall all the PATROL Agent using Microsoft Installer

  • MSI Installer
    If the bmc_products package exists and it contains Setup.msi file in it: 
    • UI mode:
      1. Open the command prompt as an administrator user and run following command:

        start /wait msiexec /x Setup.msi /l*v log.txt

        The installer setup wizard opens.

      2. Select Remove and click Remove to uninstall PATROL Agent.
      3. Click Finish.
    • Silent mode:
      Open the command prompt as an administrator user and run following command:

      start /wait msiexec /x Setup.msi /l*v log.txt /qn
  • Control Panel
    1. Open control panel.
    2. Click Uninstall a program and select the BMC PATROL Agent and KM Installer and click Uninstall.

 

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