How to save Windows 7 system hard disk space skills

  


1. Delete hiberfil.sys

Many people often don't figure out what is computer hibernation. In fact, there are two low-power operating states in the computer, sleep and sleep. The common function of our computer is the sleep function, that is, the computer enters the low-power state after a certain period of time, and the working attitude is stored in the memory, and the original working state can be restored in 1-2 seconds after the recovery. This feature is very useful and is the most commonly used. However, hibernation is to write all the memory information into the hard disk, taking 4G memory as an example, that is, to write 4G files to the hard disk, and then shut down. To restore the original working interface, you need to read the 4G file to the memory. The reading and writing of 4G files takes a lot of time, which is no less than normal booting, so the hibernation function is not practical now. The hibernate HIBERFIL.SYS file is used to save memory state during sleep. Will occupy the space equivalent to the memory capacity of the C drive (for example, 4G memory, this file is also 4G), so it can be deleted without affecting everyone's use.

Operation method: Run CMD with administrator privileges, and execute the following command: POWERCFG -H OFF This file will be deleted automatically.

(How to run as an administrator: right click on "All Programs" -> ">“Accessories"->“Command Prompt">;Run to Administrator” )


2. Setting up virtual memory correctly

Memory plays a big role in the computer. All running programs in the computer require memory, if the program is very large. Or a lot, it will lead to exhaustion of memory. In order to solve this problem, WINDOWS uses virtual memory technology, that is, takes out a part of the hard disk space to act as memory. This part of the space is called virtual memory, and the virtual memory exists on the hard disk in the form of PAGEFILE.SYS. Virtual memory is only a supplement to the lack of physical memory, so do not deify, virtual memory read and write performance (that is, hard disk read and write speed) only one-tenth of the physical memory performance, and high-frequency read and write operations on the hard disk damage Big! It is easy to appear bad sectors on the hard disk! If you don't need it, you can use it less. If you can use it less, you can use it less! The principle is enough to use + a small amount of allowance.

In the Win7 system environment, the general 512MB memory, according to the actual use of memory, you can set the virtual memory to 512-768MB (memory + virtual memory and generally 256MB higher than the normal occupancy). 1GB memory, according to the actual memory usage, you can set the virtual memory to 128-512MB (the sum of memory + virtual memory is generally 256-512MB higher than the normal occupancy). Memory is 2G and above, you can generally disable virtual memory (software limited to a small amount of virtual memory, such as 128MB). Some people who do use a lot of memory, such as playing large 3D games, making large pictures, 3D modeling, etc., and receiving the system memory shortage warning, need to increase the virtual memory as appropriate.

Generally, you can disable the virtual memory first, restart the computer into safe mode (do not run a lot of programs at this time), and then defragment, reset the virtual memory after the completion, so that the page file does not contain fragments, read Write faster. Or use the PE /emergency disk to boot into the system, delete the page file, defragment the disk, and restart. Take WIN7 as an example, "Computer", right-click, properties, advanced system settings, performance > settings..., advanced, virtual memory > change..., automatic management cancel, custom size, set, OK, exit Restart.


3. Compress C:\\Windows\\winsxs folder

This folder is the system installation folder, which is not used most of the time. Save more than 1GB of disk space. Method: first obtain the read and write permissions of the WINSXS folder (the default administrator only has read access to this folder), then select WINSXS right mouse button, regular --> advanced...--> compress content to save disk space. The compression process takes 10-30 minutes, depending on the performance of the hard drive.

Through the above three steps, your Win7 pure system should only occupy about 6G.

Copyright © Windows knowledge All Rights Reserved