Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Disable hibernate

31 views
Skip to first unread message

DevilsPGD

unread,
Aug 13, 2005, 9:57:00 PM8/13/05
to
I have apparently installed one or more device drivers which don't allow
my desktop to go into Standby or Hibernate anymore. I'm not really sure
which driver, I swapped a fair amount of hardware in a relatively short
period of time, but I suspect it's my new SATA controller (The one piece
of hardware I cannot simply disable to see if Hibernate comes back)

Long story short, I don't care about getting Hibernate back, at this
point I would simply like to disable the Hibernate feature and delete
the 2GB hiberfil.sys file on the root of C:\ -- Unfortunately the
Hibernate (And other Standby-features too) have disappeared from the
Power Management dialog.

I can't find any information on how to enable or disable hibernation
from the registry (or any way other then through the GUI)

Can anybody give me any clues?

--
If you cannot convince them, confuse them.

Wesley Vogel

unread,
Aug 14, 2005, 4:03:30 AM8/14/05
to
Navigate to C:\hiberfil.sys in Windows Explorer and delete hiberfil.sys.

Or open a command prompt...
Start | Run | Type: cmd | Click OK |
In the the command prompt, type or paste:

del C:\hiberfil.sys

Hit the Enter key.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In news:808tf1hicl2259h2j...@4ax.com,
DevilsPGD <spam...@crazyhat.net> hunted and pecked:

DevilsPGD

unread,
Aug 14, 2005, 5:04:08 AM8/14/05
to
In message <OQObbaKo...@TK2MSFTNGP15.phx.gbl> "Wesley Vogel"
<123WVo...@comcast.net> wrote:

>Navigate to C:\hiberfil.sys in Windows Explorer and delete hiberfil.sys.
>
>Or open a command prompt...
>Start | Run | Type: cmd | Click OK |
>In the the command prompt, type or paste:
>
>del C:\hiberfil.sys
>
>Hit the Enter key.

The file is locked and cannot be deleted.

C:\>attrib hiberfil.sys A SH C:\hiberfil.sys

C:\>attrib -s -h hiberfil.sys Unable to change attribute -
C:\hiberfil.sys
C:\>del hiberfil.sys Could Not Find C:\hiberfil.sys
C:\>handle hiberfil.sys
Handle v3.01 Copyright (C) 1997-2005 Mark Russinovich Sysinternals -
www.sysinternals.com
System pid: 4 C:\hiberfil.sys

In other words, the system is still using hiberfil.sys (likely because
it was still active when I installed whatever hardware+driver
combination is preventing me from disabling it), but all the GUI
elements are hidden that would assist me in correcting this problem.

--
Is there another word for synonym?

Wesley Vogel

unread,
Aug 14, 2005, 1:37:53 PM8/14/05
to
If you have XP SP2, this will turn hibernation off.

Open a Command Prompt...


Start | Run | Type: cmd | Click OK |

Type or paste:

powercfg /hibernate off

Hit the Enter key.

Powercfg
http://www.microsoft.com/technet/prodtechnol/windowsserver2003/library/ServerHelp/0d90be55-cc9d-423d-8e49-8a79a4d6bcd4.mspx

HKEY_CURRENT_USER\Control Panel\PowerCfg
and
HKEY_USERS\.DEFAULT\Control Panel\PowerCfg


--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In news:fevtf1ha6ia4nk0se...@4ax.com,


DevilsPGD <spam...@crazyhat.net> hunted and pecked:

DevilsPGD

unread,
Aug 14, 2005, 7:47:46 PM8/14/05
to
In message <etlTZbPo...@TK2MSFTNGP10.phx.gbl> "Wesley Vogel"
<123WVo...@comcast.net> wrote:

>If you have XP SP2, this will turn hibernation off.
>
>Open a Command Prompt...
>Start | Run | Type: cmd | Click OK |
>Type or paste:
>
>powercfg /hibernate off
>
>Hit the Enter key.
>
>Powercfg
>http://www.microsoft.com/technet/prodtechnol/windowsserver2003/library/ServerHelp/0d90be55-cc9d-423d-8e49-8a79a4d6bcd4.mspx

I tried that too actually (Sorry, I should have mentioned -- I did do my
research before posting)

c:\utils>powercfg /hibernate off
System does not support hibernation


>HKEY_CURRENT_USER\Control Panel\PowerCfg
>and
>HKEY_USERS\.DEFAULT\Control Panel\PowerCfg

That just seems to contain the power profiles, not the standby/hibernate
options.

I did find one article discussing how to enable hibernation, but it just
involes copying registry entries AND a hiberfil.sys from an identical
system and doesn't discuss how to set the options manually. The keys
which were involved were at
KHLM\SYSTEM\CurrentControlSet\Control\Session Manager\Power

I've currently got the following, none of which is especially clear as
to which one controls hibernation.

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Power]
"AcProcessorPolicy"=hex:01,00,00,00,00,00,00,00,00,00,00,00,03,00,00,00,a0,86,\

01,00,a0,86,01,00,a0,86,01,00,28,32,00,00,02,00,00,00,a0,86,01,00,a0,86,01,\

00,a0,86,01,00,28,3c,00,00,03,00,00,00,a0,86,01,00,a0,86,01,00,a0,86,01,00,\
28,50,00,00,01,00,00,00
"DcProcessorPolicy"=hex:01,00,00,00,03,00,00,00,00,00,00,00,03,00,00,00,a0,86,\

01,00,a0,86,01,00,a0,86,01,00,0a,14,00,00,02,00,00,00,a0,86,01,00,a0,86,01,\

00,a0,86,01,00,14,28,00,00,03,00,00,00,a0,86,01,00,a0,86,01,00,a0,86,01,00,\
14,46,00,00,01,00,00,00
"AcPolicy"=hex:01,00,00,00,00,00,00,00,03,00,00,00,10,00,00,00,00,00,00,00,03,\

00,00,00,08,00,00,00,00,00,00,00,01,00,00,00,00,00,00,80,01,00,00,00,20,d2,\

98,87,00,00,00,00,01,00,00,00,00,00,00,00,00,00,00,00,32,00,58,48,02,00,00,\

00,02,00,00,00,02,00,00,00,01,00,00,00,b0,4f,16,00,00,00,00,00,03,00,00,00,\

01,00,00,00,03,00,00,00,00,00,00,00,04,00,00,c0,01,00,00,00,05,00,00,00,01,\

00,00,00,0a,00,00,00,00,00,00,00,03,00,00,00,01,00,01,00,01,00,00,00,00,00,\

00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,02,00,00,00,00,00,00,00,00,\

00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,03,00,00,00,00,00,84,03,00,00,\

71,fb,90,7c,e8,f1,06,00,fe,e1,90,7c,a8,f2,06,00,84,03,00,00,00,64,64,00,00,\
00,00,00,04,00,00,c0,00,00,00,00
"DcPolicy"=hex:01,00,00,00,00,00,00,00,03,00,00,00,10,00,00,00,00,00,00,00,03,\

00,00,00,08,00,00,00,00,00,00,00,01,00,00,00,00,00,00,80,01,00,00,00,e0,38,\

00,00,03,00,00,00,00,00,00,00,00,00,00,00,84,03,00,00,32,03,2d,00,02,00,00,\

00,02,00,00,00,02,00,00,00,01,00,00,00,35,00,32,00,00,00,00,00,03,00,00,00,\

01,00,00,00,03,00,00,00,00,00,00,00,04,00,00,c0,01,00,00,00,05,00,00,00,01,\

00,00,00,0a,00,00,00,00,00,00,00,03,00,00,00,01,00,01,00,01,00,00,00,00,00,\

00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,02,00,00,00,00,00,00,00,00,\

00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,03,00,00,00,00,00,2c,01,00,00,\

01,eb,56,80,48,0e,00,e1,6c,0b,00,00,20,d2,98,87,58,02,00,00,00,64,64,00,00,\
00,00,00,04,00,00,c0,00,00,00,00
"Heuristics"=hex:05,00,00,00,00,01,01,00,00,00,00,00,00,00,00,00,3f,42,0f,00
"HiberElapsedTime"=dword:00001532
"HiberIoTime"=dword:0000066d
"HiberCopyTime"=dword:00000071
"HiberCopyBytes"=dword:1989e860
"HiberPagesWritten"=dword:00006cd6
"HiberPagesProcessed"=dword:00018ebc
"HiberDumpCount"=dword:0000155c
"HiberFileRuns"=dword:00000003

--
Our enemies are innovative and resourceful...They never
stop thinking about new ways to harm our country and
our people, and neither do we.
-- George W. Bush 08/05/2004

Wesley Vogel

unread,
Aug 15, 2005, 11:35:39 AM8/15/05
to
No SP2, huh? Me either.

Your key...


HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Power

"Heuristics"=hex:05,00,00,00,00,01,01,00,00,00,00,00,00,00,00,00,3f,42,0f,00

The seventh value is 01, as near as I can tell, that means Hibernate is ON.

Back up the key and then delete Heuristics.
-----

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Power

[[So it would follow that the setting is contained in the Heuristics key
looking at my system i would hazard a guess its the 7th byte in the key
which is 01 for enabled and 00 for disabled.
HTH (not tested as i cant reboot at present i am busy with something) ]]

[[but just for the heck of it I checked for registry changes when
Hibernation is enabled using RegShot. steven is right in saying that the 7th
byte in the key he mentions is changed from 00 to 01. The same change is
made in a similar key except it's CurrentControlSet002 -- the values are the
same as in the first key. The values are changed in five other keys (four of
which contain "Enum" in their addresses), and two values are added. ]]
http://www.theeldergeek.com/forum/index.php?act=Print&client=printer&f=2&t=8289

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Power

[[The Heuristics value only exists when the Hibernate feature is enabled.]]
HOW TO: How to Manually Enable the Hibernate Feature During an Unattended
Install of Windows 2000
http://support.microsoft.com/default.aspx?scid=kb;en-us;293399

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In news:jjavf1tpkg6o8ghsq...@4ax.com,


DevilsPGD <spam...@crazyhat.net> hunted and pecked:

DevilsPGD

unread,
Aug 15, 2005, 12:40:37 PM8/15/05
to
In message <#0MKv7ao...@TK2MSFTNGP10.phx.gbl> "Wesley Vogel"
<123WVo...@comcast.net> wrote:

>No SP2, huh? Me either.

Yeah, I'm running SP2...

>Your key...
>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Power
>"Heuristics"=hex:05,00,00,00,00,01,01,00,00,00,00,00,00,00,00,00,3f,42,0f,00
>
>The seventh value is 01, as near as I can tell, that means Hibernate is ON.
>
>Back up the key and then delete Heuristics.

I'll give it a shot, thanks!

--
Politicians, like diapers, have to be changed frequently,
and for the very same reason.

DevilsPGD

unread,
Aug 15, 2005, 2:00:08 PM8/15/05
to
In message <4cg1g11o9m3vb8c57...@4ax.com> DevilsPGD
<spam...@crazyhat.net> wrote:

>In message <#0MKv7ao...@TK2MSFTNGP10.phx.gbl> "Wesley Vogel"
><123WVo...@comcast.net> wrote:
>
>>No SP2, huh? Me either.
>
>Yeah, I'm running SP2...
>
>>Your key...
>>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Power
>>"Heuristics"=hex:05,00,00,00,00,01,01,00,00,00,00,00,00,00,00,00,3f,42,0f,00
>>
>>The seventh value is 01, as near as I can tell, that means Hibernate is ON.
>>
>>Back up the key and then delete Heuristics.
>
>I'll give it a shot, thanks!

It seems to have worked -- It didn't delete the hibernat.sys file, but
it's no longer locked and I was able to delete it.

Thanks!

--
UNIX Sex
{look;find;talk;grep;touch;finger;find;flex;unzip;mount;workbone;
fsck;yes;gasp;fsck;yes;eject;umount;makeclean;zip;split;done;exit}

Wesley Vogel

unread,
Aug 15, 2005, 6:08:39 PM8/15/05
to
No powercfg.exe?

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In news:4cg1g11o9m3vb8c57...@4ax.com,


DevilsPGD <spam...@crazyhat.net> hunted and pecked:

Wesley Vogel

unread,
Aug 15, 2005, 6:09:58 PM8/15/05
to
Have you rebooted to see if hibernate is off and hiberfil.sys is still gone?

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In news:nol1g1h32gog1id7e...@4ax.com,


DevilsPGD <spam...@crazyhat.net> hunted and pecked:

DevilsPGD

unread,
Aug 16, 2005, 12:28:29 AM8/16/05
to
In message <OJCeWXeo...@tk2msftngp13.phx.gbl> "Wesley Vogel"
<123WVo...@comcast.net> wrote:

>No powercfg.exe?

I tried powercfg...

c:\>powercfg /hibernate off


System does not support hibernation

It seems to check whether or not hibernation is supported before trying
to enable/disable it, similar to the GUI.

--
Tact is the ability to describe others as they see themselves.

DevilsPGD

unread,
Aug 16, 2005, 12:28:29 AM8/16/05
to
In message <#UrtFYeo...@TK2MSFTNGP12.phx.gbl> "Wesley Vogel"
<123WVo...@comcast.net> wrote:

>Have you rebooted to see if hibernate is off and hiberfil.sys is still gone?

Yeah, I did that too, it's still gone.

Wesley Vogel

unread,
Aug 16, 2005, 2:53:13 PM8/16/05
to
Glad to hear it. Keep having fun. :-)

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In news:4vp2g1d7tmo267q37...@4ax.com,


DevilsPGD <spam...@crazyhat.net> hunted and pecked:

Wesley Vogel

unread,
Aug 16, 2005, 2:53:30 PM8/16/05
to
That's good to know.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In news:iji2g1dos707u1t3b...@4ax.com,


DevilsPGD <spam...@crazyhat.net> hunted and pecked:

DevilsPGD

unread,
Aug 16, 2005, 4:43:41 PM8/16/05
to
In message <ez8P8Opo...@TK2MSFTNGP12.phx.gbl> "Wesley Vogel"
<123WVo...@comcast.net> wrote:

>That's good to know.

btw, I was able to confirm it's my new Promise SATA card which is
causing the problem since a friend purchased one and his
Standby+Hibernate options disappeared at the same time.

Lucky me, it was the one device I could not disable for testing since
I'm now booting from a drive on that card (and I'm much too lazy to take
the system apart again) :)

Thanks again for all your assistance.

--
Is it my imagination, or do buffalo wings taste like chicken?

Wesley Vogel

unread,
Aug 17, 2005, 12:13:52 PM8/17/05
to
Well, keep having fun.

I prefer creamed alligator on toast. ;-) Tastes like, you guessed it.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In news:ncj4g1lmj35elmmep...@4ax.com,


DevilsPGD <spam...@crazyhat.net> hunted and pecked:

0 new messages