Tips on how to clean up the Win7 system disk

Source: Internet
Author: User
Tags file size prefetch sleep sleep function

Typically, deleting a restore point reduces the space on the system disk. Restore point deletion: Actions are as follows: My Computer-> Properties-> advanced system Settings-> System Protection-> Configuration-> deletion ( can also: program-attachment-System Tools-Disk Cleanup-select system disk-OK-select the garbage to remove-Clean system files-select system disk-OK-Other options-clean (2nd))

1, dormant file Hiberfil.sys:

The file in the C-packing directory for hidden system files, the hidden Hiberfil.sys file size is exactly the same as their physical memory, when you put the computer into hibernation, Windows 7 before shutting down the system to write all the memory content to the Hiberfil.sys file. Then, when you turn the computer back on, the operating system uses Hiberfil.sys to put all the information back into memory, and the computer returns to its state before it shuts down. Windows 7 does not delete the file, but it is always on the hard disk, which takes up a fraction of the disk space. With the sleep function can be, the sleep function can choose not to, the team of people all shut down this hard drive large. Also occupy space, but also frequently read and write hard disk. The Assassin's t61 is so much more than 4 g of space.

How to safely delete hibernation files under Windows 7 one: Run Cmd.exe with an administrator to open a command line window, and then run: powercfg-h off, note that the C disk residue Hiberfil.sys hidden files can be removed directly after the hidden file.

2, virtual memory Pagefile.sys:

Windows system, including Windows 7, defaults to 1.5 times times the size of physical memory, as a paging Exchange file, and if you are the size of the system management, then this volume is automatically changing, often getting bigger. If you have less physical memory, only 512m or 1g, you can choose to keep the file.

If you keep this file, we recommend that you put him in another partition, not with C disk (System disk) together, otherwise, you will do ghost or other backup, or you need to manually delete it. It is recommended that you specify the size and specify 1.5 times times the ram physical memory size.

If your memory is above 2G, we recommend that you turn off the virtual memory function directly, and you will find that your entire Windows system is "flying".

How to set up virtual Memory: Control Panel-The classic view inside the click System, click on the left Advanced system settings, click on the first setting (performance), and then click Advanced, in virtual memory there, click Settings. Note that the C-disk residual pagefile.sys hidden files can be removed directly after being hidden.

3, the SuperFetch function brings the application cache:

In the Windows 7 system, using the technical features of Vista SuperFetch, please refer to the Windows WIN7 Superfetch/prefetch technical details to teach you how to set up WIN7 to start the read and application prefetching of the two articles.

Cleaning method: Directly Delete all the files in the C:windowsprefetch folder.

4, the application generated temporary files:

Typically saved in the Windowstemp folder, and in the Temp folder of the user's folder

Cleaning method: Directly to the c:windowstemp and c:users your username Appdatalocaltemp folder in all the files can be deleted.

5, IE and other browsers generated temporary files:

Cleaning method: Control Panel Internet Options, delete cookies and ie temporary files, especially if the backup system before the best delete clean.

6, System Restore, Systems Volume Information folder:

The System Volume Information folder, the Chinese name can be translated as "systems volume label information." This folder stores the backup information for System Restore.

System Restore is one of the most useful features of the Windows operating system, which takes snapshots to record the state information of a system at a given time, known as a "restore point," and then restore it based on that information when needed. There are two types of restore points: one that is created automatically by the system, including system checkpoints and installation restore points, and the other is the user's own creation, also called a manual restore point. As users increase their use of system time, the restore point will be more and more, resulting in less hard disk space, and finally be warned that "insufficient disk space." It is also the system disk most easily occupy a space of a file, a long time, this file size up to 4G, or even bigger!

7, the automatic upgrade of the patch package generated by the system files of a new backup

Suggest this is not moved, keep it the best. And if you want to delete it, it's okay.

8, Windows 7 system logs and event logs

Generally in the Windows folder under the System32 folder inside the LogFiles folder, directly delete also OK

9, NTFS partitions can be compressed, choose to ignore All.

All my software has been installed, I used 7G more

Second, c disk space automatic removal, expand C disk space

@echo off

Echo is helping you clear the system junk file, please wait a moment ...

echo This tool is corrected by aznmv3

del/f/s/q%systemdrive%*.tmp

del/f/s/q%SYSTEMDRIVE%*._MP

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 settingstemporary Internet files*.*"

del/f/s/q "%userprofile%local settingstemp*.*"

del/f/s/q "%userprofile%recent*.*"

echo Clears system garbage complete!

Echo. & Pause

You can save the above code as a clean.bat, run 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.