Current location - Health Preservation Learning Network - Slimming men and women - How to slim down the c disk of Win7 system
How to slim down the c disk of Win7 system
Method 1: Turn off the system sleep function.

1, the system hibernation function will generate a hidden system file: Hiberfil.sys in the root directory of drive C, which is exactly the same size as your own physical memory. When you put your computer into hibernation, Windows will write all the memory contents to hiberfil.sys file before shutting down the system. Then, when you turn on the computer again, the operating system uses Hiberfil.sys to put all the information back into the memory, and the computer returns to the state before it was turned off. But Windows will not delete this file, but save it on the hard disk, which will take up some disk space in vain. With the sleep function, you can choose not to use it. This takes up a lot of hard disk space. Turning off sleep can free up quite a lot of space, as much memory as you can. For example, if your memory is 4G, you can free up 4G space.

2, Win7, Win8 safe way to delete the dormant file:

Run cmd.exe as an administrator, open a command line window, and then run: powercfg -h off.

Note that the hidden file of hiberfil.sys left on disk C can be deleted directly after being unhidden.

Method 2: Set up virtual memory.

1, Windows systems, including Win7 and Win8, the default setting of virtual memory is 1.5 times the size of physical memory, which is used as a paging exchange file. If the system manages the size, then the volume changes automatically and often gets bigger and bigger. If the physical memory is less, only 5 12m or 1g, you can choose to keep this file.

If you keep this file, it is recommended to put it in another partition instead of the C disk (system disk), otherwise you still need to delete it manually when making Ghost or other backups. It is suggested that the size must be specified, that is, 1.5 times the physical memory size of Ram.

2. Open the control panel and click "System".

3. Click Advanced System Settings on the left.

4. In the system properties dialog box that opens, click the first setting button (Performance).

5. Open the Advanced tab in the Performance Options dialog box, and then click Change in Virtual Memory. ...

6. Well, it's time to set up virtual memory. First, close the virtual memory of drive C, select the unpaged file, and click Set.

7. Set the virtual memory on disk D or other partitions with large space, here is disk D, with a size of 2048MB, that is, 2G, which can be set as needed.

Method 3: Delete the temporary files generated by the application.

Some temporary files generated by application installation and operation can be completely deleted. If it takes a long time, there is really a lot of garbage. These files are usually stored in the windows\temp folder and the temp folder of the user folder.

Cleaning method: directly delete all files in folders c:\windows\temp, C:\ProgramData\TEMP and C: \ Users \ Your User Name \ AppData \ Local \ temp.