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?
    • 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.
Please log in to comment

Community Chosen Answer

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.
Answered 12/12/2014 by: jegolf
Red Belt

  • 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.

Please log in to comment


Look in the details for the software it normaly has the uninstall command , just put that in a script and run it :D
here is the one for Kaspersky so you know what your looking for 

msiexec /x{04CF7FBD-E56C-446D-8FC9-DD444BDBEE8E} /qn /norestart 
Answered 01/05/2015 by: HISDTechGuy
Senior White Belt

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