

In case when you have an external monitor connected to the laptop, Windows 10 display settings will change automatically to enable use of the external screen when the notebook is closed. Its built-in display will be turned of, of course. After changing the settings, click on the “Save changes” button.Īs a side note, the same option can be used to put a Windows laptop in hibernation mode or to shut it down completely when you close the lid.Ĭhoosing “Do nothing” will prevent your computer from going into sleep, hibernation, and from shutting down. You can have separate “When I close the lid” settings for the laptop running on battery and while plugged in a power outlet. It will continue to work normally when you close the notebook. If you select “ Do nothing” from the list, your laptop will be prevented from going to “Sleep” or other inactive modes. It’s usually set to “Sleep”, since that’s the default choice.

There you just need to change settings of the “When I close the lid” option. Clicking on the result will take you to a relevant section of Windows Control Panel (Control Panel\Hardware and Sound\Power Options\System Settings). A “Change what closing the lid does” option will show up in the search results. It’s simple:Ĭlick on the magnifier (Search Windows) icon in the lower left corner of the screen. Here’s how to keep your Windows 10 laptop on with the lid closed. Or if you want to continue an online audio streaming with the laptop closed. Or, if don’t want to interrupt an ongoing file download, but for some reason you need to close the lid. For instance, when you connect a laptop to an external monitor and don’t want to use the notebook’s own display. You’ll need to press the computer’s Power button to wake it.Sometimes you want to keep your Windows 10 laptop running while it is closed. Now neither your mouse or keyboard will wake your Windows 10 system from sleep mode.

Use the below command to install this module: pip install pyautogui. ) This will keep your PC awake forever till you close the program. By default, moving your mouse or pressing the keyboard will wake up your computer from sleep / hibernation mode. Here we will be using a python package PyAutoGUI (cross-platform GUI automation Python module used to programmatically control the mouse & keyboard.
