Skip to content
Announcement: We are currently not adding any applicatiosn to WinUtil and any apps that will be added through a PR will be declined by the maintainer.

Disable Hibernation

Last Updated: 2024-08-07

Info

The Development Documentation is auto generated for every compilation of WinUtil, meaning a part of it will always stay up-to-date. Developers do have the ability to add custom content, which won't be updated automatically.

Description

Hibernation is really meant for laptops as it saves what's in memory before turning the pc off. It really should never be used, but some people are lazy and rely on it. Don't be like Bob. Bob likes hibernation.

Preview Code
{
  "Content": "Disable Hibernation",
  "Description": "Hibernation is really meant for laptops as it saves what's in memory before turning the pc off. It really should never be used, but some people are lazy and rely on it. Don't be like Bob. Bob likes hibernation.",
  "category": "Essential Tweaks",
  "panel": "1",
  "Order": "a005_",
  "registry": [
    {
      "Path": "HKLM:\\System\\CurrentControlSet\\Control\\Session Manager\\Power",
      "Name": "HibernateEnabled",
      "Type": "DWord",
      "Value": "0",
      "OriginalValue": "1"
    },
    {
      "Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\FlyoutMenuSettings",
      "Name": "ShowHibernateOption",
      "Type": "DWord",
      "Value": "0",
      "OriginalValue": "1"
    }
  ],
  "InvokeScript": [
    "powercfg.exe /hibernate off"
  ],
  "UndoScript": [
    "powercfg.exe /hibernate on"
  ],
  "link": "https://christitustech.github.io/winutil/dev/tweaks/Essential-Tweaks/Hiber"
}

Invoke Script

powercfg.exe /hibernate off

Undo Script

powercfg.exe /hibernate on

Registry Changes

Applications and System Components store and retrieve configuration data to modify windows settings, so we can use the registry to change many settings in one place.

You can find information about the registry on Wikipedia and Microsoft's Website.

Registry Key: HibernateEnabled

Type: DWord

Original Value: 1

New Value: 0

Registry Key: ShowHibernateOption

Type: DWord

Original Value: 1

New Value: 0

View the JSON file