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:
#Syntax
uninstall.exe -silent {Name of the PATROL Agent Image}
#Example
uninstall.exe -silent PA_Host1
#Syntax
./uninstall.sh -silent {Name of the PATROL Agent Image}
#Example
./uninstall.sh -silent {PA_Host1}
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:
Open the command prompt as an administrator user and run following command:
start /wait msiexec /x Setup.msi /l*v log.txtThe installer setup wizard opens.
- Select Remove and click Remove to uninstall PATROL Agent.
- 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
- UI mode:
- Control Panel
- Open control panel.
- Click Uninstall a program and select the BMC PATROL Agent and KM Installer and click Uninstall.