1

I want to run a application before my windows tablet go to sleep/hibernate mode when I hit power button. Actually it should be triggered before entering sleep/hibernate mode but I'm ok if hooks power button.

1 Answers1

0

You can create a local computer policy on Windows. See the TechNet at http://technet.microsoft.com/en-us/magazine/dd630947

  1. Run gpedit.msc to open the Group Policy Editor,
  2. Navigate to Computer Configuration | Windows Settings | Scripts (Startup/Shutdown).

enter image description here

Source:

manjesh23
  • 1,742