Uninstall software silently.
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? - 786_ak 9 years ago
Answers (1)
Please log in to answer
Posted by:
Nico_K
9 years ago
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.
Comments:
-
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. - vjaneczko 9 years ago