How to slim down Windows system hibernation files and release drive C?
Coup 1: Turn off the system sleep function 1. The system hibernation function will generate a hidden system file: Hiberfil.sys in the root directory of drive C, which is exactly the same size as your own physical memory. When you put your computer into hibernation, Windows will write all the memory contents to hiberfil.sys file before shutting down the system. Then, when you turn on the computer again, the operating system uses Hiberfil.sys to put all the information back into the memory, and the computer returns to the state before it was turned off. But Windows will not delete this file, but save it on the hard disk, which will take up some disk space in vain. With the sleep function, you can choose not to use it. This takes up a lot of hard disk space. Turning off sleep can free up quite a lot of space, as much memory as you can. For example, if your memory is 4G, you can free up 4G space. The method of safely deleting hibernation files under 2Win7 and Win8: Run cmd.exe as an administrator to open a command line window, and then run: powercfg -h off. Note that the hidden file of hiberfil.sys left by disk C can be directly removed and deleted. Tip 2: Set up virtual memory 1Windows system, including Win7 and Win8. By default, the virtual memory is set to 0.5 times the size of 65438+ physical memory as a paging swap file. If the system manages the size, then this volume will change automatically, and it will often get bigger and bigger. If the physical memory is less, only 5 12m or 1g, you can choose to keep this file. If you keep this file, it is recommended to put it in another partition instead of the C disk (system disk), otherwise you still need to delete it manually when making Ghost or other backups. It is suggested that the size must be specified, that is, 1.5 times the physical memory size of Ram. 2 Open the control panel, click System 3, and then click Advanced System Settings 4 on the left. In the system properties dialog box that opens, click the first setting button (Performance) 5 to open the Advanced tab in the Performance Options dialog box, and click Change in Virtual Memory ... 6 Ok, start setting up virtual memory. First, close the virtual memory of drive C, select the unpaged file, and click Set. 7. Set the virtual memory on disk D or other partitions with large space. Here, it is set on disk D, with a size of 2048MB, that is, 2G, which can be set as required. Tip 3: Some temporary files generated by application installation and operation can be completely deleted. After a long time, there is really a lot of garbage. These files are usually stored in the windows\temp folder and the temp folder of the user folder. Cleaning method: directly delete all files in folders c:\windows\temp, C:\ProgramData\TEMP and C: \ Users \ Your User Name \ AppData \ Local \ temp.