Shavlik: Set Verbose Logging on Target Machine

Version 5

    Author: Shavlik

    Category: Configuration

    Inputs: A flag indicating if verbose logging is to be enabled or disabled

    Minimum ITScripts engine version required: 8.0.0.0

    Modifies the target machine: Yes. Writes configuration files to the %windir%ProPatches directory.

    Name: Set Target Machine Verbose Logging

    Outputs: An appropriate message indicating whether or not the operation was successful

    Purpose: This script will enable or disable verbose logging on a target machine. This script will help troubleshoot agentless deployments that appear to fail on the target machine.

    Script Version: 1.0.0.7

    Target Type: Any

     

    Technical Description:

    Enable Action - This script will write out the following XML files to enable verbose logging:

    %winDir%ProPatchescl5.exe.config

    %winDir%ProPatchessafeReboot.exe.config

    %winDir%ProPatchessafeReboot64.exe.config

    %winDir%ProPatchesSchedulerstschedex.exe.config

     

    If the "Shavlik Scheduler" service is installed and running, it will restart the service.

     

    Disable Action - This script will delete the following XML files to enable verbose logging:

    %winDir%ProPatchescl5.exe.config

    %winDir%ProPatchessafeReboot.exe.config

    %winDir%ProPatchessafeReboot64.exe.config

    %winDir%ProPatchesSchedulerstschedex.exe.config

     

    If the "Shavlik Scheduler" service is installed and running, it will restart the service.

     

    Possible Operations Monitor results include:

    "Parameter "action" must be set to "enable" or "disable"."

    "Unable to stop the Shavlik Scheduler service in a reasonable amount of time."

    "Unable to start the Shavlik Scheduler service in a reasonable amount of time."

    "The directory was not found on the remote system."

    "Verbose logging was successfully enabled."

    "Verbose logging was successfully disabled."