How to Enable or disable hibernate in Windows

In Windows, we can  turn on or  turn off hibernation feature.  When it is turned off, we don’t see ‘hibernate‘ option in the Windows shutdown menu. We can enable or disable hibernation feature from Windows command line using ‘powercfg‘ command.

Turn on hibernation:

We can enable hibernation by executing the below command from elevated administrator command prompt.

Advertisement
powercfg /hibernate on

Turn off hibernation

Hibernation can be disabled by running the below command.

powercfg /hibernate off

Both the enable and disable commands should be run from elevated administrator command prompt.  Executing them in normal command prompt would print the below error message.

c:>powercfg /hibernate on
You do not have permission to enable or disable the Hibernate feature.
c:>

Which Windows versions this command can be used?

The above command works on Windows 11 and Windows 10, Server 2008 and Server 2003 versions. In Windows 11 and Windows 10, instead of  ‘/hibernate‘ we can use ‘-hibernate‘(Linux style format for options).

Set hibernate timeout

Advertisement

Leave a Comment