How to change the behavior after clicking the Power button in Windows Vista?

How to change the behavior after clicking the Power button in Windows Vista?

1.Click the Start button, and click Control Panel.
2. After the Control Panel window appears, click Hardware and Sound.

3.Click Change what the power buttons do in Power Options.

4.When the System Settings screen appears, click ▼ label of When I press the power button, choose Shut down.

You can start battery drive, set connect power.
The Power button behavior can be set to either Do nothing, Sleep, Hibernate or Shut down
*According to different templates being used, options displayed may also be different.
When using a laptop PC, you can use When I close the lid to set action after closing the lid.