Home > Computer Tutorials > Computer Knowledge > How to delete hiberfil files

How to delete hiberfil files

小老鼠
Release: 2024-04-10 10:27:32
Original
1122 people have browsed it

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 hiberfil files

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

  1. As an administrator Open a command prompt.
  2. Type the following command and press Enter:

    <code>powercfg.exe /hibernate off</code>
    Copy after login

Method 2: Use the Registry Editor

  1. Press the Windows logo key R to open the Run dialog box.
  2. Type regedit and press Enter to open the Registry Editor.
  3. Navigate to the following registry key:

    <code>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power</code>
    Copy after login
  4. In the right pane, find the registry key named HibernateEnabled.
  5. Double-click HibernateEnabled and change the value data to 0.
  6. Close the Registry Editor and restart your computer.

Note:

  • After deleting the hiberfil.sys file, the hibernation function will no longer be available.
  • If you want to retain hibernation functionality while freeing up disk space, consider adjusting the size of the hibernation file.

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!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template