Reduce the size of the win7 system, so that anyone can install the specific setting process of win7

  


1. Remove the virtual memory file to a non-system disk.
As we all know, in order to speed up the system, Windows provides a virtual memory mechanism. In Windows 7, the default is to enable this function, and the virtual memory file is in the system disk. For example, a 2G memory machine, the virtual memory file size is 2G, we can completely remove him! There is room for the system disk.
Specific setup process:
First step, right click on My Computer on the desktop and select Properties. You will see the system about the interface, the system advanced settings (AdvancedSystemsettings) in the upper left corner of this window.
Step 2: In the setting window of the new popup window, select the first setting button. Go to the Performance setting and select the Change button at the bottom of the Advanced tab to enter the interface for setting virtual memory.
Step 3: First remove the check mark in the first check box, so that we can modify the size and position of the virtual memory. Select the system partition in the disk list, select Nopagingfile, click the set button next to it, then select the non-system partition, select Systemmanagedsize below (the system automatically allocates the size), click the set button. If a dialog box appears in the middle, please select OK.
Second, turn off the sleep function, save memory size disk space!
Please pay attention to this sleep non-sleep function! Generally, notebook users may use it. Hibernate writes all the data in the memory to the hard disk, then shuts down the system, and writes the data back to the memory when the next boot is turned on. This is the advantage that you are working on. Work will be saved, even if it will not disappear after power failure, which is why people often say that they do not need to shut down for several months.
Most people don't use this feature often, but we pay for it the same amount of disk space as memory, thanks to it! In fact, we can start it when we need it, and usually close it directly.
How to turn the hibernation function on and off:
Copy the code below, paste it into Notepad, and save the file to close hibernation.bat
@powercfg-hoff
Copy the code below , paste it into Notepad, and save the file as open hibernation.bat
@powercfg-hon
When we want to turn off and turn on the hibernation function, we only need to run the above two bat files as an administrator. Very easy!
Three. Compress files, save 1G space!
In the Windows folder, there is such a mysterious folder, its name is winsxs, and its volume will probably be 3G. There are a lot of things inside, it is best not to delete them indiscriminately! But we can also squeeze out 1G space from it!
Specific steps:
First we have to add a new option to the right-click menu, "Administrator takes ownership". The method is very simple, you can get it by installing an optimization software called VistaManager. Right-click on the winsxs folder just mentioned and select our new "admin get ownership". This way we can make property changes to this folder. After those crazy pop-up CMD windows disappear, we right-click again to select the properties of this folder, select the Advanced... button below, and the Compress contents to save disk space below (compressed content to save disk space), the previous complex Check the box to check.
Click OK to confirm, the process of compressing the file begins. During the period, some files may be prompted. We can choose to ignore all (ignoreall), which may last for about 20 minutes

Copyright © Windows knowledge All Rights Reserved