Can't enable hibernation - access denied

Page 1 of 2 12 LastLast

  1. Posts : 3
    Win 7 Pro 64-bit
       #1

    Can't enable hibernation - access denied


    I'm trying to re-enable hibernation. When I try, using powercfg. - on I get "The following items are preventing hibernation on this system. The system could not create the hibernation file. the specific error code is 0xc0000034.

    Looking up this code, I learn that access is denied while trying to create the hiberfile.sys file on the C:\ root.

    Why? I've tried running it both as my regular logon, and as the Administrator. I'm doing a Run As Administrator in the cmd shell.

    Permissions are set on the C drive to allow full access to the administrator.

    I can find no reason why it can't create that file.

    Any suggestion would be helpful.

    Roger
      My Computer


  2. Posts : 41
    Windows 7 Ultimate 64bit SP1
       #2

    Strange.. has hibernation worked on your system previously?
      My Computer


  3. Posts : 42
    Windows 7 Professinal x64
       #3

    Have you tried enabling it in safe mode? Maybe the old Hibernation file is being locked by a backup program.

    First Step would be to boot into safe mode and try to delete the old hibernation file (if it exists) if it does..
    Second step would be to reboot normally and try to enable hibernation (make sure you have enough disk space) if it doesn't exist try and enable it while still in safe mode.
      My Computer


  4. Posts : 41
    Windows 7 Ultimate 64bit SP1
       #4

    ha1o2surfer said:
    Have you tried enabling it in safe mode? Maybe the old Hibernation file is being locked by a backup program.

    First Step would be to boot into safe mode and try to delete the old hibernation file (if it exists) if it does..
    Second step would be to reboot normally and try to enable hibernation (make sure you have enough disk space) if it doesn't exist try and enable it while still in safe mode.
    I bet your right, I have herd of a similar case before and removing the old file in safe mode corrected the problem.
      My Computer


  5. Posts : 3
    Win 7 Pro 64-bit
    Thread Starter
       #5

    Worked previously


    Yes, hibernation worked fine previously. Also, the hiberfil.sys file is not on the drive. I already checked that. I believe I removed it when I disabled it (trying to free the unmovable blocks for a shrink process).

    I didn't think to try it from safe mode. Good idea.

    Unfortunately I've since re-built the system from an image I made before I had turned off hibernation. Sorry I can't report whether your idea was a success or not.

    Thanks for the suggestion.
      My Computer


  6. Posts : 26,863
    Windows 11 Pro
       #6

    Right click on cmd and select run as administrator. It should work. ( start - type cmd - right click - select run as administrator)
      My Computer


  7. Posts : 42
    Windows 7 Professinal x64
       #7

    phenomenix said:
    Yes, hibernation worked fine previously. Also, the hiberfil.sys file is not on the drive. I already checked that. I believe I removed it when I disabled it (trying to free the unmovable blocks for a shrink process).

    I didn't think to try it from safe mode. Good idea.

    Unfortunately I've since re-built the system from an image I made before I had turned off hibernation. Sorry I can't report whether your idea was a success or not.

    Thanks for the suggestion.
    Maybe a 3rd party power manager is installed?
      My Computer


  8. Posts : 761
    Windows 2000 5.0 Build 2195
       #8

    I usually have this problem after a bad restart or something similar. I'm trying to remember what I did and I'll be back

    EDIT: Alright, I think I did something like this:

    Open a command prompt as administrator. Entries with // after them are comments and don't input them. Input:

    Code:
    dir C:\
     
    echo > hiberfil.sys  //a hiberfil should be created
     
    powercfg -h on //you should receive the same error
     
    powercfg -h off //expect same error
     
    del hiberfil.sys
     
    powercfg -h on //expect same error
    Restart your computer afterwards. It should work.
      My Computer


  9. Posts : 3
    Win 7 Pro 64-bit
    Thread Starter
       #9

    Thanks


    Thank you for your reply.

    Unfortunately I can't report on its failure or success, as I have since restored from an image and fixed it that way.

    I can tell you that I was running the cmd from the Run As Administrator mode.

    Roger
      My Computer


  10. Posts : 1
    win7pro64
       #10

    essenbe said:
    Right click on cmd and select run as administrator. It should work. ( start - type cmd - right click - select run as administrator)
    i had the same problem and this worked for me.

    i am stunned about this though. i use an administrator account, and i thought if i run anything by clicking it is already run as administrator. so why does that make a difference, why does your suggestion work?
      My Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 05:10.
Find Us