Scripting Question

Uninstall software silently.

03/05/2015 2056 views
Hello all itninja!

I would like to know how to uninstall software on target pc silently. I tried few times using Configuration policies> uninstaller, but in order to complete the uninstall , user need to choose. Is there any way that i can fully uninstall any software without user notice it?

Thank you in advanced.
1 Comment   [ + ] Show comment


  • What are you trying to uninstall?

All Answers

You should change the uninstallation to silent (msiexec /x MSI-File /qn if you are running an uninstallation via msi)
I prefer a short script like that:
Launch $(KACE_SYS_DIR)\cmd.exe with params /c wmic product where name like 'java%%' call uninstall
This uninstalls all Java-Versions. 
Answered 03/06/2015 by: Nico_K
Red Belt

  • One suggestion; instead of specifying "MSI-File", specify the package GUID. This will not need the MSI file and use the cached copy. If you use "MSI-File", you'll have to make sure you specify the path to it or make sure it's in a folder indicated in the computers PATH setting.
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ