Win7 shows a higher potential than vista in the internal testing stage, but there are still many netizens who think that the performance of windows7 is really good, but it is too bloated and its volume is not much better than vista. If you want win7 to have a better experience, you must lose weight. In Microsoft's test report, we mentioned the content of slimming. Before the official release, we can lose weight on windows7. The specific method is as follows:
1. Move the virtual memory file to a non-system disk.
As we all know, in order to speed up the operation of the system, Windows provides a virtual memory mechanism, but in Windows7, this function is turned on by default, and the virtual memory file is on the system disk. For example, for a machine with 2G memory, the virtual memory file size is 2G, and we can completely remove it! Make room for the system disk.
Step 1: Right-click my computer on the desktop and select Properties. You will see the advanced system settings about the system interface in the upper left corner of this window.
Step 2: Select the first setting button in the newly pop-up setting window. Enter the performance settings, and select the change button at the bottom of the advanced tab to enter the virtual memory settings interface.
Step 3: First, remove the check mark from the first check box, so that we can modify the size and location of the virtual memory ourselves. Select the system partition in the disk list, select the nonpaged file, click the Settings button next to it, then select the non-system partition, select the size managed by the system below, and click the Settings button. If a dialog box appears in the middle, just select OK.
Second, turn off the hibernation function to save memory size and disk space!
Please pay attention to this sleep non-sleep function! Ordinary notebook users may take advantage. Hibernation means writing all the data in the memory to the hard disk, then shutting down the system and writing the saved data back to the memory at the next startup. The advantage of doing this is that the work you are doing will be saved, even if the power is cut off, it will not disappear, which is why people often say that they don't have to turn off their phones for several months.
Most people don't use this function often, but we paid the same size of disk space as memory for it in vain, thank you! In fact, we can start it when necessary and close it directly at ordinary times.
Specific methods to turn on and off the hibernation function:
Copy the following code, paste it into Notepad, and then save the file with hibernation turned off. Bat.
@powercfg -h close
Copy the following code, paste it into Notepad, and then save the file as "Turn Hibernation on". Bat.
@powercfg -h on
When we want to turn off and turn on the hibernation function, we just need to run the above two bat files as an administrator, which is very simple!
Third, compress files to save 1G space!
It is said that under the Windows folder, there is such a mysterious folder, its name is winsxs, its volume will be about 3 G, and there are many things in it, so it is best not to delete it at will! But we can also squeeze out the space of 1G from it!
Specific operation steps:
First, we need to add a new option in the right-click menu, "Administrator takes ownership". The method is simple, just install an optimization software called Vista Manager. Right-click the winsxs folder mentioned just now and select our newly added "Administrator takes ownership". So we can modify the properties of this folder. After those crazy CMD windows disappear, we right-click the properties of this folder again, select the advanced ... button, and check the check box in front of the compressed content to save disk space.
Click OK all the time to confirm, and the process of compressing files begins. During this process, there may be hints that some files are in use, so we can choose to ignore all files, which may last for about 20 minutes.
1. Delete hibernate file hiberfil.sys
Many people often don't know what computer hibernation is. In fact, computers have two low-power running states, hibernation and sleep. Our computers generally use the sleep function, that is, the computer enters a low power consumption state after a certain period of time, and the working posture is stored in the memory, and it can be restored to the original working state in 1-2 seconds. This function is very practical and most commonly used. However, hibernation is to write the working state, that is, all memory information, to the hard disk. Take 4G memory as an example, that is, write 4G files to the hard disk first, and then turn it off. Boot recovery requires reading 4G files into memory and restoring the original working interface. It takes a lot of time to read and write 4G files, which is no less than normal startup, so the hibernation function is not practical now.
Heberfield SYS file is used to save the memory state during sleep. It will take up the space equivalent to the memory capacity of drive C (taking 4G memory as an example, this file is 4G), so it can be completely deleted without affecting everyone's use.
Operation method: run CMD with administrator authority and type the following command: POWERCFG -H OFF to automatically delete files.
(how to run as administrator: right-click all programs-> accessories-> command prompt and select "run as administrator")
2. Set up the virtual memory correctly
Memory plays a great role in the computer. All running programs in the computer need memory. If the executed program is large or many, it will lead to memory exhaustion. In order to solve this problem, WINDOWS uses virtual memory technology, that is, a part of the hard disk space is used as memory, which is called virtual memory, and the virtual memory exists on the hard disk in the form of page files. Virtual memory is only a supplement to the lack of physical memory, so don't deify it. The reading and writing performance of virtual memory (that is, the reading and writing speed of hard disk) is only a few tenths of that of physical memory, and high-frequency reading and writing operations are very harmful to hard disk! Hard disk bad track is easy to happen! Don't use it if you can, and use it less if you can! The principle is enough+leave a small margin.
In Win7 system environment, the memory is generally 5 12MB. According to the actual memory usage, the virtual memory can be set to 5 12-768MB (the sum of memory+virtual memory is generally 256MB higher than normal usage). 1GB memory, according to the actual usage of memory, you can set the virtual memory as 128-5 12MB (the sum of memory+virtual memory is generally 256-5 12MB higher than the normal usage). If the memory is more than 2G, you can generally disable virtual memory (if there are software restrictions, you can set 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 received a warning that the system memory is insufficient, and virtual memory needs to be increased appropriately.
Generally, you can disable the virtual memory first, restart the computer to enter safe mode (don't run many programs at this time), then defragment it, and reset the virtual memory after completion, so that the page file can be read and written faster without fragmentation. Or use PE/ emergency disk to boot into the system, delete the page file, tidy up the disk, and restart.
Take WIN7 as an example, right-click "computer", properties, advanced system settings, performance > settings ..., advanced, virtual memory > change ..., automatically manage cancellation, customize size, set, confirm, exit and restart.
3. compress the C:\Windows\winsxs folder.
This folder is the system installation folder and is not used most of the time. After compression, you can save more than 1GB of disk space. Methods: First, get the read and write permission of the WINSXS folder (by default, the administrator only has the read permission of this folder), then select WINSXS, click the right mouse button, and compress the contents in General-> Advanced ...-> to save disk space. The compression process takes 10-30 minutes, depending on the performance of the hard disk.
Through the above three steps, your Win7 pure system should only account for about 6G.