Categories: System Configuration

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.

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

Srini

Recent Posts

Manage Print Jobs in Windows 11 & 10 Using PowerShell

Use PowerShell to list, pause, resume, and cancel print jobs in Windows 11 and Windows…

6 days ago

Add New User Account from Command Prompt (CMD)

Create local or domain user accounts from Command Prompt in Windows 11 and Windows 10…

4 years ago

Delete directory from command line [Rmdir]

Do you want to delete a directory from Windows Command Prompt (CMD)? This post explains…

4 years ago

TaskKill: Kill process from command line (CMD)

We can kill a process from GUI using Task manager. If you want to do…

4 years ago

Kill Chrome from command line

Chrome is definitely the stable browser compared to other ones and it has been my…

4 years ago

Find Windows OS version from command line

Windows has multiple command line utilities that can help find the version of the Windows…

4 years ago