Managing Open Applications During Power State Changes

Overview

End users often leave open documents on their computers. When Surveyor is scheduled to shut down clients, many open applications cannot save and close documents until a user confirms the action. This prevents the computer from properly shutting down as scheduled.

This article provides the policies that you can apply to address this issue.

Resolution

The schemes that you assign to Surveyor policies can include power state transition rules that gracefully shut down applications that would otherwise keep computers awake.

The rules you create can automatically close running applications on a client, save work in a
temporary folder, and allow the computer to continue to shut down. Alternatively, you can specify that a particular application should prevent a client from shutting down.

Using Power State Transition Rules and Custom Scripts

To configure Surveyor to use power state transition rules, follow the steps below.

  1. Create a power state transition rule.
  2. Apply the rule to the appropriate devices.
    • Add the power state transition rule to a scheme in a policy that is assigned to the devices.
    • Alternatively, you can also assign a power state transition rule to the background scheme that runs when no other scheme is scheduled.

      To configure policy settings, see Create and Edit Policies. When you insert a scheme, you have the option to insert a power state transition rule.

One of the actions a rule can trigger is to run a custom power state transition script. If you want to run a custom script in response to a rule, you must take these additional steps.

  1. Create a script (JavaScript or VBScript).
  2. Upload the custom script to Surveyor.
  3. Assign the custom script to a power state transition rule.
  4. Install a code signing certificate on the Surveyor server.
  5. Install the same code signing certificate on all targeted clients in the group.

Comments

0 comments

Article is closed for comments.