How to compress hiberfil.sys file in Win10 system

  
Win10 system how to compress hiberfil.sys file
The specific method is as follows:
1, enter the resource manager, click [View] - [Options], open the folder options;

2, in the folder Option window, click [View], in the [Advanced Settings] column, click [Hide Protected Operating System Files] to select, select [Show hidden files, folders and drives], and then click: Apply - OK; br>
3, into the system C: drive can see, there hiberfil.sys file (sleep function file) a 7.87GB in the system root directory;


4, right-click In the lower left corner of the system desktop, click [Start], click [Command Prompt (Administrator)] in the Start menu;

5, copy the POWERCFG /HIBERNATE /SIZE nn command, in the administrator command prompt window, right click Click on the blank space, the POWERCFG /HIBERNATE /SIZE nn command is pasted into the window;
Description: & ldquo; nn & rdquo; is the compression percentage, you can enter an integer between 50 and 100

6, POWERCFG /HIBERNATE /SIZE nn After the paste is completed, press the Enter key on the keyboard to operate Fast completion, display: The hibernation file size has been set to 3382886400 bytes;

7. Click the small box to the left of the administrator command prompt, click [Close] in the drop-down menu to exit the administrator command prompt. window;

8, re-entering the system C: drive, you can see hiberfil.sys files take up space 3.15GB, 4.72GB compressed save space;


9, Note: Compressing the hiberfil.sys file can save space on the system C: disk, but there may be a blue screen phenomenon. If the system blue screen appears, you can use the following method to solve it;
press Win+R on the keyboard Key, open the [Run] dialog box, enter: msconfig command, press Enter, enter [System Configuration], click [Boot] in the system configuration window, click [Safe Boot] under the boot option, then click: Apply - OK Exit without restarting the computer;
(In case of blue screen, you can start from safe mode)

10, boot into safe mode, choose safe mode with command prompt, enter, Enter the administrator command prompt window , input: POWERCFG /HIBERNATE /SIZE 100 command (restore the hiberfil.sys hibernation file to the original system default settings);

11, after inputting the POWERCFG /HIBERNATE /SIZE 100 command, press Enter, the display: The hibernation file size is set to: 8457220096 bytes, exit the administrator command prompt window, restart the computer, the problem should be solved.

12. Compressing the hibernation file, the computer may have a blue screen. If the physical memory is large and the system disk space is seriously insufficient, consider compressing the hiberfil.sys hibernation file to save system disk space. If the memory is small, such as 2GB, compressing hiberfil.sys to sleep files is not likely to make a lot of room, it is recommended not to compress hiberfil.sys hibernation file.
The above is a small method for everyone to recommend the Windows10 system compression hiberfil.sys file to save disk space specific method, and friends who need to refer to use.

Copyright © Windows knowledge All Rights Reserved