Modern computers offer power saving functions . These are especially useful for laptops, which we often prefer to use without being connected to the electrical network. One of the most common energy saving functions is the Idle or Suspend mode , also Hibernation (in Spanish? Hibernation?) Or Suspend to Disk (in Spanish, suspend to disk) that leaves the computers without power. Before adopting this mode, the operating system saves the current user settings to the hard drive so that you can resume your activity exactly where you left off after resuming from sleep mode..
Microsoft systems, such as Windows 7, 8 or 10, save work in progress in the hiberfil.sys file which, depending on the software and the system version used, can occupy several gigabytes on the hard disk. Windows creates this temporary progress file, even if you don't use the Idle state or ? Suspend? . We explain how to delete hiberfil.sys and how to disable the creation of a new hiberfil.sys file if you don't suspend your computer.
hiberfil.sys is a system file for Windows operating systems that contains a temporary memory of the current state of the system and is used for power saving functions? Idle? and? Suspend ?. It is the operating system itself that creates and manages this file, which can occupy several gigabytes (in Windows 10 it usually occupies between three and five gigabytes). The hiberfil.sys file is used to restore the operating system to the pre-suspend state when you want to resume..
The power saving function? Suspend? It is a hybrid mode that combines the idle state with the stand-by state and only turns off some specific components, such as the hard disk.
Windows generally stores the suspend file in the base directory of the system partition , C: \ . However, hiberfil.sys is hidden and has special system file protection , so by default it is not visible. If you want to make it visible, for example, to know how much it occupies, you must perform the following steps:
Despite being a protected and hidden file system, you can delete hiberfil.sys without any problem if you decide not to use Windows' power saving functions, since the file does not affect the general functioning of the operating system. However, as Windows actively accesses this file, you will not be able to use the conventional removal technique (right-click and select? Remove?), Because you will see a message that another program is using the hiberfil.sys file..
In this case, the solution is to deactivate the Idle mode and, thus, the use of the hiberfil.sys file , since, when you do this, Windows automatically deletes the file. Next, we explain how to perform this disconnection exactly in Windows 7, 8 and 10.
In order to disable the use of the hiberfil.sys file, you need administrator rights.
There are two options to disconnect the temporary storage of the suspend file: You can deactivate the service through the Command Prompt or modify the corresponding entry for hiberfil.sys in the registry . In both cases you need to have the required access rights, since, as we have mentioned, the suspend file is a system file.
Delete hiberfil.sys via Windows 10 Command Prompt:
To disconnect the temporary storage in the system file through the command terminal you only need to have the appropriate command. However, first of all, you must run the Command Prompt as administrator with the key combination [Windows] + [X] or by clicking with the right mouse button on the Windows symbol and selecting the option? Command Prompt (administrator) ? or? Windows PowerShell (administrator) ?:
After the Command Prompt has started (you may be asked to enter your user password), enter the following CMD command to disable the use of the hiberfil.sys file:
powercfg /hibernate off
If you confirm the command with the? Enter? Key, Idle mode is deactivated and hiberfil.sys is automatically deleted.
If you later want to reactivate the Inactive state, you can do so by using the powercfg command again . You just have to change the parameter? Off? by the parameter? on ?.
Delete hiberfil.sys via Windows 10 Registry:
You should only disconnect the hiberfil.sys file through the registry if you have experience in handling the registry database. If you enter the wrong entries or make modifications to existing entries, Windows 10 may stop working properly.
The best solution to adapt the Registry is the Registry Editor available by default. To open it, you must access the dialog box? Run? ([Windows] + [R]) and type? regedit ? You can find more information about the Registry Editor in our article on regedit.
As a general rule, this way of deactivating the service is also relatively easy as soon as you have accessed the corresponding Registry Entry . In this context, said entry, named? HibernateEnabled ?, Is in the following directory:
\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power
Double-click on the specified entry and adjust the value of the? Value data? Field. to ? 0 ? To disable Sleep mode and clear hiberfil.sys:
As a Windows 7 and Windows 8 user, you can also erase the suspend file from the system and, as in the case of Windows 10, you can choose between the Command Prompt and the Registry. The procedure hardly varies compared to the latest Windows operating system.
Delete hiberfil.sys via Command Prompt in Windows 7 and 8:
There is no difference between Windows versions in terms of the command required to disconnect hiberfil.sys, but depending on the version number of the operating system, access to the command window changes . In Windows 7 and 8, for example, there is no Windows 10 Quick Menu, so this method cannot be used to launch the Command Prompt. Instead, go to the Windows start menu and use your operating system's search function. To do this, type the following term in the search bar :
cmd
Then Windows will suggest Command Prompt as a proper match. Select the entry with the right button and then click the option? Run as administrator ?. To finish, type the well-known CMD command and confirm it with the? Enter? To stop temporary storage for the Idle state and clear hiberfil.sys :
Delete hiberfil.sys through the Registry in Windows 7 and 8:
The Windows start menu is also the starting point for disabling hiberfil.sys through the Registry. However, in this case you should not use the search function, but rather the? Run ? If this function does not appear in your start menu, you can recover it this way.
Opens the? Run? Dialog. and type the command to open the Registry Editor:
regedit
Now you must access the path of the Windows Idle mode registry entry :
Then click? HibernateEnabled ? and set the value to? 0? to delete the hiberfil.sys file. If the entry does not exist, create it yourself. Right-click in the right window and select? New ? and later ? DWORD value ?. As the name of the entry, type? HibernateEnabled ?: