Hibernate being the most useful feature for Windows OS it lets you to save your work and resume it quickly.
Most of Windows users use hibernation feature to quickly boot into Windows and resume their work. Though, by default, it’s not enabled in Windows 7, one can enable it by following our how to enable or disable hibernate feature in Windows 7/8/8.1/10 guide.
However, hibernation feature is turned on by default on most Windows 10 PCs and but it doesn’t show up in power menu or power button by default. On Windows 10, it can be added to the Start menu power button by referring to our how to enable hibernate in Windows 7/8/8.1/10 guide.
When you enable hibernate feature, Windows creates a new file named hiberfil.sys in the root of your system drive (drive where Windows is installed) to save the system state.
to view follow our tutorial on How to view system files and folder in Windows OS
Now, if you have a hiberfil.sys with a huge size, you might want to reduce its size to free-up some disk space. The default size of hiberfil.sys varies depending on the amount of RAM installed on your PC. For instance, it’s taking 2.97 GB of disk space on my PC with 4 GB of RAM.
One can reduce the hiberfil.sys file size by executing a simple command in the elevated Command Prompt. But we recommend you keep at least 70% of the original size of the hiberfil.sys.
How to reduce the size of hiberfil.sys file in Windows 10/8.1/8/7/
Step 1: Open elevated Command Prompt by typing CMD in Start menu search filed, right-click on Command Prompt entry and then click Run as administrator.
or follow :-
Multiple ways to open command prompt
Step 2: In the command prompt, type the following command and hit enter.
Powercfg –h –size percentsize
Powercfg –h –size %70
In the above command, replace percentsize with your value (for example, 60%), but it cannot be smaller than 50.
Step 3: Exit the Command Prompt and you are done!