My Win7 optimization documentary 2---C disk slimming expansion

  
My application software is basically installed in the D drive, the desktop and the recycle bin are also often cleaned up, however, the space of the C drive is often often stretched. To find the following slimming methods: 1. Turn off the sleep function Sleep is a power-saving state that is mainly designed for portable computers. Sleep usually saves work and settings in memory and consumes a small amount of power, while hibernation saves open documents and programs to your hard drive, then shuts down your computer. Hibernation uses the least amount of power in all power-saving states used by Windows. When we enable the hibernation function, there will be a file named hiberfil.sys in the root directory of the C drive. The size and memory size are an order of magnitude (there should be individual differences, on my computer, about 1.49G). For most people, the shutdown and sleep functions are sufficient. To save the C disk overhead, you can turn off the sleep function. To disable and enable hibernation, use the following method: Use batch file Use Notepad to create and edit a batch file with suffix bat. To turn off hibernation, enter @powercfg -h off and save; otherwise, to enable it, enter @powercfg -h on, save. Hibernate can be turned off or on by double-clicking on the saved batch file as an administrator. Use Command Prompt/Run to find the command prompt/run in the “Start Menu”-->“Accessories", open the window. To turn off hibernation, enter the powercfg -h off command; otherwise, enter the powercfg -h on command. 2. Modify the virtual memory settings The programs running on the computer must be executed through the memory. If the executed program occupies a large or large amount of memory, the memory consumption will be exhausted. In order to solve this problem, modern operating systems generally use virtual memory technology, that is, a part of the hard disk space is used to serve as a memory. Windows systems use a paging file called pagefile.sys to represent virtual memory, which we can find in the partition root directory where virtual memory is allocated. In Win7 system, by default, the virtual memory space is provided by the C disk, and the size is generally 1~1.5 times of the real memory size of the machine. For speed reasons, virtual memory should be as close as possible to the system, or even placed in the system; however, for the C disk space is relatively tight, the system disk is relatively pit. To this end, I set the virtual memory on the D drive. The setting method is as follows: Right click on the desktop & ldquo; computer & rdquo;, select “ attribute & rdquo;, pop up & ldquo; control panel home page & rdquo; window;
Copyright © Windows knowledge All Rights Reserved