If you are having issues with your laptop turning off after an extended period of time, even after making sure to change your power settings, this guide will show you how to make sure your Windows laptop stays on indefinitely, at least until you opt to manually shut it down.  


How to Backup Your Start Menu Layout.

Windows laptops have dozens of power settings that allow you to customize the way your laptop functions when on battery power and just as importantly mains power. For most people the standard power options work very well, allowing you to quickly and easily switch between battery saver, performance, and balanced modes without any drama.

Unfortunately, there is one issue that may be a problem for users who need to keep their laptops running indefinitely. Even if you have manually disabled all shutdown, sleep, and hibernate options in the standard power settings menu, your computer may still be shutting down after a few hours. The good news is that although this setting is in an obscure place, it's really easy to change, so follow along as we show you how to keep your laptop running indefinitely.

How Do You Keep Your Laptop On Indefinitely? (Prevent Your Laptop Shutting Down After a Few Hours)  

As we mentioned above, even if you have changed the basic power settings in Windows, your computer will probably still shut down after a set period of time. Which can be a huge pain in the ass if you are trying to download huge files or more importantly if you are trying to stake coins from a crypto wallet.

Although you’ve probably already made changes to the basic Windows power management settings we’ll start from the very beginning just to make sure you haven’t missed any options. To begin right-click the Battery Icon in the taskbar and select Power Options.


Once you have the power options window open click Create a Power Plan.


Here choose High Performance, name your custom plan, then click Next.


For the final step, make sure you have Put the Computer to Sleep set to Never for the Plugged in option. (You can do the same for on battery if you like). Once you have done this, click Create.

how to stop laptop shutting down early

For the next step, you will need to find and access the advanced power options to disable Hibernate which is usually configured to turn your computer off after 180 minutes, regardless of your power plan settings. To do this go back to the Power Options main page and click Change Plan Settings, then click Change Advanced Power Settings.  

In the new window that appears, scroll down and expand the heading called Sleep. Now expand Hibernate and click the figure to the right of the text, (usually set to 180 minutes) and change it to 0. This will change the configuration to Never and prevent your computer from shutting down until you do it manually. Alternatively, you can set the number to something higher if you only need your computer to run for a set period of time. Remember it's done in minutes not hours.

how to stop laptop shutting early

Once you have made the change, click Ok to save your settings. From now on your laptop will stay on indefinitely or at least until you manually shut it down or the power goes out. Another option you can use, which also works very well is to enable Ultimate Performance mode in the battery options. To do this open Command Prompt as Admin, then copy and paste the following command into the window and press Enter.

powercfg -duplicatescheme e9a42b02-d5df-448d-aa00-03f14749eb61

Once the command has run close the command window and open Windows Power Settings, You’ll now see a new mode called Ultimate Performance which you can select to use. Hibernate disabled by default in Ultimate Performance mode..