HP Customer Support - Knowledge Base




  • Information
    We are upgrading our website

    If you experience errors during this time, please try again later. Sorry for the inconvenience.


    Find Windows 11 and Windows 10 support help. Visit Windows Support Center

  • Feedback



HP and Compaq Desktop PCs - Setting Power Button Behavior (Windows 7)

This document pertains to HP and Compaq PCs with Windows 7.
Use the sections in this document to change the behavior of the power button, to understand the power controls from the Start menu, and to set your power plan or power saving features in Windows 7.

Changing the power button options

Your computer's case has a power button that can be pressed to shut down or put the computer into a sleep mode. Windows 7 helps you control how the computer behaves after the power button on the computer is pressed. The function of the power button can be changed to Do nothing, Sleep, Hibernate, or Shut down.
If you want the computer to go into a power savings mode or shut down when the power button is pressed, then use the following instructions that to change the Power button behavior:
  1. Click Start , click Control Panel, and then click Hardware and Sound.
  2. In the Power Options section, click Change what the power buttons do.
    Figure : Changing what the power buttons do
    Image of the Power Options screen selecting change what the power buttons do
  3. In the Power and sleep button settings area, click When I press the power button, and select one of the following options:
    • Do nothing
    • Sleep
    • Hibernate
    • Shut down
    Figure : Change the power button behavior
    Image of the Power button setting options
  4. Click Save changes, and close the Power Options and Control Panel windows.

Using the start menu power controls

The same options that are available for the power button controls are also available from the start menu. Under normal conditions the computer should be shut down or put into a sleep mode using the start menu.
  • The Shut down button on the Start menu shuts down the computer.
  • The arrow button in the Shut Down menu allows you to select one of the following options: Switch User, Log Off, Lock, Restart, or Sleep.
    Figure : Windows 7 Start menu with Shut down arrow button selected
    Image of the Windows 7 Start menu with the arrow button menu
    Shut down button
    Shutdown. Use shut down only when you want to turn off the power to your computer or do not plan to use it for several days.
    Arrow button
    Opens a menu with the following options:
    Switch User. Logs off the current user, without closing programs, and allows for a quick log in to a Windows account.
    Log Off. Logs the current user out of Windows.
    Lock. Protects the computer when you leave for a short time.
    Restart. Closes Windows, shuts down, and restarts the computer.
    Sleep. Keeps your session in memory and puts the computer in a low-power state.

Power-saving settings

Follow the instructions below to select a power plan with specific power saving settings:
  1. Click Start , click Control Panel, and then click Hardware and Sound. In the Power Options section, click Change power-saving settings.
    Figure : Power Options
    Image of the Power Options with change power-saving settings selected
  2. In the Power plan window, find the power plan that you are using, (it is already selected), and click Change plan settings. Or you may select a different power plan to meet your requirements: Recommended Settings, Power saver, Balanced, or High Performance.
    Figure : Changing the power plan settings
    Image of the Select a power plan screen with change plan settings highlighted
  3. In the Change settings window, you may choose the number of minutes from the drop-down menu for Turn off the display and Put the computer to sleep.
    In addition, if you click Change advanced power settings, there are additional options to configure for power settings.
    Figure : Changed advanced power settings
    Image of Edit Plan Settings window with Change advanced power settings highlighted
  4. Click the plus sign (+) next to each option in the Advanced settings menu to expand the list. Select a new setting from the list that displays.
    Figure : Advanced power settings
    Image of the Advanced power settings menu
  5. After making all the changes, click OK to close the Power Options window. Then close the Edit Plan Settings window .






Country/Region: Flag United States