Little-known C-disk space cleanup tips

Source: Internet
Author: User
Tags prefetch sleep sleep function

Little -known C-disk space cleanup tips:

First, in-depth analysis

1. The application cache brought by the SuperFetch feature:

In the Windows Vista system, using the new features of SuperFetch, please refer to: Windows Vista superfetch/prefetch technical details, Vista Optimizer: teaches you how to set up Vista startup pre-read and application pre-read both articles.

Cleanup method: Directly delete the files in the C:/windows/prefetch folder.

2. hibernation file Hiberfil.sys:

The file in the C packing directory is a hidden system file, the hidden Hiberfil.sys file size is exactly the same as your own physical memory, when you put the computer into hibernation, Windows Vista writes all memory contents to the Hiberfil.sys file before shutting down the system. 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 reverts to the state before it was closed. Instead of deleting the file, Windows Vista keeps it on the hard disk and takes up a portion of the disk space. With the sleep function on it, the Hibernate function can choose not to download the latest XP system. After testing, it is possible to turn off the sleep function to empty the 4G space.

How to safely delete hibernation files under Vista One: Run cmd.exe as an administrator open a command-line window, and then run: powercfg-h off, note that the C-drive residue of hiberfil.sys hidden files can be removed after being deleted directly.

3. Virtual Memory Pagefile.sys:

Windows system, including Vista, defaults to 1.5 times times the size of physical memory, as paging swap files, if you are the size of the system management, then this volume is automatically changed and tends to grow larger. If your physical memory is relatively small, only 512m or 1g, you can choose to keep this file.

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

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

How to set up virtual Memory: Control Panel-click on the system in the Classic view, click the Advanced system settings on the left, click the first setting (performance), then click Advanced, in the virtual memory, click Settings. Note that the Pagefile.sys hidden files of the C-drive residue can be removed and deleted directly after hiding.

4. Temporary files generated by the application:

Typically saved in the Windows/temp folder, and in the Temp folder of the user folder.

Cleanup method: Directly to the c:/windows/temp and c:/users/your user name/appdata/local/temp folder files are deleted.

5, IE and other browser-generated temporary files:

Cleanup method: Control Panel Internet Options, delete cookies and IE temporary files can be, it is strongly recommended to use the Vista Optimization Master 2.0 in a key to clear the Internet Traces feature, especially the backup system is best removed before the clean.

6, System Restore, 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 of the System Restore.

System Restore is one of the most useful features of the Windows operating system, which uses "snapshots" to record the status of the system at a specific time, known as a "restore point," and then restore it as needed. There are two types of restore points: One is automatically created by the system, including system checkpoints and installation restore points, and the other is a manual restore point that users create themselves as needed. As users use system time increases, restore points become more and more, resulting in less disk space and, finally, a warning of "insufficient disk space". It is also one of the most space-consuming files in the system disk, with a long time, this file size can be up to 4G, even larger!

7. Windows Vista system logs and event logs

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

8, SP1 or automatic upgrade of the patch package generated by the system files new backup

Suggest that this will not move, keep it the best.

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

To provide you with a batch file to delete system garbage:

@echo off

Echo Vista123.com is helping you clear the System junk files, please wait a moment ...

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 vista123.com Report: Clear system garbage complete!

Echo. & Pause

You can save the above code as a cleantemp.bat and run it directly.

However, these are still far from enough, and not simple enough, to introduce a clean-up system of garbage-usable software: Vista optimizer master. The software from the 2.0BETA2 version, the provision of a key to clear the system garbage, a key to clear the Internet traces of the two shortcut buttons, to help you get it done!

  Three, C disk space slimming and weight loss

The above methods, the more and more small C disk space problem, then, there are a lot of useless files, we need to streamline them, for example, some help files, some will never use the system comes with ugly wallpaper, the system comes with video files and so on. Then, you can use Vista optimizer to bring your own Vista slimming master inside.

C Disk has enough space, can support the rapid operation of the system, on the contrary, the C disk space is full, whether it is the operation of the system, or the operation of the software will be affected to a certain extent, in order to avoid this situation, users can learn the above introduction of clean C-space skills, let C disk free more space.

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.