Hibernate doesn't work in Windows 7 64bit

11

2

Hibernate doesn't work in Windows 7 64bit. When I try to hibernate, it just turns off computer and when I turn on it, it doesn't resume and it just starts as 'fresh' again. I updated my drivers. What is the problem? Can you give me a hand? Thank you.

Come on, please help me, I really need hibernate working, 100 of my reputation will go to you. Thanks.

Edit, by the way, my model is: Inspiron N5010. After I hibernate and turn on my computer, it just show Shut down didn't shut down correctly.

hey

Posted 2011-06-21T16:14:21.577

Reputation: 1 616

Your computer has to support the hardware instructions that make hibernate possible. – Ramhound – 2011-06-21T16:16:40.087

@Ramhound: so what should I do? – hey – 2011-06-21T16:17:44.327

Is hibernation enabled?, is there a "hiberfil.sys" file on the root of the C drive? – Moab – 2011-06-21T16:28:03.853

@Moab: no. . . . – hey – 2011-06-21T16:37:17.193

Open an elevated command prompt, type "powercfg -h on" no quotes, hit enter, see if it will hibernate now. – Moab – 2011-06-21T17:01:41.543

@Moab: it didn't help. – hey – 2011-06-21T17:26:19.853

Is there a hiberfil.sys file after you did the command? – Moab – 2011-06-21T23:05:21.887

@Moab : no .... – hey – 2011-06-22T15:50:18.810

What make and model PC is this? – Moab – 2011-06-22T23:10:08.343

@Moab: Dell Srs – hey – 2011-06-22T23:39:02.483

@Moab let us continue this discussion in chat

– hey – 2011-06-22T23:39:09.350

which windows 7 64bit? do you have admin privileges? what about sleep feature: does it function? – kokbira – 2011-06-25T23:03:41.960

@kokbira: Yes, I have admin privileges. Sleep feature works. What do you mean by asking which windows 7? – hey – 2011-06-25T23:11:42.537

ultimate, starter... – kokbira – 2011-06-25T23:57:51.727

is it a laptop, a netbook...? I see in some forums that some HP machines would update bios to fix it (but in that case a BSOD appeared). – kokbira – 2011-06-26T00:00:27.370

@hey, are there any errors in Action Center Reliability Monitor? – bwDraco – 2011-06-26T00:05:06.057

I "heard" that the SP1 affected some machines in hibernation feature... – kokbira – 2011-06-26T00:34:00.930

hey, when you put it to hibernate, does windows show some screen that says that or it only performs a shutdown, in the same way you turn off the computer (e.g. asking to end some running processes etc.)? – kokbira – 2011-06-26T00:38:43.500

@kokbira: It just instantly shows black screen, doesn't ask to end running processes like in Shut down. – hey – 2011-06-26T09:55:21.063

@hey I have added much to my original answer. A lot of things that have worked for various people on the Internet. Take a look, and see if any of the solutions help you. – KCotreau – 2011-06-27T13:21:50.577

Answers

6

Some ideas for resolving sleep and hibernation problems:

  1. Disconnect any and all unnecessary devices from your PC. Pare it down to the absolute minimum : unplug anything you can disconnect, turn off and unplug the computer from the mains for a few minutes, then reboot. If the problem disappears, add the devices back while testing.
  2. Look in your BIOS for the suspend ACPI options and try to switch modes among "S1 and S3", "S3" etc.
  3. Turn off Hybrid sleep, see explanation here (for Vista, but is the same)
  4. The hibernation file is sometimes disabled by disk cleaning, to restore do in cmd run as administrator "powercfg -h on".
  5. You can use the following command to troubleshoot sleep problems and return a detailed report: powercfg -ENERGY

EDIT

The symptoms you describe don't sound right. Your computer might be infected. Better install and deep-scan using several antivirus products in addition to your current one, at least Malwarebytes Anti-Malware, but also possible are Avast and Spybot-S&D.

You can also use an antivirus online scan such as ESET Online Scanner, Trend Micro House Call and Kaspersky Labs Free Virus Scan. Please note that they might require you to use Internet Explorer as your browser as an administrator, and that each scan may take several hours.

If nothing is found, I suggest using sfc /scannow.

The last resort is Repair Install, which will refresh Windows without requiring you to reinstall any of your applications. Afterward, only total reinstall of Windows is left.

If none of these solves the problem, then this is a hardware problem, so I hope your computer is under warranty.

harrymc

Posted 2011-06-21T16:14:21.577

Reputation: 306 093

Recommend anyone with this problem start with #3 above: disable hybrid sleep. This is the most common configuration I have seen that (silently) prevents the user from sending the computer into hibernation. – feetwet – 2014-11-03T20:04:20.490

@harrymc: tried everything, still no working. – hey – 2011-06-26T11:13:47.907

Did you have any error messages in powercfg ? And how much free disk space do you have on C ? – harrymc – 2011-06-26T11:51:20.367

@harrymc: it didn't. I have 228Gb left. – hey – 2011-06-26T14:10:23.953

Have you run Windows Update, including optional updates ? – harrymc – 2011-06-26T14:40:48.933

Also, please check your settings against How to Troubleshoot a Vista or Windows 7 Sleep Mode Problem.

– harrymc – 2011-06-26T14:50:30.050

@harrymc: it is another problem. I turned off Windows Update. Because when I run Windows Update, my computer doesn't work afterwards and I must restore it to the some point to make it work again, so I turned off updates. Can it be a solution? – hey – 2011-06-26T19:42:38.307

This is getting scarier. See my edit above. – harrymc – 2011-06-26T20:31:36.627

@harrymc: It's not a virus. It was from beginning I bought this laptop. – hey – 2011-06-26T23:36:05.033

It is of course possible that you received an infected computer. Do the virus scans, then the sfc scan, then Repair Install, then total reinstall of Windows. If none of these solves the problem, then this is a hardware problem, so I hope your computer is under warranty. – harrymc – 2011-06-27T06:42:51.790

2

Have you tried this hotfix: http://support.microsoft.com/kb/2410477

I would disable hibernation, delete c:\hiberfil.sys, then reenable it. Hiberfil.sys is a hidden file, you will need to enable viewing of hidden files by opening Computer, hitting the ALT key, and going to Tools>Folder Options>View and click "Show hidden files, folder, and drives". You may also want to uncheck "Hide protected operating system files".

This is how to disable and reenable hibernation:

http://www.sevenforums.com/tutorials/819-hibernate-enable-disable.html

Have you updated your graphics driver?

I also found an interesting solution on the Internet: Is your computer using readyboost, and if so, how is the drive formatted? If so, make sure that it is formatted in NTFS.

http://answers.microsoft.com/en-us/windows/forum/windows_7-performance/black-screen-after-hibernation-with-readyboost-sd/1d679969-7888-47c5-b748-6ddebcc2ad76

I would also look at this:

http://www.prevx.com/blog/140/Black-Screen-woes-could-affect-millions-on-Windows--Vista-and-XP.html (this has been updated to include Windows 7).

KCotreau

Posted 2011-06-21T16:14:21.577

Reputation: 24 985

@KCotreau: there is no hiberfil.sys file in c:\ although I see some of the other hidden files. – hey – 2011-06-27T22:47:12.477

I don't see this, but when I try to create file in C:/ via notepad, it says "you can replace". So I guess there is hiberfil.sys, but I don't see it even if I allowed it. And I tried to reenable hibernation, still no working. – hey – 2011-06-27T23:20:33.580

@hey You can open a command prompt and do "dir hiberfil.sys /ah" minus the quotes to see if it exists. If is does, after you turn off hibernation, do this "attrib -r -s -h hiberfil.sys" then you can delete it and turn hibernation back on. – KCotreau – 2011-06-27T23:34:00.163

@KCotreau : Unable to change attribute – hey – 2011-06-28T10:22:55.637

@hey Have you already disabled hibernation and rebooted? You probably cannot change it if it is in use. – KCotreau – 2011-06-28T11:19:44.493

@KCotreau: and what is it supposed to do? – hey – 2011-06-28T15:14:22.693

@hey The point is to delete the file, and recreate it, in case there is something physically wrong with it. By disabling hibernation, then deleting it, and turning hibernation back on, it will create a new hiberfil.sys. – KCotreau – 2011-06-28T15:47:11.317

@KCotreau: But what "attrib -r -s -h hiberfil.sys" do? – hey – 2011-06-28T16:06:56.760

@hey It removes the read-only, system, and hidden attributes so it can be deleted, then recreated. – KCotreau – 2011-07-02T03:21:04.423

2

My issue was similar to this but slightly different; when I hibernate my computer it simply locks the screen (as if I'd pressed Win+L). Weirdly, I solved this issue by giving my system boot partition (the small ~100mb partition that Windows 7 creates during install) a drive letter!

I think in my case the issue may have been originally caused by my cloning an OS between drives and or using EasyBCD to modify the BCD. Normally you wouldn't need to have the boot partition exposed as a drive letter for hibernate to work.

SamF

Posted 2011-06-21T16:14:21.577

Reputation: 21

1

Try that (from http://social.technet.microsoft.com/forums/en-US/itprovistasp/thread/4d74523f-2b9e-4fe7-9b5e-f0153166adcc/):

We have found that sometimes the BCD file may have issues.

You can try this to fix the BCD file.



1. Run CMD.EXE as administrator

2. Run the following command: bcdedit -enum all

   Look for "Resume from Hibernate" in the output from the command above(example below):

   Resume from Hibernate

   ---------------------

   identifier {3d8d3081-33ac-11dc-9a41-806e6f6e6963}

   device partition=C:

   path \Windows\system32\winresume.exe

   description Windows Vista (TM) Enterprise (recovered)

   inherit {resumeloadersettings}

   filedevice partition=C:

   filepath \hiberfil.sys

   pae Yes

   debugoptionenabled No

3. Once you have found it, copy the value for identifier (in this example - {3d8d3081-33ac-11dc-9a41-806e6f6e6963})

4. Run the following command: bcdedit /deletevalue {3d8d3081-33ac-11dc-9a41-806e6f6e6963} inherit

5. Test hibernation.


Thanks,
Darrell Gorter[MSFT]

This posting is provided "AS IS" with no warranties, and confers no rights

kokbira

Posted 2011-06-21T16:14:21.577

Reputation: 4 883

didn't work. – hey – 2011-06-26T10:12:36.470

it's so difficult to find solution for your issue... have you asked it in other forums yet? do not forget to copy solution here if you find it outside :) – kokbira – 2011-06-26T15:56:41.713

1

I tried many hints with no result. Then I discovered that my hibernation file size was incorrect. It's surprisingly easy to fix. Launch cmd and type:

powercfg -HIBERNATE -Size 100

... to set hibernation file size to 100% of your RAM (50% is a minimum, according to context help). This command also activates hibernation feature if necessary.

This solved my issue immediately, without reinstalling anything (even without reboot).

lantom

Posted 2011-06-21T16:14:21.577

Reputation: 11

0

I've not seen this happen since the XP days, so this may not be relevant any more, but look in Device Manager and look under Computer, at the top. If it does not say ACPI Based PC, you do not have ACPI enabled in the BIOS. I think you will also need to reinstall Windows if you want to enable it.

paradroid

Posted 2011-06-21T16:14:21.577

Reputation: 20 970

It says "ACPI x64 Based PC" – hey – 2011-06-25T23:12:59.493

0

I'm surprised everyone has offered solutions but no one has bothered to check the Event Log and the Performance Monitor. Windows 7 comes with tools to check your device drivers, yet we still do things the old fashion way. These will help you narrow things down immensely. Everytime a system starts, shuts off, logs off and hibernates, an entry is recorded in the System Log. I'd check that first by firing up the Event Viewer.

Next I'd fire up the Performance Monitor. Go under Control Panel/Performance Tools/Advanced Tools. This is like the Security Center popup crap you get all the time. Except this is for performance. You'll see the Event Viewer there. Also Windows logs the time it takes for each device driver to wake up and to go to sleep and will flag anything abnormal at the top of the window.

If none of those help, click the Generate System Diagnostic Reports. This will check all your device drivers for you.

If that STILL doesn't help, we can at least eliminate the Device drivers. Now we look for running proccesses that don't want to go to sleep. You can narrow them down by first eliminating all startup programs. Fire up "MSCONFIG." Just type it into the Search box. Select "Selective startup and uncheck Load "startup items."
Next, switch to the Services tab. Check the box "Hide Microsoft Services" then hit Disable all. This will disable all non essential startup services. Now restart the computer. You should have a bare essentials bootup. It is important you do it this way and NOT safe mode.

Then try hibernating. If that is successful, start enabling a group of services and startup programs at a time and keep hibernating.

If even a bare essentials bootup won't hibernate, we can safely say it is a hardware issue.

surfasb

Posted 2011-06-21T16:14:21.577

Reputation: 21 453

nothing helped :( – hey – 2011-07-01T17:46:26.477