I need to uninstall a software package on all our machines and I want to use KACE

I need to uninstall a software package on all our machines and I want to use KACE. The software has an uninstall.exe file in the directory it is installed in, and the uninstall file has to be run from that directory. What command and syntax do I use for this? I assume it will be in the custom inventory rule field (I am a noob with KACE. No formal training but I have been using it a couple months now) but I don't know the command. I am planning on using the /quiet switch so the end user won't see anything.

Comments

Before any progress can be made for this script, what is the full uninstallstring for this application. Have you tested an elevated command line string that will uninstall the software package silently, assuming you are on Windows 7?

Thanks for your response. I tried running this uninstall from a DOS prompt with admin rights. I used the /verysilent and /suppressmsgbox switches. It still comes up with a window to click next. A window appearing is OK, as long as it doesn't require user intervention.

If a windows comes up when you run it via Kace, then there will be nothing for the user to see, but the uninstall will not proceed as long as the invisible window remains displayed. Consequently, you will not be able to uninstall via Kace until you find the appropriate uninstallstring that works from an elevated command prompt. Is this an internal or vendor application? If a vendor app, tell us what it is or look in the ITNinja app database as there may be silent uninstall commands already there.

Community Chosen Answer

1

What is the software in question? Usually you get an uninstall string you can run silently. Sometimes it is reported in the software inventory in Kace. You can use a Managed Install to target an uninstall with that uninstall string...just add /qn for a silent job.