Shavlik: Terminate Process

Version 5

    Author: Shavlik

    Category: Maintenance

    Inputs: The name or ID of the process to be stopped.

    Minimum ITScripts engine version required: 8.0.0.0

    Modifies the target machine: Yes

    Name: Terminate Process

    Outputs: A status message indicating the result of the operation.

    Purpose: This script allows you to terminate a process on a target machine.

    Script Version: 1.0.0.2

    Target Type: Any

     

    Technical Description:

    The process you want to terminate can be specified by an integer (representing a PID) or a string in quotes (representing the process name). Default is "taskmgr.exe".

     

    Possible Operations Monitor results include:

    "WMI connection to the target machine failed. Access is denied."

    "WMI connection to the target machine failed. The machine may be offline or firewalled."

    "Parameter 'process' must be a valid string (process name) or integer (PID)."

    "No process with the name <process name> was found running on the system."

    "No process with the ID <PID> was found running on the system."

    "Process with name <process name> was successfully terminated."

    "Process with ID <PID> was successfully terminated."

    "An error occurred attempting to terminate the process with the name <process name>."

    "An error occurred attempting to terminate the process with ID <PID>."