Hibernation files take a lot of space. In my case, it was 1.7GB in C Drive. If you have a lot of space, you don’t need to worry. But when your computer has little space with SSD, you may want to get some extra space. It’s the hiberfil.sys file we are talking about.
What Is Hibernation?
Its a power saving mode in windows 10 and also the previous versions too. Sleep and Hibernation are the two choices when you don’t want to shut down your PC. Sleep mode uses the RAM to save the current session while Hibernation uses the Harddisk.
HIbernation Option in Windows
Sometimes it’s not shown in the start menu or power button. You will need to manually update that.
Go to Settings and navigate to
System > Power & sleep > Related settings > Additional power settings > Choose what the power buttons do> Change settings that are currently unavailable > Check the Hibernate box to enable it on the power menu.
How to Delete Hiberfil.sys file
You can not delete the hiberfil.sys file really. You need to disable hibernation. its located on the C drive.
But to find hiberfil.sys file you will change some settings.
Open a File Explorer window > View > Options > View tab in the resulting window, then you need to select two options:
- Show hidden files, folders, and drives: Enable this.
- Hide protected operating system files (Recommended): Make sure this box is not checked.
How to Disable or Enable Hibernation
Deleting the file itself won’t work because Windows will just re-create it. Instead, you can disable hibernation mode by running one command at the Command Prompt:
- Right-click on the Start Button and select Command Prompt (Admin).
- Enter the following command to disable hibernation:
powercfg -h off
Once you do this, Windows will delete the hiberfil.sys file. You will not see the Hibernate as an option in the power menu anymore.
If you want to enable hibernation again, open another Admin Command Prompt window and run the reverse command:
powercfg -h on
That’s it. Thanks for reading this post.
- what ini files do i change to disable hibernation in ark undedicated session