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.
We can enable hibernation by executing the below command from elevated administrator command prompt.
powercfg /hibernate on
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).
Use PowerShell to list, pause, resume, and cancel print jobs in Windows 11 and Windows…
Create local or domain user accounts from Command Prompt in Windows 11 and Windows 10…
Do you want to delete a directory from Windows Command Prompt (CMD)? This post explains…
We can kill a process from GUI using Task manager. If you want to do…
Chrome is definitely the stable browser compared to other ones and it has been my…
Windows has multiple command line utilities that can help find the version of the Windows…