How To Run Laptop With Lid Closed And External Monitor Connected

While it is not always necessary to run laptop with lid closed and connect it to an external monitor screen, in most of the cases, the laptop is connected to the external monitor when closing the lid. In this article, we will discuss two things:

  1. How to connect the laptop to an external display along with audio output
  2. How to keep the laptop running with lid closed

When we connect to an external display, normally we use the external display as an extension to the laptop LCD. But when it is not required and we are only using an external display, it would be better to close the laptop lid to save power and extend the laptop battery.

Also check out how to fix battery draining fast when the laptop lid is closed.

How to close laptop lid and use a monitor without going to sleep or hibernate

After connecting your Windows laptop with the monitor, you would want to close the lid of your laptop but not let it shutdown as it will stop displaying everything on the monitor and furthermore it also helps you to save some battery on your laptop.

There are multiple ways to configure laptop lid settings. We will discuss three ways here.

Configure laptop lid close action settings in Power Options

  1. To close the laptop’s lid and keep it running, go to the Control Panel ( Run –> Control )
  2. In the Control Panel, go to Hardware and Sound –> Power Options. You can also get Power Options by right clicking on the battery icon in the system tray and selecting Power Options.
    How To Run Laptop With Lid Closed And External Monitor Connected 1
  3. From the left hand menu, select “Choose what closing the lid does”. Power options for lid closing open. In the drop down options of “when I close the lid” select “Do nothing”. After making these changes, click the Save changes option.
    How To Run Laptop With Lid Closed And External Monitor Connected 2

From the left hand menu, select “Choose what closing the lid does”. Power options for lid closing open. In the drop down options of “when I close the lid” select “Do nothing”. After making these changes, click the Save changes option.

Now you can close the lid and still the display on external display won’t be disturbed and the system keeps on running. This is the easiest way to run a laptop with lid closed.

Configure lid close action option using Command Prompt

You can also use the below-given commands in Command Prompt to change the action for closing the laptop’s lid instantaneously.

To set the lid closing action to “do nothing” while on AC power, enter:

powercfg /setacvalueindex scheme_current sub_buttons lidaction 0

To set the lid closing action to “do nothing” while on DC/battery power, enter:

powercfg /setdcvalueindex scheme_current sub_buttons lidaction 0

You may change the integer value at the end of the command to the following for the associated action:

  • 0 – Do nothing
  • 1 – Sleep
  • 2 – Hibernate
  • 3 – Shut down

Configure lid close action settings using a script

You can also use a pre-configured script to change the actions for closing your laptop’s lid instantaneously. This script was created and then shared on Microsoft Technet Gallery for the public to use.

This is especially useful for the people who frequently like to change between their settings, such as sometimes putting their computer to sleep by closing their lids and sometimes letting it run.

  1. Download the script and place the file in a location you can easily access using the Command Prompt.
  2. Open Command Prompt as an Administrator and change the directory to where the script is placed.
  3. Now enter either of the commands to change the action for closing the lid:
    1. To configure the action to “do nothing” upon closing the lid, enter:
      lid on
      lid on
    2. To configure the action to “Sleep” upon closing the lid, enter:
      lid off
      lid off

There are a few more settings related to laptop lid closing action:

  1. Connect the laptop to an external monitor
  2. Change display settings to enable 2nd display
  3. Adjust audio settings according to the second display monitor

Connect laptop to monitor as external display

To connect your laptop with the screen you need to have an able that connects the laptop with the external monitor, this cable is called an HDMI cable. While you can also use other means to connect to an external display like VGA, DisplayPort and DVI port, HDMI is the most used digital port of all.

HDMI external port - Male
HDMI External Port – Male

Both the monitor and the laptop need HDMI connector port. Just insert one side in your laptop and the other in the monitor and everything on your laptop is now displayed on the monitor as well.

HDMI port - Female
HDMI port – Female

Change Display Settings to enable second display

To make changes to the display, press Windows Key + P that will open the Project menu. You will see four options:

  1. PC Screen only
  2. Duplicate
  3. Extend
  4. Second screen only

All options are pretty self-explanatory. To connect to an external display and turn off the laptop display, you will select the fourth option “Second screen only”.

Laptop screen is always the primary screen by default. It will be disabled when the second screen only option is selected.

Project to additional screen in Windows 10
Project an additional screen in Windows 10

Adjust the audio output settings

The advantage of using HDMI is that you can also stream audio through the monitor device. For example, if you are connecting an LED TV, it will have the capability of streaming audio in addition to video from the laptop. Just follow the steps below to enable audio through HDMI device.

  1. Right-click the speaker icon on the task bar
  2. Select playback devices and a small window will appear with sound options
  3. Select  Digital Audio HDMI
  4. Right click and click on set default.

Now you will get the sound from the monitor if it has speaker or an audio/video peripheral.

Volume Mixer
Volume Mixer
Making an audio device as default in Windows 10
Create an audio device as default in Windows 10

You can also extend and use the second laptop screen as a monitor in Windows 10.

For me this option is very useful as I keep my laptop running all the time. I have selected to do nothing when I close the lid while the laptop is connected to the power source. This helps me save power as well as use external monitor, speakers, keyboard and mouse.

One thing to note here is that if you restart your Windows computer, it will detect and activate the primary screen which is the laptop screen. The secondary screen will automatically get activated and the laptop screen will be turned off on the logon screen. So if you have a broken laptop screen, it will be difficult to start the computer as the laptop will always detect its own LCD as the primary display and will try to activate it until the system is fully booted.

What do you do when you want to run the laptop with lid closed?

Join 6000+ other users and have new posts emailed to you

Discover new tech tips and troubleshooting guides as soon as they are published

26 thoughts on “How To Run Laptop With Lid Closed And External Monitor Connected”

  1. Interestingly, the one thing that is not all that straight forward but still works is when you do Windows P and select “second screen only” that option actually means…”all monitors other then the laptop monitor” I have multiple monitors connected and (thankfully) when i select “second screen only” it turns off monitor 1 but keeps on all the other monitors.

    but the instructions here are exactly correct.

    Reply
  2. my laptop keeps shut down after 9 minutes when connected to external monitor. I have set power settings to “NEVER” go to sleep and lid closing is set to “Do Nothing” but it keeps shutting down my laptop

    Reply
  3. I have changed power options but monitor still goes to sleep when I close laptop lid. I am using VGA connection

    Reply
  4. Thank you soo much for these tips! I needed a bigger screen since my employer provided me with a small laptop to work from home. I really needed a bigger screen your tips really helped! Now I’m able to use the big monitor. So much better for my eyes.

    Reply
  5. Thanks for the tips. this is very helpful.
    I am using HDMI to connect, but I don’t see the HDMI option under “sound” window.
    I also have power setting on “Do nothing when lid close”, but I found my laptop seems can’t remember this setting. It will shut off the screen randomly when I close the lid.

    1 last question, Can you help to show us how to do copy and paste after connected to extended monitor? I am not able to paste the full area i have selected in Excel after using the extended monitor, only see portion of the screen I have capture.

    Reply
  6. This is exactly what I was looking for! It’s important to note that you need to select “Do Nothing” for the “On battery” section too. My screens were shutting down when I closed the lid which brought me here. Your instructions couldn’t be any simpler!

    Thanks!

    Reply
  7. after using this however, I am unable to switch back to duplicating or extending displays on both my laptop screen and monitor. any idea why?

    Reply
  8. Thanks for this page – my laptop at work wasn’t speaking to my monitors (randomly happened one day, no idea why), and after following your instructions, everything is copasthetic!

    Cheers!

    Reply
  9. I was doing this for a while, but now my computer is overheating and shutting down. I think on my laptop i may need to keep it open to help it breath, so I’ve been trying that and it seems to be working. Do you think that’s it?

    Reply
    • Are you leaving the computer idle for 5 minutes? And is it fully shutting down at around 5 minutes, or is it crashing? Amanda is right just have a look at your power and sleep settings for now, but if it’s anything but the computer going to sleep/hibernation after being idle, then I have no clue either.

      Reply
  10. I have two external monitors and when I close the lid, one of the external monitors also shuts off. Suggestions to keep using both external monitors?

    Reply
  11. i’ve done all the steps above and when i close my lid nothing happens and my external monitor turns off same with my laptop

    Reply
    • I have the same issue. I’ve changed the settings as detailed above and my monitor still turns off when closing the lid of the laptop. I have changed the settings to ‘Do Nothing’ when closing the lid with and without plugged into power. Any ideas?

      Reply
      • Control Panel\System and Security\Power Options\Edit Plan Settings/Change advanced power settings
        From here expand on “Display …Turn off display after” and select NEVER on battery and plugged in

        Hope this helps
        Liz

        Reply

Leave a Comment