Home > Article > Computer Tutorials > How to delete hiberfil files
To free up disk space, you can delete the hiberfil.sys file, which is used to store computer hibernation data. There are two ways to delete this file: use the command prompt (powercfg.exe /hibernate off) or use the Registry Editor (modify the value data of HibernateEnabled in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power to 0). It should be noted that after deleting this file, the hibernation function will no longer be available.
How to delete the hiberfil.sys file
What is the hiberfil.sys file?
hiberfil.sys is a hidden file created by the Windows operating system to store data from the computer’s hibernation state. When the computer hibernates, running programs and open files are saved to the hiberfil.sys file. In this way, when the computer wakes up from hibernation, it can quickly return to the state before hibernation.
Why do you need to delete the hiberfil.sys file?
The main reason to delete the hiberfil.sys file is to free up disk space. This file typically takes up the same or more space than your computer's RAM, so deleting it can free up a lot of free space.
How to delete the hiberfil.sys file
Method 1: Use the command prompt
Type the following command and press Enter:
<code>powercfg.exe /hibernate off</code>
Method 2: Use the Registry Editor
Navigate to the following registry key:
<code>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power</code>
Note:
The above is the detailed content of How to delete hiberfil files. For more information, please follow other related articles on the PHP Chinese website!