Halloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan NowHalloween DealsAmazon USOctober picks are moving - compare before checkoutAmazon US: current deals, useful picks and tech finds.See Picks×
FREEDOM251

Freedom251 › Blog › Command Prompt

How to Turn Off Hibernate in Windows 11 and Remove the Hibernation File

By Freedom251 Team · · 2 min read

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To turn off hibernation and have Windows remove hiberfil.sys, open Command Prompt as an administrator and run powercfg.exe /hibernate off. Windows manages the hidden system file; do not try to delete it manually in File Explorer.

Turn off hibernation and remove hiberfil.sys

  1. Open the Start menu, type Command Prompt, then select Run as administrator. Approve the User Account Control prompt if it appears.
  2. At the elevated command prompt, enter powercfg.exe /hibernate off and press Enter. Microsoft documents this command for making hibernation unavailable; Windows removes the hibernation file as part of managing the feature. Microsoft Powercfg command-line options and Microsoft Support’s hibernation instructions describe the supported procedure.

The command normally returns to the prompt without a confirmation message. Because hiberfil.sys is a hidden system file in the root of the Windows installation drive, its absence from File Explorer before the command does not mean it was not there.

As an Amazon Associate I earn from qualifying purchases.

What changes when hibernation is off

Fast startup is unavailable

Windows Fast startup uses a hibernation file, so turning hibernation off also makes Fast startup unavailable. If you want to retain Fast startup, a reduced hiberfile is an alternative: it supports hiberboot (Fast startup) but does not remove the file. Microsoft documents file types and sizing in its system power-state documentation.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Hybrid sleep no longer works

Microsoft warns that hybrid sleep does not work when hibernation is unavailable. If a power failure occurs while hybrid sleep is enabled, data may be lost. Consider that risk before disabling hibernation on a computer that uses hybrid sleep. See Microsoft Support’s guidance.

#1 Best Overall
Microsoft OEM System Builder | Windоws 11 Pro | Intended use for new systems | Authorized by Microsoft
  • STREAMLIMED AND INTUITIVE UI | Intelligent desktop | Personalize your experience for simpler efficiency | Powerful security built-in and enabled.
  • JOIN YOUR BUSINESS OR SCHOOL DOMAIN for easy access to network files, servers, and printers.
  • OEM IS TO BE INSTALLED ON A NEW PC WITH NO PRIOR VERSION of Windows installed and cannot be transferred to another machine.
  • OEM DOES NOT PROVIDE PRODUCT SUPPORT | To acquire product with Microsoft support, obtain the full packaged “Retail” version.

Check for HORM use

HORM (Hibernate Once, Resume Many) is a specialized deployment feature that relies on hiberfil.sys. Microsoft’s HORM documentation says not to disable hibernation while using HORM: Hibernate Once, Resume Many (HORM).

Choose between removing the file and keeping Fast startup

Option Hibernation file Fast startup Best fit
Turn hibernation off with powercfg.exe /hibernate off Removed by Windows Unavailable You want to reclaim the space used by the file and do not need hibernation or related features.
Use a reduced hiberfile Retained, but smaller than a full hiberfile Available You want Fast startup but do not need standard hibernation.

Microsoft’s current technical documentation lists default sizes of 40% of physical memory for a full hiberfile and 20% for a reduced hiberfile. These are documented defaults for those file types, not guaranteed measurements for every PC; the configured type and size affect the actual file. Microsoft’s general support page describes the file as approximately the size of installed RAM, but that should not be treated as a universal exact size.

Rank #2
Sale
Microsoft Windows 11 (USB)
  • Less chaos, more calm. The refreshed design of Windows 11 enables you to do what you want effortlessly.
  • Biometric logins. Encrypted authentication. And, of course, advanced antivirus defenses. Everything you need, plus more, to protect you against the latest cyberthreats.
  • Make the most of your screen space with snap layouts, desktops, and seamless redocking.
  • Widgets makes staying up-to-date with the content you love and the news you care about, simple.
  • Stay in touch with friends and family with Microsoft Teams, which can be seamlessly integrated into your taskbar. (1)
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Turn hibernation back on

To restore the feature and let Windows recreate the file, open Command Prompt as an administrator and run:

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

powercfg.exe /hibernate on

This makes hibernation available again. If you previously relied on Fast startup or hybrid sleep, check the relevant Windows power settings after enabling it.

Quick Recap

SaleBestseller No. 2
Microsoft Windows 11 (USB)
Microsoft Windows 11 (USB)
Make the most of your screen space with snap layouts, desktops, and seamless redocking.; FPP is boxed product that ships with USB for installation
$128.99
Bestseller No. 4
Rank #3
Microsoft System Builder | Windоws 11 Home | Intended use for new systems | Install on a new PC | Branded by Microsoft
  • STREAMLINED & INTUITIVE UI, DVD FORMAT | Intelligent desktop | Personalize your experience for simpler efficiency | Powerful security built-in and enabled.
  • OEM IS TO BE INSTALLED ON A NEW PC with no prior version of Windows installed and cannot be transferred to another machine.
  • OEM DOES NOT PROVIDE SUPPORT | To acquire product with Microsoft support, obtain the full packaged “Retail” version.
  • PRODUCT SHIPS IN PLAIN ENVELOPE | Activation key is located under scratch-off area on label.
  • GENUINE WINDOWS SOFTWARE IS BRANDED BY MIRCOSOFT ONLY.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Command PromptFast Startuphiberfil.sysHibernationWindows 11

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Recommended PC Tool
Recommended PC Tool
Crashes, No Sound, or Screen Glitches?Free driver scan
PC Slower Than It Used to Be?Free scan - under a minute

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.