Win7 system disk is getting smaller and smaller, system disk cleaning skills

  
        In general, delete the restore function, delete the restore point can reduce the space of the system disk. Deletion of restore points: The operation is as follows: My Computer -> Properties -> Advanced System Settings -> System Protection -> Configuration -> Delete (also: Programs - Accessories - System Tools - Disk Cleanup - Selected System Disk - OK - Select the garbage to be deleted - Clean the system file - Select the system disk - OK - Other options - Clean (2nd)) 1. Hibernate file hiberfil.sys: The file is hidden in the root directory of the C drive. The hidden 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 be unhidden and deleted directly. . 2, virtual memory pagefile.sys: Windows system, including Windows 7, the default setting of physical memory 1.5 times the size, as a page swap file, if you are the size of the system management, then this volume is automatically changed, often more and more Big. 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 it in another partition, not with the C drive (system disk), otherwise, you will need to manually delete it when you do Ghost or other backups. 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". To set the 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 detailed explanation, teach you how to set WIN7 boot read-ahead and application pre- Read these two articles. Cleanup method: Delete all the files in the c:\\windows\\prefetch folder directly. 4. Temporary files generated by the application: Generally saved in the windows\\temp folder, and in the temp folder of the user folder. Cleanup method: directly put c:\\windows\\temp and C:\\Users\\your username\\ All files in the AppData\\Local\\Temp folder can be deleted. 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 remove the 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. "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 point", and then in need Restore it based on this information. 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 can reach 4G or even larger! 7, the automatic upgrade of the patch package generated by the system file new backup It is recommended that this does 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, select all can be ignored . Even after all the software is installed, only 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 by Aznmv3 fix 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%\ ecycled\\*.* 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%\ ecent\\*.* del /f /s /q "%userprofile%\\Local Settings\\Temporary Internet Files\\*.*" del /f /s /q "%userprofile %\\Local Settings\\Temp\\*.*" del /f /s /q "%userprofile%\ ecent\\*.*" echo Clear system garbage completion! Echo. & pause You can save the above code as a clean.bat and run it directly.
Copyright © Windows knowledge All Rights Reserved