Hibernation broken (Win 7)

Discussion in 'Software' started by countchocula, Aug 5, 2010.

  1. countchocula

    countchocula Private E-2

    Hi Folks,

    A couple months ago, my T400 stopped being able to hibernate. Now, when I try to hibernate, the screen goes blanks, the hard drive cranks for 10-15 seconds, and I get the login screen again (with all my programs still running, etc). It's as if I locked my screen.

    I was messing around with services and stuff when this first happened (turning things off I didn't think I needed), but I don't think that's what caused the problem. I have since restored my services to their default states, but the problem persists. I have tried disabling and re-enabling hibernation, and deleting the hiberfil.sys file, all to no avail. There are no logs in the event viewer which indicate anything wrong relating to hibernation. I have made sure that Wake on LAN is turned off in the BIOS, as well as on all network devices in the device manager. I have no USB devices plugged in. The problem persists with clean booting (i.e. no startup programs, only microsoft services). Sleeping works just fine. No restore point is available from prior to when the problem started.

    Anyone else have this problem? Any ideas on what I might do?

    Thanks,
    Allie

    Win 7 Pro x64
    Thinkpad T400 2764-CTO
    ATI Mobility Radeon 2450
    6 GB RAM
    500 GB HDD
    fully updated
     
  2. DavidGP

    DavidGP MajorGeeks Forum Administrator - Grand Pooh-Bah Staff Member

    Hi

    Great post btw and all the info needed, wish many were like yours.


    I guess you have already tried from an elevated CMD prompt the powercfg.exe /hibernate off, and powercfg.exe /hibernate on , commands, but try the below.

    Try to disable Powerconfig and then re-enable it again from an Elevated CMD prompt (Start > type in Start Search box CMD, right click CMD and choose Run as Administrator) then commands below....

    Disable
    powercfg –h off

    Enable
    powercfg –h on


    then go into the Power Settings - Control Panel > Power Options > Change plan settings > Change advanced power settings and click the + next to Sleep > choose Sleep after > choose never and set it to 0, next reboot and try hibernation.

    Reason is Windows Vista and 7 have a hybrid type option in which Sleep pops up first then it goes into hibernation, by setting the Sleep to 0 hibernate should be entered without any wait time.


    With disabling Services, did you also when enabling the ones you disabled, check their dependencies also to make sure none of them are disabled?
     
  3. countchocula

    countchocula Private E-2

    Thanks for the reply, Halo. Turning off sleep doesn't help, and hybrid sleep is turned off as well. When re-enabling services, I ran a script generated before changing all my services to re-enable them to their original state - so everything *should* be ok. When modifying in the first place, I used SMART Services Config. Not sure how to check that all dependencies in the services are fulfilled...
     
    Last edited: Aug 6, 2010
  4. countchocula

    countchocula Private E-2

    JOY TO THE WORLD! I ran some random stuff I found about a similar problem in Vista, and, BANG! It works. Holy crap.

    See http://social.technet.microsoft.com.../thread/4d74523f-2b9e-4fe7-9b5e-f0153166adcc/ for the full ref, but in a nutshell:

    First I ran disk partition to assign a drive letter to win 7's hidden partition, then I ran the following (thanks to darrell gorter):
    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

    I have NO IDEA what BCD stores are. I can't believe this worked.
     
  5. countchocula

    countchocula Private E-2

    Aargh! Wait!

    Turns out the BCDedit stuff *wasn't* the fix! The fix is assigning a drive letter to my hidden partition! This ties in with some other problems I've been having, I think: my machine is having trouble assigning drive letters to some USB devices (http://www.sevenforums.com/crashes-...ning-drive-letters-usb-drives.html#post878813), and when I hit F8 on startup, I don't get the safe boot menu (i just get a key stuck error).

    So: any ideas now? Seems like windows is having trouble accessing certain volumes, or something like that? argh!
     
  6. countchocula

    countchocula Private E-2

  7. motc7

    motc7 Vice Admiral (Starfleet)

    Just curious, and maybe I missed it, but have you tried booting to the Recovery Console and running sfc /scannow from the command prompt?
     
  8. plodr

    plodr MajorGeek Super Extraordinaire Moderator Staff Member

    That sounds like a keyboard problem. You might want to hold the laptop at 90degrees to the desktop and use canned air on the keys. You can also turn the keyboard facing the floor and gently tap on the laptop case just in case some dirt is stuck between keys.
     
  9. countchocula

    countchocula Private E-2

    @plodr: thanks for the effort, but i don't think you read the thread above. This ain't a keyboard problem, though i do appreciate your input.
     
  10. motc7

    motc7 Vice Admiral (Starfleet)

    Umm did you see my post about running system file checker?

    Also, if you can boot into Windows you can do a repair install without losing your stuff. Let me know
     
  11. countchocula

    countchocula Private E-2

    @motc7: yeah, sorry. I posted a reply, but seems that it somehow got deleted (that's the post that plodr was quoting from). Anyway, yes, I ran sfc /scannow from the command prompt, and it didn't find any errors.

    I'm not very familiar with recovery options, but it seems that the recovery console went the way of the dodos after XP. Not sure if there's some other place I should be running it from.

    I'm not familiar with the repair install - i'll look into what it does, what it trashes, etc. However, given that I have a pretty specific problem now (I can reproduce it, and I know what fixes it), I feel like I'm getting closer to a solution. So if repair install is kind of a nuclear bomb type approach, I'll probably steer clear for now. We'll see.

    Thanks for the continued support!

    So: Any other ideas? Hibernation broken, assigning drive letter to hidden partition fixes it. Can't get F8 boot menu. Diagnosis anyone?
     
  12. Bugballou

    Bugballou MajorGeek

    Windows 7 sure isn't my daddies Windows. The hidden partition isn't supposed to have a drive letter assigned to it, although you should now be able to access it. BCDEdit Command line options here:
    http://technet.microsoft.com/en-us/library/cc709667(WS.10).aspx
    You might try EasyBCD to help with your problem. Glad I don't use the hibernation option, and it was easier to deal with in XP via the GUI (Control Panel/Power Options). I also ask, if it isn't used on a computer I am using, if I can disable it.:innocent Hope you get it worked out to your satisfaction.
     
  13. motc7

    motc7 Vice Admiral (Starfleet)

    Check your pm box for a possible solution on the Windows Repair Install for 7.
     
  14. countchocula

    countchocula Private E-2

    @bugballou: running easybcd, i get the following error message (the same one i get when running bcdedit): "The boot configuration store could not be opened. The system cannot find the file specified."

    There's something wrong with the hidden partition, I'm just not sure what it is, or how to debug it.
     
  15. DavidGP

    DavidGP MajorGeeks Forum Administrator - Grand Pooh-Bah Staff Member

    Hi

    Just in case double check that your drivers are upto date and would even re-install if they are the Chipset, Video and LAN drivers again.

    They HERE for the T400 series
     
  16. countchocula

    countchocula Private E-2

    Reinstalled chipset, video and wifi - no joy. I figured out the F8 key problem was due to my hitting the key too early - doesn't seem like it's a real problem.

    I'm stumped.
     
  17. countchocula

    countchocula Private E-2

    update: running the following command and setting my C: partition to Active allows my machine to hibernate: bcdboot c:\windows /s c:

    I then assigned the hidden partition to E:, ran bcdboot c:\windows /s e:, and rebooted. The same old problem as it always was. bcdedit isn't able to locate the bcd store (it *is* able to locate it when i put it on the c: drive).


    There is a report from someone else who was never really able to repair his bcd file:

    * "I had a problem with hibernation restarting my computer, and finally figured out that there is a problem with your BCD (Boot Configuration Data Store) in the boot folder (ex: C:\boot\bcd). Most likely its a problem with the "Resume from Hibernate" section of the BCD which points your computer in the direction of the operating system to resume from and to. You can edit/view your BCD by opening up command prompt and using the command bcdedit /? for a list of options. Anyway I tried everything to fix the hibernation problem, including using EasyBcd, but the only thing that worked was installing another copy of windows on a different partition, this rewrites the BCD. Then you can uninstall that extra Operating System. Now the BCD should be corrected. Hope this helps, I couldn't find any info on this subject for months so I just played around with the BCD, and installing another OS" (from http://www.sevenforums.com/general-...ate-windows-7-build-7600-64-bit-ultimate.html).

    I don't know that my problem is with the BCD store itself - perhaps it's some partition table issue, or some pointer somewhere?

    I also tried booting into recovery console. From there, running "bootrec /rebuildbcd" says that it finds 0 windows installations on the machine. Running "bootrec /scanos" also comes up with 0 installations found. Running bootrec /fixmbr and bootrec /fixboot don't help.
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds