Creating a Power State Transition Rule to Prevent Application Errors During Power State Changes

Overview

In some cases, a power state change can cause an application error. This article provides the steps to determine what application is causing the error and how to use a power state transition rule to prevent the error.

Note: If a computer experiences wake issues that are not application errors, see Common issues during wake transitions.

Process

  1. Troubleshoot and obtain information about the error.
    1. Identify the application in which the error occurs, and capture the exact error message.
    2. To determine which power-state transition causes the error, manually transition the computer to Standby or Sleep using the Windows Start Menu / Shut Down command and then choosing Sleep or Stand by.
      If the error does not occur, manually wake the computer by moving the mouse or pressing a keyboard key.
    3. Open the Windows Event Viewer and gather the appropriate Windows event log information for the error that occurs.

      1.PNG

  2. Using that information, create a power state transition rule to prevent the error during the next power state change.
    1. Get the name of the application's executable file. For example, notepad.exe.
    2. Create a power state transition rule that terminates the application or stops the power state transition if that application is running.
      1. On the Verdiem menu icon.PNG, click Power Transition Rules.
      2. Click New Rule, select the Rule Type, and then click Next.

        2.PNG

      3. Type the name for the transition rule.

        3.PNG

      4. Type the exact name of the executable file for the application, or select an existing .exe file by browsing.
      5. Select the location of the executable file (Local, Network, or both).
      6. Select the transitions the rule should apply to (Sleep, Shutdown, or both).
      7. If you select a Run Script option, you will need to select a custom script that has been written in JavaScript or VBScript, and a code-signing certificate for the script must be installed on both the client and the Surveyor server. For details on using power state transition scripts, see the article: Managing Open Applications During Power State Changes.

        4.PNG

      8. Click Save.
  3. 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. 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 the article: Create and Edit Policies. When you insert a scheme, you have the option to insert a power state transition rule.

 

Comments

0 comments

Article is closed for comments.