As from our last post, why your hard drive is always shrinking even though you did not do anything, we talked about using the freeware TreeSize to view where you have the largest chunk of data on your hard drive. If you look deep enough you will found out that there are two files called pagefile.sys and hiberfil.sys that occupy over few GB of hard drive space. If you are the kind person that does not use Hibernate then this article is for you.
When you turn off your computer using hibernate, the operating system needs to store all your current running program states onto hard disk so that programs can resume where they left off when you power up your PC again. To achieve this, the OS need to save all the information into a file called hiberfil.sys. Windows OS (7, vista, XP) usually stores this as a hidden file under your C directory or your main OS partition.
So if you never use hibernate, than its time for you to get your hard drive space back.
[Note: Hibernate mode is not sleep mode. When hibernating your computer completely shuts down, however, under sleep mode your PC is not completely shut down; it still consumes a small amount of power.]
The best way to delete hiberfil.sys or disable hibernate:
- Go to Start menu, type “cmd” open up command prompt
- Type “powercfg.exe -h off” [make sure you are an Administrator]
- Type “exit”
RESTART YOUR PC and you are all set
After restart you should be able to see more free space on your hard drive.
Co-founder of Next of Windows and a cool geek 🙂
Latest posts by Jonathan Hu (see all)
- Three Alternative Windows Environment PATH Editor - February 18, 2017
- Three Way to Attach or Send Files In Outlook Email - February 14, 2017
- Download Smashing Magazine Desktop Wallpaper Calendar February 2017 Windows 7/8/10 Theme - February 1, 2017
Last updated: 11/21/2014