How can I safely free up the remaining disk space on drive C?

Source: Internet
Author: User

Note: The methods and steps involved in this article are only for use on the working machine. Please do not use them on the server; otherwise, the consequences will be borne by you. of course, in addition to making mistakes on the work machine, you are still at your own risk. haha.

 

I only have 44 GB of disk space on drive C. I usually only have one or two GB of space left. I open a few more webpages, decompress something, or watch a dump. I don't have enough space on drive C.

I am very poor at the basic maintenance level of windows, and a graduate student helped me.

 

In addition to using Windows's built-in Disk Cleanup tool (clear ie cache), the content in the following folders can be safely deleted.

C: \ windows \ Installer \ $ patchcache $ \ managed

C: \ windows \ Temp

C: \ Users \ <username> \ appdata \ Local \ Temp

 

If you remove the Windows Explorer option for hiding system files, you can see the following two large files: hiberfil. sys and pagefile. sys.

One of them is a dormant cache file, and the other is a virtual memory file.

 

For more information about sleep, see the following text.

Windows has two power management modes that you can choose from:
One isSleep mode, Which keeps the PC running in a low power state so you can almost instantly get back to what you were working on.
The other isHibernate Mode, Which completely writes the memory out to the hard drive, and then powers the PC down entirely, so you can even take the battery out, put it back in, start back up, and be right back where you were.

Hibernate mode uses the hiberfil. SYS file to store the current state (Memory) Of the PC, and since it's managed by windows, You can't delete the file.

You can use the following command line to disable hibernate. After the command is executed, the hibernate option in the Start menu will disappear, and hiberfil. sys will also disappear.

Powercfg-H off

 

For more information about the virtual memory file, see modify its location.

 

The modification of this option takes effect after restart.

 

After these modifications, I suddenly had 15 GB of disk C space! Haha.

The disk is very cheap now. If there is no special demand, it is best to leave enough space for disk C at a time to avoid future troubles. it is inconvenient to move the used machine data.

 

References

======================================

The patch cache and freeing Space

Http://blogs.msdn.com/ B /heaths/archive/2007/01/17/the-patch-cache-and-freeing-space.aspx

How to turn off and disable hibernation in Windows Vista

Http://www.mydigitallife.info/how-to-turn-off-and-disable-hibernation-in-windows-vista/

What is hiberfil. sys and how do I delete it?

Http://www.howtogeek.com/howto/15140/what-is-hiberfil.sys-and-how-do-i-delete-it/

Optimizing your paging file (pagefile. sys)

Http://support.microsoft.com/kb/99768

Is it safe to remove all files from the Windows temp?

Http://www.tomshardware.com/forum/230573-45-safe-remove-files-windows-temp

Windows 7-What is c: \ Users \ PC \ appdata \ Local \ Temp?

Http://www.sevenforums.com/general-discussion/205609-what-c-users-pc-appdata-local-temp.html

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.