Windows 7 system disk is getting smaller and smaller, and the System Disk Cleanup Technique

Source: Internet
Author: User
Tags prefetch sleep function

Windows 7 system disks are getting smaller and smaller. The System Disk Cleanup technique is usually used to delete the restoration function. Deleting the Restore point can reduce the space of the system disk. Delete restore point: choose my computer> Properties> advanced system Settings> system protection> Configuration> Delete (you can also: programs-accessories-System Tools-Disk Cleanup-select System Disk-OK-select the garbage to be deleted-clear system files-select System Disk-OK-other options-clear (2nd )) 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 7 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: Windows system, including Windows 7. By default, the physical memory size is set to 1.5 times. As a paging swap file, if you are the system-managed size, the volume 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 caching brought about by the Superfetch function: Vista Superfetch technical features are used in Windows 7 systems. For details, see: Windows WIN7 SuperFetch/Prefetch technical details, this article teaches you how to set up Windows 7 to enable pre-reading and application pre-reading. Cleanup method: delete all files in the c: \ windows \ prefetch folder. 4. Temporary files generated by applications: these files are generally stored in the windows \ temp folder. To clear the files in the temp folder of the user folder, run c: \ windows \ temp and C: \ Users \ All files in your USERNAME \ AppData \ Local \ Temp folder can be deleted. 5. Temporary files generated by IE and other browsers: cleanup method: Delete the cookie and IE temporary files in the Control Panel Internet Options. In particular, it is best to delete the temporary files before backing up the system. 6. System Restoration. System Volume Information folder: System Volume Information folder. The Chinese name can be translated into "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. We recommend that you do not need to change the new backup of system files generated by the auto-upgrade patch. Keep it as best. You can also delete the logs. 8. Windows 7 system logs and Event Logs are generally stored in the LogFiles folder under the System32 folder in the Windows folder, you can directly Delete the 9 and NTFS partitions that are OK and compress them. Select ignore all. Even after all the software is installed, I used more than 7 GB. Drive c space is automatically cleared. Expanding drive c space @ echo offecho is helping you clear System junk files. Please wait ...... echo this tool was modified by aznmv3 del/f/s/q % systemdrive % \*. tmpdel/f/s/q % systemdrive % \*. _ mpdel/f/s/q % systemdrive % \*. giddel/f/s/q % systemdrive % \*. chkdel/f/s/q % systemdrive % \*. olddel/f/s/q % systemdrive % \ recycled \*. * del/f/s/q % windir % \*. bakdel/f/s/q % windir % \ prefetch \*. * rd/s/q % windir % \ temp & md % windir % \ tempdel/f/q % us Erprofile % \ 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 cleared system garbage! 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: 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.