On a Microsoft Windows system, you can enable the hibernation feature using the command
powercfg /hibernate on
or
pwercfg /h on
.
When you hibernate a Microsoft Windows system, the contents of memory are
written to a file, hiberfil.sys
, in c:\
. If a system
has been hibernated, when you power it back on, the contents of
hiberfil.sys
are read from disk into memory, so bringing a system
up from hibernate mode will take longer than bringing it back from sleep mode,
which is a power saving mode where the system state is saved to memory.
To check if hibernate mode is available, you can issue the command
powercfg /availablesleepstates
at a command prompt. E.g., the
following example shows the output of the command on a Microsoft Windows 8
system on which hibernate mode has been enabled.
C:\>powercfg /availablesleepstates The following sleep states are available on this system: Standby (S3) Hibernate Hybrid Sleep Fast Startup The following sleep states are not available on this system: Standby (S1) The system firmware does not support this standby state. Standby (S2) The system firmware does not support this standby state. Standby (Connected) The system firmware does not support this standby state.
Since hibernate mode is enabled on the system, I can use shutdown /h
at a command prompt on the system to hibernate he system, even though
"hibernate" doesn't appear as one of the options when shutting down the system
through the Windows GUI
The example below shows the output from the
powercfg /availablesleepstates
command issued on a Windows Server
2012 Essentials system after hibernate mode was enabled.
C:\>powercfg /availablesleepstates The following sleep states are available on this system: Hibernate Fast Startup The following sleep states are not available on this system: Standby (S1) The system firmware does not support this standby state. An internal system component has disabled this standby state. Graphics Standby (S2) The system firmware does not support this standby state. An internal system component has disabled this standby state. Graphics Standby (S3) An internal system component has disabled this standby state. Graphics Standby (Connected) The system firmware does not support this standby state. Hybrid Sleep Standby (S3) is not available.
References:
-
Enabling hibernation on a Windows Server 2012 Essentials system
Date: February 8, 2015
MoonPoint Support