Hibernate / Sleep just gives me a blank screen?
Hi, First of all, I am using Windows 7 RC1 Build 7100. My hibernate doesn't work. When I try to hibernate, either by assigning my power button to hibernate and pressing it, shutdown /h, or shift clicking sleep, what happens is that my screen just turn blank and makes me think it is beginning to hibernate. However, when I move my mouse, I see my login screen. When I did shutdown /h, I got this error: C:\>shutdown /h The system cannot find the file specified.(2) Any advice would be greatly appreciated. Thanks!
May 7th, 2009 4:33am

Does c:\hiberfil.sys exist? if not, hibernate has been stopped and you will have to start it. use cmd in administrator powercfg.exe /hibernate on Kris
Free Windows Admin Tool Kit Click here and download it now
May 7th, 2009 5:16am

Nope it does not exist. How do I set it up? Thanks!
May 7th, 2009 5:17am

Thanks for the help. After some more googling with your hint, I found the answer at: http://www.intowindows.com/how-to-enable-hibernate-option-in-windows-7/ I didn't know I have to go through such a hassle to enable hibernation. I don't remember doing this back in build 7057 and 7077... Thanks!
Free Windows Admin Tool Kit Click here and download it now
May 7th, 2009 5:28am

I was editing my post while you were answering! I believe if you use cmd in administrator powercfg.exe /hibernate on that will cause hiberfil to be created. The reverse of this is how you get rid of the hiberfil file. Kris
May 7th, 2009 5:28am

I was editing my post while you were answering!I believe if you use cmd in administrator powercfg.exe /hibernate onthat will cause hiberfil to be created.The reverse of this is how you get rid of the hiberfil file. Kris Now that everyone's happy, I just assumed Win vista/7 queried Bios when it was being installed, and if it found s3 was possible, enabled Hibernation automatically (created the hiberfil.sys file, anyway). My bios is change-able so I can tell it to only do S1, blank screen, fans still on. But last night, I did full s3 (deep sleep, prolly not hibernate, though) with no problems. It used to be a biggie for me so it's one of the first things I check. "C:\Users\Administrator>powercfg -aThe following sleep states are available on this system: Standby ( S3 ) Hibernate Hybrid SleepThe following sleep states are not available on this system:Standby (S1) The system firmware does not support this standby state.Standby (S2) The system firmware does not support this standby state."So, um, ok, here's the thing: If hiberfil.sys wasn't there, I'm thinking Win7 didn't think it was possible on that system, and "powercfg -h on" overrides that decision, so I'd be slightly worried win7 was right all along.
Free Windows Admin Tool Kit Click here and download it now
May 7th, 2009 8:39am

indeed, I was surprised that hiberfil wasn't initially there - My problem is always trying to get rid of it, which is how I happened on the powercfg command ( I just use sleep - not deep hibernate)(S3, not S1). So, if Win7 install did NOT create it, wondering what your mobo is? I think I have always had my BIOS set to S3 during install, but I can't remember.Kris
May 7th, 2009 4:50pm

Hmm, I was in a rush to go out yesterday and I didn't actually check that hibernate ACTUALLY worked. I was content to see the hibernate word in my shutdown menu. I just tried to hibernate, and it was the same problem! Screen goes blank, but not turned off. Moving of the mouse or touching the keyboard will bring me back to the login screen. Hmm, I tried doing a shutdown -h in command prompt and it tells me C:\Windows\system32>shutdown -h The system cannot find the file specified.(2) So I did a check, C:\Windows\system32>powercfg -a The following sleep states are available on this system: Standby ( S3 ) Hibernate Hybrid Sleep The following sleep states are not available on this system: Standby (S1) The system firmware does not support this standby state. Standby (S2) The system firmware does not support this standby state. and I went to C:\ and realise that hiberfil.sys is there C:\>dir/a hiberfil.sys Volume in drive C has no label. Volume Serial Number is 0E5E-D1C7 Directory of C:\ 05/08/2009 09:38 AM 2,011,840,512 hiberfil.sys But the size seems to be wrong. I have 2.5GB of ram. Could this be a problem?
Free Windows Admin Tool Kit Click here and download it now
May 8th, 2009 5:06am

no, don't think hiberfil.sys is too small, it would be how they use it, not how big it is. But I did find a website relating to your problem,vague, hmm, but it looked promising:http://209.85.173.132/search?q=cache:G_yDo9ULDXIJ:www.msfn.org/board/index.php%3Fshowtopic%3D125594+%22system+cannot+find+the+file+specified.(2)%22+%2Bshutdown&cd=3&hl=en&ct=clnk&gl=us
May 8th, 2009 5:26am

Yep, I saw that forum post while googling for solutions. Not really helpful. I do have the 2 sys files they were talking about though. I'm wondering if its some permissions problem. But then again this is Windows, so probably not. thanks for helping me search though!
Free Windows Admin Tool Kit Click here and download it now
May 8th, 2009 5:28am

btw, I went to check if any device was responsible for "waking" my "hibernation", C:\>powercfg -devicequery wake_armed Broadcom 440x 10/100 Integrated Controller HDA CX11254 Soft Modem Apparantly there were 2 devices, so I went into Device Manager and disabled the wake features. C:\>powercfg -devicequery wake_armed So now it shows nothing but when I tried to shutdown -h again, it still failed and gave the same error: C:\Windows\system32>shutdown -h The system cannot find the file specified.(2)
May 8th, 2009 5:33am

I'm unqualified to even read most of what you just said, I did shutdown -h just now successfully, but it took a while (10 seconds?) to copy everything to disk. When I jiggled the mouse, the computer looked a lot like it was rebooting, but windows said "Resuming windows". If I were troubleshooting this for someoneI might reset my bios, and (short answer) reinstall. If I were troubleshooting, no option to reinstall, I'd change drivers for video and disable things one-by-one.But like I said, I was just trying to be helpful, you already look like you'll find it very soon.
Free Windows Admin Tool Kit Click here and download it now
May 8th, 2009 5:55am

I also have this problem. Did you find a solution? C:\>shutdown /h The system cannot find the file specified.(2)
June 16th, 2009 12:56am

Hi everyone, I would like to share the solution in my case... On my laptop with multiple partitions and grub bootmanager, I had the same problem with vista. Instead of hibernating, the system just logged off. And with "shutdown /h" I also got the "The system cannot find the file specified."-error. "powercfg -h on" created the hiberfil.sys but did not solve the problem. Moreover, there wasn't any helpful entry in the event viewer... But by chance, I found the solution for my laptop. My windows partition (location of the hiberfil.sys) wasn't marked as active. Marking the partition as active in Administrative Tools -> Computer Management -> Disk Management was all I had to do.
Free Windows Admin Tool Kit Click here and download it now
June 30th, 2009 11:04am

did it work for anyone? it still doesnt work for me.. still getting the same error about cannot fidn the file specified even after marking active and powercfg -h on thanks anyway. i suspect it was something installed.. but i'm not sure what.. on a clean install (after all my other OSes have been installed) windows 7 could hibernate. after i began installing my programs, office, photoshop, firefox etc, it stopped. it doesnt actually make sense and i dont have the time yet to see which one actually caused the problem...
June 30th, 2009 11:12am

This looked very promising because I also have multiple partitions and grub bootmanager and my Windows partition wasn't marked as active. I set it to active, restarted, but I still have the same behavior where when it goes to hibernate, I hear the system beep and the screen turns dark, but then if I move my mouse it comes right back up. But I think you're on to something... it must be the dual boot setup I have. Is there anything else you did other than changing the active partition and the other steps mentioned earlier?
Free Windows Admin Tool Kit Click here and download it now
July 1st, 2009 12:45am

Okay, I am having the same problem with computer running Windows Vista as well. I have tried all of the steps listed here and it still doesnt work. Windows stopped hibernating after I ran the disk clean up utility, which deleted the hiber.sys file. The file gets created upon renabling hibernation, so not a problem there, must some way to fix this. Without being able to hibernate, I am forced to just use sleep, which I dont like to do if I take my laptop on a long trip, incase it wakes up and destroys the disk.
July 17th, 2009 2:59am

I had the same problem, but I was able to fix it with a variation of the solution Chris.Meyer and AndyWalser proposed: I had to mark active a small partition (~ 200 MB) that I have on my main disk, that probably also was marked unactive (or unmarked active?) when I installed grub. Apparently this partition is used to speed up booting, but does not appear in the disk list after booting (does not have a disk letter). This seems to be the first partition in the disk.
Free Windows Admin Tool Kit Click here and download it now
July 18th, 2009 9:39pm

I finally got it! I logged on to Linux and edited /boot/grub/grub.conf. To the Windows section, I added the line: makeactive I then rebooted into Windows and hibernate worked. I would be careful with the post by cgbraschi because changing the active partition to a partition without the Windows system files can cause the machine not to boot. But for those that have a dual boot setup and were having issues, the above change to GRUB fixes it.
July 22nd, 2009 4:19am

I finally got it! I logged on to Linux and edited /boot/grub/grub.conf. To the Windows section, I added the line: makeactive I then rebooted into Windows and hibernate worked. I would be careful with the post by cgbraschi because changing the active partition to a partition without the Windows system files can cause the machine not to boot. But for those that have a dual boot setup and were having issues, the above change to GRUB fixes it. same Problem But with another fix and thx for inspiration :) click start - right click "Computer" - click "Manage" - go to Storoge - Disk Management - Right Click Windows Partition And "Mark Partition As Active"
Free Windows Admin Tool Kit Click here and download it now
April 27th, 2011 6:04am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics