Scripting Question

Using the Kill kpatch.exe Script

08/10/2016 1956 views

Hi there,

I am trying to find the best way of killing the above process as and when required.  I found these instructions below but when I run it the script either fails with the following error:

Running as SYSTEM
Couldn't kill process (fail) : kpatch.exe

or just sitting there saying the script is running.

kaptch.exe appears to be killed off but Kace does seem to update this on the patching schedule screen

Method 1 (Recommended) - Using the K1000 scripting module

  1. Click Scripting | Choose Action | Add New Item
  2. Give the script a name - Kill kpatch.exe
  3. Click Deploy to All machines. Specify only your Windows machines.
    1. Normally this wouldn't be a good practice, but since we want to make sure to get all machines in your environment, and do it quickly, this is OK.
  4. Under Policies or Job rules, click Add Task Section.
  5. Under On Success, click Add.
  6. In the Add New Step drop down, click Kill a Process.
  7. In the name box, type Kpatch.exe
  8. Save and run your script.

Kind regards


0 Comments   [ + ] Show comments


Be the first to answer this question

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