The BCM does not allow for the direct uninstallation of any application from console, some applications can be removed using wmic calls. However, if the uninstall file and quiet installation procedure are present, the application will uninstall using the following solution.
Pre-requisites:
- Files must be acquired from the vendors or from the application install directory.
- Run command must be tested before using these below methods.
Solutions:
Method 1: Using Package factory just collect the uninstaller.exe (which is present with most of the installed applications)
- 1. Create new package using Wizard - below is an example of the CCleaner file
- 2. Add the Package run command and destination (Remember that, the run command varies depending upon the application and on vendors instruction)
- Under this package
- on Destination : C:/Program Files/CCleaner/ or any other path where restriction is not set.
- Run Command: C:/Program Files/CCleaner/Uninst.exe /S

'
- 3. Now add the file called uninst.exe from the package factory device to the package.
- 4. Choose to create operational rule and then click Next.
- 5.Click Yes. On the next screen the distribution options will be visible. This can be assigned to device groups/ devices as per the requirement.
- Now after successful Execution of the operational rule. CCcleaner will be removed from the assigned device.

This above instructions were created for demonstrating on how to do silent uninstallation of CCleaner from the device using BCM.
Method 2: Simple Method to Uninstall any application (There must be an uninstaller file available on the target device.)
- Create Operational rule using operational rule wizard
- Add step called " Execute Program "
- Now in this step add this command C:\Program Files\CCleaner\uninst.exe /S
- Also check Background mode and Run Program in its context.
- Click Ok and finish.
- Now choose Yes and assign this operational rule to a target device to uninstall the application
See also: BEST FAQ on BMC Client Management Package Deployment Issues