How to completely delete the hiberfil.sys file?

  

We know that Windows has a sleep function. When you start the machine after hibernation, you can quickly restore the state before hibernation. But there is a price that occupies the system disk space (about 3 G or so), if you do not need to sleep, how to completely delete the Windows hiberfil.sys hiberfil.sys? This article uses the latest Windows10 as an example to share with you how to quickly delete this hidden system file.

1, this hidden system file hiberfil.sys, large size, hidden in the system root directory (unless you modify the path through the regedit registry). 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, you can uncheck the box in the folder options, hide the protected system file, or use winrar software to locate the system disk, view this file.

2, below, we use the command line tool to completely shut down the Windows hibernation function, and hope to completely delete this oversized file. First, open the run in the system start menu (you can press the shortcut key Windows+R), then type cmd and press Enter to confirm.

3, enter the command line interface.

4. Enter powercfg -h off in the command window to disable the hibernation function and the Hiberfil.sys file will be deleted automatically.

5, of course, the above method may not work, because from Win7, some programs must run as an administrator.

6. At this point, you can find the cmd.exe file in the system disk folder Windows/system32, or in the Start menu, find all programs> Accessories> Command prompt icon

7. Right-click in the pop-up menu and click “Run as administrator”. Then execute the above command line task, you can successfully delete the Windows system hibernation file hiberfil.sys

Note: Turn on the hibernation function, enter powercfg -h on in the cmd command window, you can start hibernation Features.

Related recommendation:

How to delete virtual memory in Win10 system?

Win10 patch Tuesday Microsoft pushes four security patches for the system

Win10 TH2 official version can not standby /sleep and close the screen What should I do?

[Video] new version of Win10 virtual What are the improvements to the Desktop Switching Task View?

Copyright © Windows knowledge All Rights Reserved