Have you ever wanted to keep your laptop running while the lid is closed? Maybe you need to download a big file, run a program, or use an external monitor without keeping your laptop open all the time.
It can be frustrating when your laptop goes to sleep or shuts down as soon as you close the lid. But don’t worry—there are simple settings you can change to keep your laptop on, even when the lid is shut.
You’ll learn easy steps to make this happen, so you can work smarter and more efficiently. Keep reading to discover how to take full control of your laptop’s power settings.
Adjust Power Settings
Open the Control Panel or Settings on your laptop. Find the Power Optionsmenu.
Look for the setting that controls what happens when the lid closes. This is often called “Choose what closing the lid does.”
You will see options for On batteryand Plugged in. Change both to Do nothingto keep the laptop on.
Adjust sleep and hibernate settings to prevent the laptop from turning off or sleeping. Set the timers to Neveror choose a longer time.
| Setting | Option to Select |
|---|---|
| When I close the lid (On battery) | Do nothing |
| When I close the lid (Plugged in) | Do nothing |
| Sleep after (On battery) | Never or longer time |
| Sleep after (Plugged in) | Never or longer time |
| Hibernate after | Never or longer time |

Credit: medium.com
Use Command Prompt
Open Command Promptas an administrator. Type powercfg /setacvalueindex SCHEME_CURRENT SUB_BUTTONS LIDACTION 0and press Enter. This command sets the laptop to do nothingwhen the lid is closed.
Next, type powercfg /setactive SCHEME_CURRENTand press Enter to apply the changes. These commands help keep the laptop runningeven with the lid closed.
| Setting | Command | Effect |
|---|---|---|
| Close Lid Action | powercfg /setacvalueindex SCHEME_CURRENT SUB_BUTTONS LIDACTION 0 | Prevents sleep on lid close |
| Activate Scheme | powercfg /setactive SCHEME_CURRENT | Applies new power settings |
Check if settings apply correctly by running powercfg /query. Look for LIDACTIONvalue. It should be 0, meaning the lid close action does not trigger sleep mode.
Modify Registry Settings
Before changing the registry, create a backup to avoid problems. Open the Registry Editor by typing regeditin the Start menu. Click on Fileand select Export. Save the file in a safe place.
To change the laptop lid behavior, navigate to:
- HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlPower
Look for the key named LidCloseAction. Double-click it and change its value:
| Value | Action |
|---|---|
| 0 | Do nothing (keep laptop on) |
| 1 | Sleep mode |
| 2 | Hibernate |
| 3 | Shut down |
Set the value to 0to keep the laptop running when the lid closes. Close the Registry Editor and restart your laptop for changes to take effect.
Third-party Software Solutions
Several third-party appshelp keep your laptop running with the lid closed. These apps offer simple options to change power settings.
Some popular choicesinclude:
- Insomnia: Prevents sleep mode when lid closes.
- Keep Awake: Easy to use with one-click activation.
- Caffeine: Stops screen from sleeping.
Installing these apps is usually quick. Download from the official website or trusted sources.
After installation, open the app and adjust settings to stop sleep on lid close. Most apps let you toggle this feature on or off anytime.
Check Hardware Compatibility
Check if your laptop supports staying on with the lid closed. Some models do not allow this feature due to hardware limits. Look for BIOS or UEFI options that control lid behavior. Access BIOS/UEFI by pressing a key during startup (like F2 or Delete). Find settings related to power or lid actions and change them to keep the laptop awake.
Updating drivers is very important. Outdated or missing drivers can stop the laptop from working as expected. Visit your laptop brand’s website to download the latest chipset and power management drivers. This helps the system recognize the lid status correctly and keep the laptop running.

Credit: www.youtube.com
Potential Risks And Precautions
Keeping a laptop lid closed while running can cause overheating. The laptop’s cooling system may not work well. Air vents can get blocked, leading to heat buildup. This heat can damage internal partsand reduce laptop life.
Battery drain is another concern. The laptop stays on, using power even if not in use. This can reduce battery lifeover time. It may also cause the battery to run out quickly.
- Use a cooling pad to help air flow.
- Make sure vents are not blocked.
- Keep the laptop on a hard surface.
- Use power settings to reduce battery use.
- Close unnecessary programs to save power.

Credit: allthings.how
Frequently Asked Questions
How Can I Keep My Laptop Running With Lid Closed?
You can adjust power settings to prevent sleep on lid close. On Windows, change “Choose what closing the lid does” to “Do nothing. ” On Mac, use third-party apps or connect an external display. This keeps your laptop active when the lid is shut.
Is It Safe To Keep A Laptop Lid Closed While Running?
Yes, it is safe if your laptop has proper ventilation. Avoid placing it on soft surfaces that block airflow. Use a cooling pad if necessary. Proper heat management prevents overheating when the lid is closed during operation.
Will Closing The Laptop Lid Affect Battery Life?
Closing the lid without sleep mode does not directly drain battery faster. However, running processes continue to consume power. Ensure your laptop is plugged in or adjust settings to balance performance and battery life effectively.
Can I Use An External Monitor With Laptop Lid Closed?
Yes, many laptops support “clamshell mode” to use an external monitor with the lid closed. Connect your monitor, keyboard, and mouse, then change power settings to keep the laptop awake. This setup is ideal for a clean workspace.
Conclusion
Keeping your laptop on with the lid closed is useful. It saves time and keeps downloads running. Follow the right steps to avoid overheating. Adjust settings in your control panel. This ensures your work continues smoothly. Remember to monitor your laptop’s temperature.
Use a cooling pad if necessary. This method is helpful for multitasking. Now you can manage tasks efficiently. Enjoy the convenience of working without interruptions. Keep your laptop cool and effective. Happy computing!





