One of many trickiest issues I’ve confronted with Home windows is operating out of storage with none clear culprits. When this occurred to me, downloads have been tremendous, and I did not have any giant apps consuming house. When I discovered the trigger, it was an sudden system file utilizing up house, and I do not bear in mind enabling it.
Eradicating it was so simple as utilizing one command, and immediately, I regained loads of gigabytes. However earlier than you hurry to disable it as I did, you may need to take into account the trade-offs as a result of this file impacts how the OS handles startups and shutdowns. Nonetheless, it is a straightforward technique to reclaim house when you do not need to uninstall something.
How a lot house hibernation makes use of in your PC
It scales with RAM, and high-memory techniques lose probably the most house
Afam Onyimadu / MUO
The file that you must delete known as hiberfil.sys, however it’s not apparent. This file is protected by Home windows and likewise made invisible by default. So, to find it, you have to first take the next steps:
- Press Home windows + E to open File Explorer and navigate to your C drive.
- Now, click on the ellipsis (…) in File Explorer and choose Choices to open the Folder Choices window.
- Navigate to the View tab, then choose Present hidden information, folders, and drives, then scroll down and uncheck Cover protected working system information (Beneficial).
When you comply with these steps and return to the C drive, you will note a brand new file known as hiberfil.sys. On certainly one of my techniques, this file was 12GB, whereas on one other, it was simply 6GB.
The impression of hiberfil.sys is dependent upon your setup and the scale of the out there house. On my 1TB SSD, it was 12GB, and I might afford to miss it, however on an already full 256GB SSD, 12GB could also be an excessive amount of to miss. The scale of this file is not at all times fixed and is dependent upon your RAM measurement. So, it is prone to be bigger on extra highly effective techniques.
Associated
I disabled one Home windows 11 service I would by no means heard of and freed up almost 1GB of idle RAM
A sneaky service that may take gigabytes of reminiscence.
The command that deletes it and frees up house
What really occurs if you run it
To delete this file, flip off hibernation utilizing a command immediate that has administrator privileges. Right here is the command to run:
powercfg /hibernate off
Operating this command causes Home windows to mechanically delete the file and unencumber the storage it occupied. The command executes immediately with none type of affirmation or warning.
Earlier than I deleted it, I opened Settings and navigated to System -> Storage. I had 8.17GB of free storage. After deleting it and checking again, I had 14.4GB of free storage.
Though the command runs immediately, Home windows might not free house instantly, particularly if you’ve only recently used the function. In such circumstances, you want a restart to pressure Home windows to launch all components of the file it is holding onto.
For those who delete the file in error or need it again, you may run this command: powercfg /hibernate on
What adjustments after disabling hibernation
Quick Startup is eliminated, and boot conduct turns into extra conventional
Afam Onyimadu / MUO
One factor you need to know is that operating that command is not merely deleting hiberfil.sys; it additionally adjustments how Home windows begins up. It reverts your pc to a extra conventional startup as a result of Quick Startup is mechanically disabled.
There are benefits to disabling Quick Startup. As an illustration, since I dual-boot Home windows and Linux, turning off Quick Startup ensures Home windows releases components of my laborious drive partition that have been locked. So I do not see deleting hiberfil.sys as an enormous compromise. As a result of Quick Startup prevents a full shutdown, it shortens boot occasions—so that you lose that pace profit if you disable hibernation.
The distinction Quick Startup makes is dependent upon the {hardware} you’ve. Startup time on an NVMe SSD with and with out Quick Startup is just some seconds aside, which is negligible. On older SATA SSDs or HDDs, the boot time hole is extra pronounced.
You, nonetheless, have the true benefit of not carrying over inconsistent or sudden states between classes as a result of the system goes by means of an entire shutdown course of.
For those who wanted this house, there are just a few extra locations to verify
On most of my techniques, I freed an preliminary chunk of house by deleting this hibernation file. However it solely made me interested by different methods to free house, particularly on my smaller-capacity gadgets. I attempted just a few, and right here have been those that gave me probably the most success:
Characteristic
What it does
What you are able to do
pagefile.sys
Digital reminiscence
Manually scale back its measurement or enable Home windows to handle it
System Restore
Saves system snapshots
Restrict disk utilization or delete older restore factors
Supply Optimization
Shops replace cache
Clear cache in Storage settings
One distinction between hibernation and a few of these different options is that they’re extra actively used. So, as an example, I might not completely disable the web page file. System Restore is required; I solely guarantee older restore factors are deleted by capping the house it might probably use. This manner, I haven’t got to completely disable the function. The least consequential is Supply Optimization, and I can clear the cache with out affecting system stability.
There are just a few different approaches to regaining storage on Home windows: it’s possible you’ll disable reserved storage or use the built-in Home windows Disk Cleanup device.

