Is Windows 7 less and less system disk space?

Source: Internet
Author: User
Tags prefetch sleep function

Why is my c disk less and less space? Every Time Windows 7 is started, nothing is done, or even some software is uninstalled, but the disk C becomes larger. Is the C drive getting smaller and smaller when Vista is installed? What is the problem? How can I solve the problem of system disk space of the C drive? As one of the top 10 common Windows 7 problems, we will not talk about the universality of this problem here. We will go directly to the topic and give you the most perfect solution.
However, some system settings and optimization are involved here. Although there is no danger, we suggest you take a closer look. At least, you need to know the principles and methods to restore the system at any time. After all, some reasons why Vista occupies disk C space are still good for everyone's systems, such as application cache.
Next, I picked up the surgical knife and found out why Windows 7 C disk space is getting smaller and smaller, and wiped out the culprit.
Note: This article uses drive C to refer to the drive letter that has been installed on Windows 7. Drive C is used to represent that you have installed the drive letter vista to other drive letters, and you have also painted the lines according to the gourd.
I. In-depth analysis and perfect solution
1. hibernate file hiberfil. SYS:
This file is a hidden system file in the root directory of the C drive. This hiberfil is hidden. the sys file size is exactly the same as your physical memory. When you sleep your computer, Windows Vista writes all the memory content to hiberfil before shutting down the system. sys File. Then, when you re-open the computer, the operating system uses hiberfil. sys to put all the information back into the memory, and the computer is restored to the status before it is disabled. However, Windows 7 does not delete this file, but keeps it on the hard disk, occupying part of the disk space. With the sleep function, you can choose not to sleep, and all the team members will shut down this hard drive. It occupies space and frequently reads and writes to hard disks. The t61 of the assassin has a space of 4 GB.
For Windows 7, run cmd.exe to open the command line window and run powercfg-H off. Note that the residual hiberfil of drive C is displayed. you can unhide a sys hidden file and delete it directly.
2. Virtual Memory Pagefile. SYS:
For Windows systems, including Windows 7, the size of physical memory is set to 1.5 times by default. As a paging swap file, if you are the size managed by the system, the size automatically changes, it is always getting bigger and bigger. If your physical memory is small and only MB or 1 GB, you can choose to keep this file.
If this file is retained, we recommend that you put it in another partition, not with drive C (System Disk). Otherwise, when you do a Ghost or other backup, you still need to manually delete it. We recommend that you specify the Ram physical memory size to 1.5 times.
If you have more than 2 GB of memory, we recommend that you disable the virtual memory function. You will find that your entire Windows system is "Flying.
How to set the virtual memory: Click System in the control panel-classic view, click Advanced System settings on the left, click the first setting (performance), and then click Advanced. In the virtual memory, click settings. Note: The residual pagefile. sys file on disk C can be deleted directly after being unhidden.
3. Application cache brought about by the Superfetch function:
The technical features of Vista Superfetch are used in Windows 7 systems. For details, see: Windows Vista SuperFetch/Prefetch, teaches you how to set up Vista to start preread and application preread.
Cleanup method: delete all files in the c:/windows/prefetch folder.
4. Temporary files generated by the application:
It is generally stored in the windows/temp folder and in the temp folder of the user folder.
Cleanup method: delete all files in the c:/windows/temp and C:/Users/your username/AppData/Local/Temp folders.
5. Temporary files generated by browsers such as IE:
Cleaning Method: In the Control Panel Internet Options, you can delete cookies and temporary IE files, especially the ones that are best deleted before backing up the system.
6. System Restoration, system volume information folder:
System volume information folder. The Chinese name can be translated as "system volume label information ". This folder stores the backup information restored by the system.
"System Restoration" is one of the most practical functions of the Windows operating system. It uses "snapshots" to record the status information of the system at a specific time, that is, the so-called "Restore origin ", then, restore the information as needed. There are two types of restore points: one is automatically created by the system, including system check points and installation recovery points; the other is created by the user based on the needs, also called manual restore points. As the user's system time increases, there will be more and more recovery points, resulting in fewer and fewer hard disk space. Finally, the warning "insufficient disk space" will be reported ". It is also the most space-consuming file in the system disk. It takes a long time and the file size can be 4 GB or even larger!

7. New backup of system files generated by auto-upgrade patch
We recommend that you do not need to change it. It is best to keep it. You can also delete it.
8. Windows 7 system logs and Event Logs
Generally, in the logfiles folder under the System32 folder in the Windows folder, it is OK to delete it directly.
Ii. Automatic garbage removal of disk C space to expand disk C Space
@ Echo off
Echo Windows 7 Chinese network is helping you clear System junk files. Please wait ......
Del/f/S/Q % systemdrive %/*. tmp
Del/f/S/Q % systemdrive %/*. _ MP
Del/f/S/Q % systemdrive %/*. Log
Del/f/S/Q % systemdrive %/*. GID
Del/f/S/Q % systemdrive %/*. Chk
Del/f/S/Q % systemdrive %/*. Old
Del/f/S/Q % systemdrive %/recycled /*.*
Del/f/S/Q % WINDIR %/*. Bak
Del/f/S/Q % WINDIR %/prefetch /*.*
RD/S/Q % WINDIR %/temp & MD % WINDIR %/temp
Del/f/Q % USERPROFILE %/cookies /*.*
Del/f/Q % USERPROFILE %/recent /*.*
Del/f/S/Q "% USERPROFILE %/Local Settings/Temporary Internet Files /*.*"
Del/f/S/Q "% USERPROFILE %/Local Settings/temp /*.*"
Del/f/S/Q "% USERPROFILE %/recent /*.*"
Echo windows7 Chinese Network report: System spam cleared!
Echo. & pause
You can save the above Code as a clean. BAT and run it directly.

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.