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.
2 Comments
[ + ] Show 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? - EdT 9 years ago
-
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. - pbarela 9 years ago
-
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. - EdT 9 years ago
Answers (2)
Please log in to answer
Posted by:
jegolf
9 years ago
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.
Comments:
-
Here's a tool I like to use for uninstalls as well. Another option. I've had Kace report back the wrong string a time or two.
https://finduninstallstring.codeplex.com/ - jegolf 9 years ago
Posted by:
HISDTechGuy
9 years ago