Why is the win7 system C drive getting bigger and bigger?

  
Why is the win7 system C drive getting bigger and bigger?

First, the depth of analysis and the perfect solution

1, the hibernation file hiberfil.sys:

the file in the root directory of C for the hidden system files, hidden The hiberfil.sys file size is exactly the same as its own physical memory. When you put the computer into hibernation, Windows 7 writes all the 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 is restored to its pre-closed state. Windows 7 does not delete this file, but keeps it on the hard disk, which will take up a portion of the disk space. With the sleep function, you can choose the sleep function, and the team will shut down the hard drive. It takes up space and has to read and write hard disks frequently. The assassin's t61 is just four more G space.

Windows 7 safely delete the hibernation file method: Run cmd.exe as the administrator to open the command line window, then run: powercfg -h off, note that the hidden hiberfil.sys file on the C drive can After unhiding, delete directly.

2, virtual memory pagefile.sys:

Windows system, including Windows 7, the default setting of 1.5 times the physical memory size, as a page swap file, if you are the size of the system management, then This volume is automatically changing 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 suggest that you put it in another partition, not with the C drive (system disk), otherwise, when you do Ghost or other backup, you still need Manually delete it. It is recommended that you specify the size and specify 1.5 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 virtual memory: Control Panel - Click on the system in the classic view, click on the advanced system settings on the left, click on the first setting (performance), then click on Advanced, in the virtual memory, click on Settings. Note that the hidden filefile.sys file on the C drive can be removed directly after unhiding.

3, the application cache brought by the Superfetch function:

In the Windows 7 system, the technical features of Vista Superfetch are used. For details, please refer to: Windows WIN7 SuperFetch/Prefetch technology. Teach you how to set up WIN7 startup read-ahead and application read-ahead two articles.

Cleanup method: Delete all the files in the c:windowsprefetch folder.

4, the temporary file generated by the application:

Generally saved in the windowstemp folder, and the temp folder of the user folder

Cleanup method: directly put c :windowstemp and C:Users delete all the files in your user name AppDataLocalTemp folder.

5, IE and other browser generated temporary files:

Cleanup method: control panel Internet options, delete cookies and IE temporary files, especially in the backup system is best to delete Clean.

6, System Restore, System Volume Information folder:

System Volume Information folder, Chinese name can be translated into "System Volume Information". This folder stores the backup information of the system restore.

 quo;System Restore" is one of the most useful features of the Windows operating system. It uses the "snapshot" method to record the status information of the system at a specific time, which is called "Restore". ”, then restore it based on this information when needed. There are two types of restore points: one is automatically created by the system, including system checkpoints and installation restore points; the other is created by the user himself or herself, also called manual restore point. As the user's use of the system time increases, the number of restore points will increase, resulting in less and less hard disk space, and finally be warned "Insufficient disk space”. It is also the most easily occupied file in the system disk. For a long time, this file size can reach 4G or even larger!

7. New system backup of the system file generated by the automatically upgraded patch package
>

It is recommended that you do not need to move, keep it best. If you want to delete it is also possible

8, Windows 7 system log and event log

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

9, NTFS partition can be compressed, choose to ignore all.

Even if all the software is installed, it will use 7G more

Second, C disk space garbage is automatically cleared, expand C disk space

@echo off

echo is helping you to clear the system junk files, please wait...

Echo this tool is modified 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 ! In addition to the completion of the system garbage

echo &. Pause

Copyright © Windows knowledge All Rights Reserved