Deleting or restoring hibernation files on a HUAWEI computer

Applicable products: PC,Desktop
Applicable products:
zoom in pic
Deleting or restoring hibernation files on a HUAWEI computer

The built-in hiberfil.sys file helps you quickly wake up the system from Hibernation mode. However, the hiberfil.sys file is stored in the C drive and occupies a large amount of system space (about 3 GB). To save space, you can delete the hiberfil.sys file.

 
  • Hibernation is an important basic system function of Windows. After you delete the hibernation files, your computer will not be able to set up or enter Hibernation mode, which may cause your computer to heat up and shorten its battery life. Exercise caution when performing this operation.
  • To prevent hibernation files from being deleted by mistake, the Full checkup feature of Huawei PC Manager automatically recovers deleted hibernation files. After the hibernation file is automatically restored, perform the following steps if you wish to completely delete the hibernation file:
    1. Refer to Delete hibernation files
    2. Go to Huawei PC Manager > Full checkup > Repair to recover hibernation files.
    3. After you perform steps 1 and 2 for the fourth time, the hibernation files will be permanently deleted.

View hibernation files

Delete/Restore hibernation files

View hibernation files

  1. Press Win () + E to open File Explorer and select the C drive.
  2. Click the More icon (the three-dot icon ) (Windows 10: Click View) and select Options.

  3. On the View tab page, set the following parameters and click OK.
    • Deselect Hide protected operating system files (Recommended). In the displayed Warning dialog box, click Yes.
    • Under Hidden files and folders, select Show hidden files, folders, and drives.

  4. You can see the hiberfil.sys file in the C drive.

Delete/Restore hibernation files

  1. Search for "cmd" in the search box on the taskbar and select Run as administrator.

  2. Run the following commands. After the commands are executed, you can find that the hiberfil.sys file in the C drive is deleted.
    • Enter powercfg –SETDCVALUEINDEX SCHEME_BALANCED SUB_SLEEP HIBERNATEIDLE 0 and press Enter.
    • Enter powercfg –SETACVALUEINDEX SCHEME_BALANCED SUB_SLEEP HIBERNATEIDLE 0 and press Enter.
    • Enter powercfg -h off and press Enter.

  3. To restore the hiberfil.sys file in the C drive, enter powercfg -h on in the Command Prompt dialog box and press Enter.
Helpful or not?
Thanks for your feedback.