If you want to use your Windows 11 laptop with an external monitor, mouse, and keyboard, it’s often best to keep the lid closed. Here’s how to close the lid without putting your computer to sleep.
First, open Windows Settings by pressing Windows + i on your keyboard. Or you can right-click the Start button and select Settings.
In the Settings section, click on the search bar and type “lid” and then click on the “Change actions when closing the lid” result that appears below it.
The System Preferences window will open (it’s part of the Control Panel, which is the legacy installer for Windows). Under Power and sleep buttons and cover settings, you will see several options to let you press the power or sleep buttons on your device.
At the bottom you will see the inscription “When I close the lid.” If you want your laptop to stay awake when it’s not plugged in (and only on battery power), select “Do Nothing” under the “Battery” column. If you want your laptop to stay awake with the lid closed only when connected to a network, use the drop-down menu in the Network connection column and select Do nothing.
Warning. If you let your laptop stay on with the lid closed while on battery power, you could accidentally drain your battery without realizing it, so be careful.
Then click the “Save Changes” button at the bottom of the window.
These changes will apply to all of your power plans. When you’re ready, close the System Preferences and Preferences windows. To check this, connect your laptop to an external monitor and close the lid. If the video stays on, you’ll know you’ve set it up correctly. Good luck!