Can hiberfil be deleted? How to delete hiberfil.sys hibernation file?

  

If we have not changed the computer power plan, the computer will go to sleep after the user leaves for an hour or so. However, there is a disadvantage in hibernation, that is, it will occupy most of the system disk space (about 3 G or so). This file is called hiberfil.sys in the root directory of the C drive. In order to save space, we choose to delete this hibernation log file. Read the following to find out how to delete the hiberfil.sys hibernation file in the Win10 system.

steps:

This hidden system file hiberfil.sys, large volume, hidden in the system root directory (unless you modify the registry path through regedit).

This is not the same as the pagefile.sys file (for virtual memory). Pagefile.sys can be freely modified to which disk to transfer to the computer's system settings.

Note: To find the hiberfil.sys file, in the folder options, uncheck "Hide protected system files" or use winrar software to locate the system disk and view this file.

1, below, we use the command-line tool to completely turn off the sleep function of Windows, and you want to completely remove the large volume of documents. First, open the run in the system start menu (you can press the shortcut key Windows+R) and type cmd and press Enter to confirm.

2, enter the command line interface.

3, the command window, enter:
powercfg -h off

4, to turn off the sleep function, while the hiberfil.sys file will be automatically deleted.

Of course, the above method may not be ridiculous, because starting with Win7, run some programs must be run as an administrator.

1, then, can be found in the system tray cmd.exe file folder Windows /system32 in.

2, or in the Start menu, find all programs 》 Accessories 》 Command prompt icon.

7, right-click on the pop-up menu, click on the & ldquo; Run as administrator. & rdquo ;, then executes the command-line tasks, you can successfully remove the Windows system hibernation file hiberfil.sys.

8, open the sleep function: Enter powercfg -h on command at the cmd window, you can open the hibernate feature.

The above is about the method of deleting the hiberfil.sys hibernation file in the Win10 system. From the Win7 system, there are gradually some commands that need to be run with administrator privileges, which is not unexpected in Win10.

Copyright © Windows knowledge All Rights Reserved