Puget Systems print logo

https://www.pugetsystems.com

Read this article at https://www.pugetsystems.com/guides/793
Article Thumbnail

How to disable Sleep Mode or Hibernation

Written on April 26, 2016 by Brett Nordquist
Share:

Introduction

Here at Puget Systems we have seen some issues with Sleep mode and Hibernation in Windows 10, so I wanted to write this article showing how to disable each of them if you’re having issues with either. 

Sleep mode is typically used when you want to step away from your computer for a bit and have the system enter a lower power state. Taking a break for lunch would be such an example. When you come back to it all you have to do is press a button and your desktop and programs return to the state in which you left them. In this article, what I refer to as Sleep is automatic Sleep which is when you step away from your system for a period of time and your system goes to Sleep (unless you have disabled it of course).

Hibernation saves part or all of the operating system's current state to the very large Hibernation file on the hard drive and then powers off so when the system starts up it merely resumes from the saved state on the hard drive. This offers the power on speed of sleep without needing to rely on the system being powered to keep the ram state like Sleep does.

The steps below will show you how to disable Sleep and/or Hibernation as well as Hybrid Sleep and Fast Startup.

Sleep

To disable automatic Sleep:

  1. Open up Power Options in the Control Panel. In Windows 10 you can get there from right clicking on the start menu and going to Power Options
  2. Click change plan settings next to your current power plan
  3. Change "Put the computer to sleep" to never
  4. Click "Save Changes"

If your current power plan is set to Balanced, several devices are allowed to go into a low power states which can sometimes cause issues. If you disable Sleep and still have issues on Balanced, try changing to High performance. You will use a little more power but devices which might be causing an issue are typically told to just stay on.

Hibernation

Disabling Hibernation is even easier. You do not want to do this if you have a laptop as Hibernation is essential when a laptop's battery loses charge and the system needs to safely save it's state. If you have a laptop skip disabling Hibernation and instead disable Fast Startup and Hybrid Sleep if you are having issues.

To disable Hibernation:

  1. The first step is to run the command prompt as administrator. In Windows 10, you can do this by right clicking on the start menu and clicking "Command Prompt (Admin)"
  2. Type in "powercfg.exe /h off" without the quotes and press enter. If you typed it in correctly, the cursor will simply start at a new line asking for new input
  3. Now just exit out of command prompt

If you have a laptop as I mentioned above you do not want to disable Hibernation. You can instead disable two aspects of it which may be causing you problems. These two aspects are Fast Startup and Hybrid Sleep. Fast Startup combines Hibernate and shutdown, while Hybrid Sleep combines Sleep and Hibernation. Both of those can cause problems with shutting down or Sleeping.

To disable Fast Startup: (does not apply if you have disabled Hibernation)

  1. Open up Power Options in the Control Panel. In Windows 10 you can get there from right clicking on the start menu and going to Power Options
  2. Once there, on the left hand side, click "Choose what the power buttons do"
  3. Click  "change settings that are currently unavailable" up at the top
  4. Down below under the "Shutdown Settings" section you will see "Fast Startup" check-boxed. Uncheck the box
  5. Click OK

To disable Hybrid Sleep: (does not apply if you have disabled Sleep or Hibernation)

  1. Open up Power Options in the Control Panel. In Windows 10 you can get there from right clicking on the start menu and going to Power Options
  2. Click "change plan settings" next to your current power plan
  3. Click "change advanced power settings"
  4. Click the + sign next to "Sleep" 
  5. Click the + sign next to "Allow hybrid sleep" and change setting to "off"
  6. Click OK

Need help with your Puget Systems PC?

If something is wrong with your Puget Systems PC. We are readily accessible, and our support team comes from a wide range of technological backgrounds to better assist you!

Contact Puget Systems Support

Looking for more support guides?

If you are looking for a solution to a problem you are having with your PC, we also have a number of other support guides that may be able to assist you with other issues.

Puget Systems Online Help Guides

Tags: sleep, windows, 10, hibernate, fast startup, hybrid sleep, issue
Sebastian Rios

Thank you

Posted on 2018-02-24 04:00:28
Laraba Mohammed SEDDIK

<3

Posted on 2018-04-16 18:41:05
Mig

Love you xxx

Posted on 2018-06-05 16:01:36
Ben

Thank you for your post.

When I paste it into the command prompt, I get this error message:

Unable to perform operation. An unexpected error (0x65b) has occurred: Function failed during execution.

any ideas?

Posted on 2018-07-24 07:09:34
Aribeth Tyr

Use right click on on windows bitton and use a command prompt with admin priviledge

Posted on 2018-07-24 15:28:21
Anon-kun

Thanks

Posted on 2018-07-27 12:07:41

Great, help me a lot!

Posted on 2018-09-17 15:44:37
Admiral Asmov of Earthship Sea

awesome! a bit different than WIndows 7 thanks!

Posted on 2019-05-26 02:33:20

In general it is not... but sometimes it could be a good idea to do it on laptops as well... disabling sleep mode can prevent cold boot attacks on encrypted laptop harddrives. It's can be a lifesaver for any business user with critical data on the run or for powerusers from home with valuable personal data. Cold boot attacks can like other attacks be used both against criminals and by criminals even if it's typically a method used by the police.

Posted on 2019-06-01 08:09:37

Thanks for article. Was not seeing my Windows partition when booting into macOS and NTFS for Mac reported it to be hibernating. Triple booting a PC to run macOS, Windows, Ubuntu creates some interesting reboot issues.
This article at least fixed one for me.

Posted on 2019-06-16 00:12:16
Ian G Downie

There is also a 'System unattended sleep timeout' control in the 'Advanced settings'. I tried as suggested above but no change. I then found this one and it was set at 2 minutes. This was approximately what was happening to annoy me. I have increased it to thousands and saved it and hope this will be the end of this particular grief....

Posted on 2019-07-16 11:28:03
Ben Nelson

Thank you for sharing Ian!

Posted on 2019-07-16 13:36:42
Little Potato

Ian, you are a life saver. I've been pulling my hair out trying to fix this. This setting obviously got messed up in an update or had a bad interaction with some installed software because my computer was going to sleep even as I was actively using it. Repeatedly. I was at my wit's and patience's end.

Heads up for anyone else running into this issue: This setting wasn't showing in my "Advanced Settings." I had to use the admin command line tool to remove the hidden attribute for this setting so I could change the number. [Windows key+X -> Windows Powershell (Admin) -> "powercfg -attributes SUB_SLEEP 7bc4a2f9-d8fc-4469-b07b-33eb785aaca0 -ATTRIB_HIDE" (text inside quotes) -> "exit"]

Posted on 2019-08-05 21:09:43
Vikas

Thanks....

It's really use....!

Posted on 2019-11-18 06:36:16

Nothing I'm reading above seems to fit what I need, so I'll just ask outright. I'm running Windows 10 Pro on a laptop (Lenovo W540) with the lid shut 24/7, and the laptop's connected to an external monitor, USB mouse, and USB keyboard, all working like I want. After so many hours (4, I believe) of inactivity, the laptop exits my apps (Chrome, Word, etc.) and completely powers down. In order to bring my laptop back up, I have to open the lid and hit the power button, but all my work is lost.
I would like to have the laptop return to its working state right away when I shake the mouse, like it used to, when I was running Windows 7 on another laptop (Dell Latitude D830). I've checked to make sure the HID-compliant mouse is selected to "Allow this device to wake the computer"
Is there something I can do, to set my laptop state to do what I need?
Thanks!

Posted on 2019-11-18 12:59:01
Michael

HI NoJi Ratzlaff,

I hope this will help, and sorry for replying now.

You’ll need to adjust a Windows power setting to change the lid-closing behavior:

In the System Tray (bottom-right corner of the screen), find the Battery icon. You may have to click the small arrow to show all icons. Right-click the Battery and choose Power Options.

On the left of the Power Options menu, select Choose what closing the lid does.

You’ll see options for the power and sleep buttons. Under When I close the lid, change the drop down box for Plugged in (and On Battery if you want) to Do nothing.

Click Save Changes and you’re good to go.

Hope it will help

Posted on 2019-12-10 08:52:09
Cva

Thanks for the Post

Posted on 2020-02-20 09:00:15
Ahmer siddiqui

it's work thank you

Posted on 2020-04-25 15:13:02