NY
2018-03-23 19:48:30 UTC
My W7 laptop came with hibernation enabled. Somehow, a long time ago, I
managed to disable it.
Now that the battery has lost its ability to store any charge, I want to
enable hibernation so I can save the state of the PC to disk (rather than to
battery-backed memory, as for "sleep"), to avoid having to start the PC from
cold every time I unplug it from the mains.
But none of the standard things seem to work.
I've tried (from an admin-mode DOS prompt) "powercfg -h on" which completes
without an error message (or any other message expect a prompt) but has no
effect, even after rebooting.
In Control Panel | Power, I select the active power plan (balanced) and
click "Change Plan Settings" and then "Change Advanced Settings". Under
"Sleep", "sleep after" and "hibernate after" are set to never for both mains
and battery, to prevent the PC sleeping *automatically* but this shouldn't
prevent me being able to trigger it manaullly from the Start | Power menu,
should it?
I gather I should set "Allow hybrid sleep" to off for battery/mains, but
this option is permanently set to on and is greyed out - this looks
ominous...
A c:\hiberfil.sys file exists on the disk, along with a pagefile.sys. Both
are identical sizes (6GB, for 6 GB RAM) and timestamps (the time the PC was
booted). Both have the system and/or hidden attribute (ie you need "dir /as"
to see them).
Is there anything else I should do to add hibernate (save RAM state to disc)
to the Start menu, which currently defaults to Sleep, with pop-up options:
Switch User, Logiff, Lock, Restart, Shutdown - but no Hibernate.
I'm logged in as an admin-mode user rather than a standard user (Control
Panel | Users).
In the registry,
HKLM/System/CurrentControlSet/Control/Power/HibernateEnabled is set to 1 -
I've seen a .reg file referred to which sets this key to enable hibernation,
so that has already been done.
managed to disable it.
Now that the battery has lost its ability to store any charge, I want to
enable hibernation so I can save the state of the PC to disk (rather than to
battery-backed memory, as for "sleep"), to avoid having to start the PC from
cold every time I unplug it from the mains.
But none of the standard things seem to work.
I've tried (from an admin-mode DOS prompt) "powercfg -h on" which completes
without an error message (or any other message expect a prompt) but has no
effect, even after rebooting.
In Control Panel | Power, I select the active power plan (balanced) and
click "Change Plan Settings" and then "Change Advanced Settings". Under
"Sleep", "sleep after" and "hibernate after" are set to never for both mains
and battery, to prevent the PC sleeping *automatically* but this shouldn't
prevent me being able to trigger it manaullly from the Start | Power menu,
should it?
I gather I should set "Allow hybrid sleep" to off for battery/mains, but
this option is permanently set to on and is greyed out - this looks
ominous...
A c:\hiberfil.sys file exists on the disk, along with a pagefile.sys. Both
are identical sizes (6GB, for 6 GB RAM) and timestamps (the time the PC was
booted). Both have the system and/or hidden attribute (ie you need "dir /as"
to see them).
Is there anything else I should do to add hibernate (save RAM state to disc)
to the Start menu, which currently defaults to Sleep, with pop-up options:
Switch User, Logiff, Lock, Restart, Shutdown - but no Hibernate.
I'm logged in as an admin-mode user rather than a standard user (Control
Panel | Users).
In the registry,
HKLM/System/CurrentControlSet/Control/Power/HibernateEnabled is set to 1 -
I've seen a .reg file referred to which sets this key to enable hibernation,
so that has already been done.