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
phenomenix

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
Solid Snake

Windows 7 Ultimate 64bit SP1
 
 

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

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
Solid Snake

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
phenomenix

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
essenbe
Microsoft MVP

Windows 7 Enterprise X64/Windows 10 Enterprise X64/Windows 10 Pro X64/Linux Mint
 
 

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
ha1o2surfer

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
arkhi

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
phenomenix

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
petm

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




Similar help and support threads
Thread Forum
i can't access gpedit.msc ACCESS IS DENIED
i can't access gpedit.msc ACCESS IS DENIED pls help me
General Discussion
pc slowed down and services disabled , cant enable.access denied error
i installed spy-bot to check for some malware and after some days downloaded trial version of cookie cleaner... i used it to delete all cookies , temp internet files etc , and i also deleted spy-bot with it. next time i turned on my laptop, IT STARTED A huge chkdsk and virtually found errors and...
Performance & Maintenance
Can access Vista shares from XP but not from Windows 7 (access denied)
Hi, everyone, I'm mostly a Linux guy these days, so I'm no longer clued up about even simple Windows issues. Bear with me. :D I have one PC running Vista (home basic), one running XP (professional) and one running Windows 7 (home basic). There is a printer connected to the Vista box, which is...
Network & Sharing
"Access denied:" How to overcome denied access to a folder
I'd like to put a .cmd file in my c:\Documents and Settings\All Users\Start Menu\Programs\Startup directory, but \Documents and Settings has a lock on it and tells me "Access denied" when I click on it. Is this a job for "Take Ownership" or is there another way? The instructions for "Take...
General Discussion
can't Enable the Hibernation
Hello mate i am ayush i am having problem while enabling the hibernation option in my windows 7 hope you guys help me While i am trying to enabling hibernation from Commend promote ( run as admin ) i got this following error Hibernation failed with the following error: The request is n ...
General Discussion
Enable Microsoft RDP client Control (disabled) - access denied
Good Evening i was wondering if there is a way to activate this mstscax.dll either threw the registry or any other method. i dont have access to enable it due to not admin rights on the machine. please let me know if its located in the registry or if there is a forced way to enabling it. ...
Network & Sharing


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 07:21.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App