/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


Remote/silent uninstall of applications from computers

05/28/2020 461 views

Hello!

I am currently trying to uninstall software remotely and silently from a users computer. I wanted to know if anyone knew of a way to do this via kace or is their a way to do it via a script. I kace gives you and uninstall command that you can input into command line but it prompts the user for uninstall which is something that I do not want to do. Any suggestions?


Thanks you in advance!

0 Comments   [ + ] Show comments

Comments



Community Chosen Answer

1

At first check how to uninstall. 
Usually you will have MSI files, where an uninstall is easy and also silently.

msiexec /X{ID] /qn 
would unistall completely silent.

With KACE go to Inventory|Software| <the software in question> and check for Uninstall String.
With this string you can setup a script (if you want to uninstall multiple software in one script)

You also can use the Uninstaller under:
Scripting | Configuration Policies | Windows Uninstalller.
Set this up which produces you a script for this special Software only.

And of course you can use WMIC for doing this in a script for Software where no other way can be found (or multiple software with a similar name, like Java)
wmic product where "name like 'Java%%'" call uninstall /nointeractive
Answered 05/28/2020 by: Nico_K
Red Belt

All Answers

0

There's a few ways to go about it, depending on the app.  Do some research on how to uninstall the app silently, and also look into using the local system account to run the uninstall, which should provide another way to be silent.


Answered 05/28/2020 by: vjaneczko
9th Degree Black Belt

0

The easiest way is to look up the computer in INVENTORY /Devices  on right side of the page is the  search area. Once you find your computer, click on the name of the computer, scroll down till you see SOFTWARE / Installed Programs , click on that find your software program and click on the program it will open up the  program  and show you the uninstall command.

Uninstall Command:

MsiExec.exe /i{AC76BA86-7AD7-1033-7B44-AC0F074E4100}

write it like; start /wait MsiExec.exe /X{AC76BA86-7AD7-1033-7B44-AC0F074E4100} /qn

sometimes the uninstall command looks like this

"C:\Program Files (x86)\Windows Live\Installer\wlarp.exe" /uninstall:16.4.3528.0331 /quiet


You will need to play around it with it a bit and test .... but what I have shown will uninstall it silently.


XZuqCkIAhCAAAQgAAEIQAAC1yaA2HJtdFy46ARwWhe9BZfTfvrtcrY7tYYABCAAAQhAAAIQWCwCiC2L1V5YO0UCOK1ThElWcyNAv50bagqCAAQgAAEIQAACEIDAtQn8P6lSMI7ZYln+AAAAAElFTkSuQmCC


Answered 06/03/2020 by: TimHR
Purple Belt

 
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