Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.



Windows 7: Can't enable hibernation - access denied

12 Sep 2011   #1

Win 7 Pro 64-bit
 
 
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 System SpecsSystem Spec
.

12 Sep 2011   #2

Windows 7 Ultimate 64bit SP1
 
 

Strange.. has hibernation worked on your system previously?
My System SpecsSystem Spec
12 Sep 2011   #3

Windows 7 Professinal x64
 
 

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 System SpecsSystem Spec
.


12 Sep 2011   #4

Windows 7 Ultimate 64bit SP1
 
 

Quote   Quote: Originally Posted by ha1o2surfer View Post
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 System SpecsSystem Spec
13 Sep 2011   #5

Win 7 Pro 64-bit
 
 
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 System SpecsSystem Spec
13 Sep 2011   #6

Microsoft Community Contributor Award Recipient

Windows 7 Ultimate SP1 X64 (Windows 8.1, Linux Mint, Windows XP in VM)
 
 

Right click on cmd and select run as administrator. It should work. ( start - type cmd - right click - select run as administrator)
My System SpecsSystem Spec
14 Sep 2011   #7

Windows 7 Professinal x64
 
 

Quote   Quote: Originally Posted by phenomenix View Post
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 System SpecsSystem Spec
14 Sep 2011   #8

Windows 2000 5.0 Build 2195
 
 

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 System SpecsSystem Spec
15 Sep 2011   #9

Win 7 Pro 64-bit
 
 
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 System SpecsSystem Spec
25 Sep 2012   #10

win7pro64
 
 

Quote   Quote: Originally Posted by essenbe View Post
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 System SpecsSystem Spec
Reply

 Can't enable hibernation - access denied





Thread Tools




Our Sites

Site Links

About Us

Find 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 10:39 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33