/build/static/layout/Breadcrumb_cap_w.png

Killing two tasks in uninstaller script

I am uninstalling a program with Kace by creating a script in Configuration policies. There is a spot to kill the process for the program to uninstall but it only has one spot to put information in. Is there a way to specify more than one process to kill in one box. Not sure of the Syntax i should use for this.



0 Comments   [ + ] Show comments

Answers (2)

Posted by: jfrank 6 years ago
Blue Belt
0
I do not know if it is possible with the Uninstaller Config Policy (I wonder if it would be possible with some sort of boolean term)...

But to me, I would think it would be pretty straightforward to just create a script to uninstall the application you want and in the first task under the Verify step, have it kill both process and then proceed to the uninstall in the On Success step.

Comments:
  • I would do that but the whole point is to do this through KACE with a one click option. - bblank05 6 years ago
    • Sorry for the misinterpretation. - jfrank 6 years ago
      • no problem. Just trying to figure out how to do it through kace versus the old fashion scripts. - bblank05 6 years ago
Posted by: mikesharp1 6 years ago
2nd Degree Black Belt
0

From what I'm understanding you can only unstall one program per the software line however if you created a batch file and uploaded that file to the software inventory you can probably trick the scripted uninstaller to remove what you wanted.

Actually that's probably what I would do.

Hope that helps.


Comments:
  • I'm not trying to uninstall 2 programs. One program is being uninstalled. There is a spot to tell which process to kill but on the machine there is 2 processes running. When i uninstall the program it works but will not delete the program directory because there is another process that needs to be killed in order to do so. I was trying to use the kace scripts over using the uploaded scripts. More for trying to use and learn the Kace system better. - bblank05 6 years ago
    • http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx - mikesharp1 6 years ago
 
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