I have multiple versions of Bomgar 15.2.2 installed across my environment and I need to uninstall it on about 100 machines.  I don't wan to do it manually, but I can't seem to get a script gong that will remove them all.  Please help.
1 Comment   [ - ] Hide Comment


  • One way is to navigate to Scripts>Configuration Policies and select uninstaller. From the drop down list you can choose the software and version you wan to uninstall. Copy the File & Parameters into a line in a text file on your PC. Repeat this for every version you wish to uninstall. Then create a new Script and for a Task, select Run a Batch file. Now copy all the contents in your text file to the window. This will run each uninstall without checking versions, so you will get a lot of errors, but it should uninstall. You could write a separate task for each version having it check to see if it installed and if so, run the uninstall command.
Please log in to comment

Community Chosen Answer


First step:
Create a smart label which contains all machines where the software is installed.

Second step:
Create a script for uninstall the software like that (it is for java uninstall)
Launch $(KACE_SYS_DIR)\cmd.exe with params /c wmic product where name like 'java%%' call uninstall

Third step:
Run the script against this label regulary.
When the software has been uninstalled the machines drop out of the label so it won't run against this anymore.
Answered 04/20/2017 by: Nico_K
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity


What have you tied so far? 

I create a batch file for such jobs and call the GUIDs with the msiexec /x command. Here's an example (Adobe Flash Player):

@echo off

MsiExec.exe /X{A028A66B-0FC8-4C97-8A8C-2E6CE3548B55} /QN

MsiExec.exe /X{6E6D2BB7-B844-4842-B62D-0A7F0AA7884E} /QN

MsiExec.exe /X{316462DB-82C6-4856-BA1F-2FDFDC08799F} /QN

MsiExec.exe /X{381EE08C-2992-4F52-9A69-4997974C0EEE} /QN


Answered 04/20/2017 by: rockhead44
Red Belt

Please log in to comment