How to save hard disk space on Windows 7 systems

Source: Internet
Author: User
Tags safe mode sleep sleep function winsxs folder

After installing the Windows7 system, even if no applications are installed, C disk occupancy has reached more than 10G. In fact, there are some things we do not need, if we can take some of the things we do not need to remove from the hard drive and do not affect the system to run, it is greatly saving space?

Let's see what we can do to save Windows 7 system hard disk space.

1. Set virtual memory correctly

Memory in the computer's role is very large, the computer all running programs need memory, if the execution of the program is very large or many, will lead to memory exhaustion. To solve this problem, Windows uses virtual memory technology, that is, to take out a part of the hard disk space to act as memory use, which is called virtual memory, the virtual existence of a hard disk on the form is Pagefile.sys this page file. Virtual memory is only a supplement of physical memory, so do not be deified, the read-write performance of virtual memory (that is, the hard disk read and write speed) only a few one-tenth of physical memory performance, and high frequency of read and write operations on the hard disk damage is very large! Easy to appear hard drive bad way! Can not be used, can be less use is less! principle is sufficient + Leave a small amount of allowance.

WIN7 system Environment, General 512MB memory, according to the actual use of memory footprint, you can set virtual memory for 512-768MB (memory + virtual memory and generally higher than the normal occupation of 256MB can). 1GB memory, according to the actual use of memory footprint, you can set virtual memory for 128-512MB (memory + virtual memory and generally higher than the normal occupation of 256-512MB can). Memory is 2G and above, you can generally disable virtual memory (with software restrictions can set a small amount of virtual memory, such as 128MB). Some people who do use large amounts of memory, such as playing large 3D games, making big pictures, 3D modeling, and receiving low memory warnings, need to increase virtual memory as appropriate.

You can generally disable the virtual memory, restart the computer into Safe mode (then do not run a large number of programs), and then defragment, after the completion of the reset virtual memory, can make the page file does not contain fragments, read and write faster. Or use pe/emergency disk to boot into the system, delete the paging file, defragment the disk, restart can be. Take WIN7 as an example, "Computer" right button, properties, advanced system settings, performance Settings ..., advanced, virtual memory changes ..., automatic management cancellation, custom size, settings, OK, exit reboot.

2. Delete hibernation file Hiberfil.sys

Many people often do not understand what is the computer hibernation. In fact, the computer has two low-power running states, sleep and sleep. Our computer is commonly used is the sleep function, that is, the computer does not have a certain time, into a low-power state, working attitude is kept in memory, restore 1-2 seconds can be restored to the original working state. This function is very practical, but also the most commonly used. Hibernation, however, writes the working state of all the memory information to the hard disk, taking 4G memory as an example, to write 4G files to the hard disk before shutting down. power-on recovery to read 4G of files to memory in order to restore the original working interface. and 4G file reading and writing to spend a lot of time, is no less than the normal boot, so now the sleep function is not practical. The dormant Hiberfil.sys this file is used to save the memory state while hibernating. Will occupy C disk equivalent to the amount of memory space (4G memory For example, this file is also 4G), so can be deleted without affecting the use of everyone.

How to: Run cmd with administrator rights, and call the following command: Powercfg-h off automatically deletes the file.

(How to run as an administrator: right click on "All Programs"-"Attachments"-"Command Prompt", select "Run as Administrator")

3. Compress C:windowswinsxs Folder

This folder is the System installation folder, most of the time is not available, compressed to save more than 1GB of disk space. Methods: First get read and write permissions to the WinSxS folder (the default administrator on this folder only read permission), and then select the right mouse button WinSxS, general-"Advanced ..." -"Compress content to save disk space." The compression process takes 10-30 minutes, depending on the performance of the hard drive.

With the above three steps set, your Win7 pure system should only account for about 6G.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.