How to Change the Size of hiberfil.sys File in Windows 10



Updated June 2022: Stop getting error messages and slow down your system with our optimization tool. Get it now at this link
  1. Download and install the repair tool here.
  2. Let it scan your computer.
  3. The tool will then repair your computer.

Most Windows users use the hibernation feature to quickly start up in Windows and resume their work. However, hibernation is enabled by default on most Windows 10 PCs and does not appear by default in the Power menu or on the power switch. In Windows 10, the function can be added to the “Power” button in the “Start” menu. See our instructions for enabling hibernation in Windows 10.

Hibernation mode uses the hiberfil.sys file to record the current status of all open applications, files, and drivers, and when the PC is restarted, you are back where you left off. The default size of hiberfil.sys is about 40% of the system’s physical memory. If you want to disable hibernation without disabling the quick start, you can reduce the size of the hibernation file (hiberfil.sys) to about 20% of your RAM in Windows 10.

Hiberfil.sys is a hidden system file. It could only be displayed in File Explorer if you had enabled “Show hidden files and folders” in the folder options.

How to reduce the size of the hiberfil.sys file in standby mode

By default, the file represents 75% of your RAM – a computer with 4 GB of RAM would have a 3.5 GB hiberfil.sys file.

This amount can be changed for any other amount between 50 and 100%, but if Windows needs more than the amount you set, the computer will not go into hibernation.

The following steps show how to change the size of the hiberfil.sys file

  • Click on the Windows search bar and type cmd
  • Right-click on “Command Prompt” and click on “Run as administrator”.
  • In this example, we will change the default amount of 75% to a minimum of 50%. If you set a different amount, replace 50% with 50%.
  • Type the following command and press Enter
  • powercfg -h – size 50
  • The hiberfil.sys file is now replaced by the new set. Click on the window with the X in the upper right corner or type exit and press Enter on the keyboard.

Reduce the Hiberfil.sys File in the Properties

Locate the hiberfil.sys file on the C drive and follow the steps to shrink the file and add disk space.



June 2022 Update:

You can now prevent PC problems by using this tool, such as protecting you against file loss and malware. Additionally it is a great way to optimize your computer for maximum performance. The program fixes common errors that might occur on Windows systems with ease - no need for hours of troubleshooting when you have the perfect solution at your fingertips:

  • Step 1 : Download PC Repair & Optimizer Tool (Windows 10, 8, 7, XP, Vista – Microsoft Gold Certified).
  • Step 2 : Click “Start Scan” to find Windows registry issues that could be causing PC problems.
  • Step 3 : Click “Repair All” to fix all issues.

download



  • Right-click the hiberfil.sys file and select Properties.
  • Click the Advanced button.
  • In the dialog box that appears, enable the Compress content option to save disk space.

You could also disable hibernation to reduce the system footprint.

Disable hibernation mode to increase hard disk space in Windows

  • Open the command prompt as an administrator.
  • Type powercfg -h off in the dialog box and press Enter.
  • Restart the computer.

You will notice that the hiberfil.sys file has been removed from the system and the Hibernate option is no longer present, which actually increases the space on the C drive. If you want to restore the hibernation function, type powercfg -h on in the dialog box.

What happens if you indiscriminately reduce the size of the hiberfil.sys file?

If the hibernation file size is too small, Windows may issue a shutdown error.

If Windows does not shut down because the hibernation file is too small, a blue screen may appear with the following error code and shutdown message :

STOP 0x000000A0 INTERNER_PROWER_ERROR
Parameter 1
Parameter 2
Parameter 3
Parameter 4

The settings provide the following information:

Parameter 1 is always 0x0000000B.
Parameter 2 is equal to the size of the inactive status file in bytes.
Parameter 3 is equal to the number of data bytes remaining for compression and writing to the hibernation file.
Parameter 4 is not used for this error.

https://superuser.com/questions/746290/what-happen-if-we-reduce-the-size-of-hiberfil-sys



Expert Tip: This repair tool scans the repositories and replaces corrupt or missing files if none of these methods have worked. It works well in most cases where the problem is due to system corruption. This tool will also optimize your system to maximize performance. It can be downloaded by Clicking Here