On a laptop or notebook computer, when user closing the lib, the computer will turn off the LCD screen display and then put the computer into sleep (stand by in Windows XP) or hibernation mode. In Windows operating system, including Windows XP, Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10 or later, the behavior when closing the lid on laptop or notebook PC can be changed and tweaked to user liking.

Turn off or disable ability for laptop and notebook to sleep or hibernate itself is useful for users who want to leave the computer for a while, and want to be able to start work immediately upon opening the lid when returning to computer. Do nothing while closing lid also prevent the system, from requesting the user’s password upon returning from sleep (see how to disable password requirement on wakeup), standby or hibernation after re-opening the lid.

How to Stop Laptop/Notebook Goes To Sleep or Hibernation when Closing Lid in Windows 10 / 8.1 / 8 / 7 / Vista

  1. Log on to your computer as an administrator. Click on Start, go to Control Panel -> System and Maintenance -> Power Options.
  2. Click on Change plan settings for the currently active plan.
  3. Click on Change advanced power settings link.
  4. In the “Power Options” dialog box’s “Advanced Settings” tab for the active power plan, expand Power buttons and lid.
  5. Expand Lid close action.
  6. Change the value to Do nothing for “Lid close action” by selecting a new option from drop down menu for both On battery and Plugged in.

    Disable Sleep or Hibernate on Closing Lid

    Based on own preference, it’s possible to set other action from the menu too. Available for selection is Do nothing, Sleep, Hibernate and Shutdown.

  7. Click OK button.
Note
If available, it’s also possible to hit the Choose what closing the lid does in the left pane of Power Options.

Choose What Close Lid Does

Then, select Do nothing in the drop down boxes for When I close the lid for On battery and Plugged in columns.

Do Nothing When Closing the Lid

Hit Save changes when done.

How to Disable Notebook Computer to Stand By or Hibernate on Closing Lid in Windows XP

  1. Log on to your computer as an administrator. Click Start, and then click Control Panel.
  2. Click Performance and Maintenance.
  3. Click Power Options.
  4. Click Advanced tab.
  5. Under “Power buttons” section, select Do nothing from drop down menu for When I close the lid on my portable computer option.

    Turn Off Stand By on Closing Lid

    Again, any other settings such as Stand by and Hibernate can be set based on own preference.

  6. Click OK button.