Save the windows 7 system hard disk space coup

  
                  

Many people found that after installing the win7 system, even if no application is installed, the C disk takes up more than 10G. In fact, there are a lot of things that we don't need. After these things are removed from our computers, they don't affect the system at all, and they also save a lot of space. Let's take a look at how to save our hard disk space:

1. Delete hiberfil.sys

Many people often do not 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 saved 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 authority, 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", select "Run as Administrator")

2. Correct Setting Virtual Memory

Memory plays a big role in the computer. All running programs in the computer require memory. If the program is large or many, the memory will be exhausted. 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! Easy to appear bad sectors on the hard drive! If you can use it, you can use it less! The principle is enough to use + to leave 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 and write more fast. 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, Settings, OK, Exit Restart.

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

This folder is the system installation folder, most of the time is not used, can save more than 1GB of disk space after compression. . 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 ... --> compressed 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