2.3 Testing a Published Scripting Policy

The following steps explain how to test a Scripting policy that is already published to a device. This is useful if you need to diagnose problems with the script. To test an unpublished script that you are developing, see Testing an Unpublished Script.

  1. Make sure that the script testing features of the Endpoint Security Agent are enabled for the device where you plan to test the Scripting policy. For details, see Enabling Script Testing in the Endpoint Security Agent.

  2. On the device, right-click the ZENworks icon in the notification area, and select Technician Application.

  3. Click Endpoint Security in the ZENworks Agent navigation menu.

  4. In the Endpoint Security Agent Actions section, click About to display the About dialog box.

  5. Click Agent Status to display the override password prompt.

  6. Specify the override password, then click OK to display the ZENworks Endpoint Security Agent Status dialog box.

  7. Click the Scripting tab.

  8. In the Scripts table, locate the Scripting policy you want to test, then use the following links located in the Commands column to test the script:

    • Trigger: Runs the script.

    • Terminate: Stops the script.

    • Trace: Opens the ZENworks Endpoint Security Agent Script Tracing dialog so that you can trigger the script and view the trace messages that are generated.

    • View: Opens the ZENworks Endpoint Security Agent Scripting Development Environment dialog box so that you can see the script triggers and execution context. You can use the options in the Development Environment dialog box to trigger and trace the script.