Quick Search
Most Popular Articles
- Why Can't I Copy a Large File Despite Having Larger Free Space?
- What are HIBERFIL. SYS and PAGEFILE. SYS?
- Why Do I See 'This Web Site Does Not Supply Ownership Information' in My Browser?
- What are Emoticons?
- How do You Register/Obtain DLL or OCX Files?
- How Do I Remove Add/Remove Programs Entries?
- Article Index
- Why am I Having a MSN MAILHOST/ DOWNLOADHOST Problem?
- What Do Those 404 and Other HTTP Return Codes Mean?
- What is goog-malware-shavar?
What are HIBERFIL. SYS and PAGEFILE. SYS?
- 2009-05-26
- Categorized in: What...
HIBERFIL.SYS AND PAGEFILE.SYS are system-generated files. They are used by Windows for hibernation and virtual memory control.
HIBERFIL.SYS
HIBERFIL.SYS is a file the system creates when the computer goes into hibernation mode. Windows uses the file when it is turned back on. If you don't need hibernation mode and want to delete the file you need to turn the hibernation option off before Windows will allow you to delete the file. The procedure for turning hibernation off differs markedly between Windows XP and Vista. The file size depends largely on the size of active RAM in the computer as the contents of the file are basically a RAM image.
-
Windows XP
- Procedure for Windows XP. This procedure makes use of the graphical user interface.
- Start | Control Panel | Power Options
- Go to the Hibernate Tab.
- Uncheck the Enable Hibernation box if you don't need the hibernation function.
- The file should now be able to be deleted.
- How to Troubleshoot Hibernation and Standby Problems in Windows XP. See this Microsoft Knowledgebase article.
-
Windows Vista
- Procedure for Windows Vista and Windows 7. This procedure requires that you be an administrator and uses the command line.
- Start | All Programs | Accessories
- Right click on the Command Prompt entry and choose Run as Administrator from the context menu that pops up (OK any UAC queries about doing this).
- A Command Prompt window should open.
- At the command prompt (where the flashing cursor is) type powercfg.exe /hibernate off and press the Enter key.
- The box should flash and you'll be back at the Command Prompt; type exit and press the Enter key to exit the Command Prompt mode.
- Hibernation should now be turned off and the file HIBERFILE.SYS deleted. If you want to turn it back on repeat the procedure and use /hibernate on instead.
- More Information: Microsoft Support document
. A method of doing this using the graphical user interface is available using the Disk Cleanup Wizard. See the writeup here
for that if you absolutely refuse to use the command prompt.
- How to Troubleshoot Hibernation and Standby Problems in Windows Vista. See this Microsoft Knowledgebase article.
PAGEFILE.SYS
PAGEFILE.SYS is the virtual memory file Windows uses. Typically, on install, Windows sets the size of the file at around 1.5 times your physical memory size however this size will vary depending on the amount of free space on the disk when the file is established and other factors. Most will find the default size works fine but it can be changed. Windows uses this file for its normal operation however if you really need the space you can delete it after turning the virtual memory option off but be aware that this can cause extreme instability in Windows to the point where it might stop so do this at your own risk...
-
Windows XP
- Procedure for Windows XP.
- Start | Right Click on My Computer | Select Properties from the menu
- Select the Advanced Tab
- Select Performance Settings
- Select the Advanced Tab
- Under virtual memory use the Change button to either set the size you want or turn it completely off. Note that if you turn it off or make the value too small you may notice a system slowdown or Windows may stop. Windows wants to use this file and if it's set to zero then in addition to a slowdown while running, on system shutdown you may think Windows has hung due to the extra time involved. You may have to experiment a bit if you set it lower than some minimum. The best advice would be to leave the file alone. The Elder Geek
has a tutorial on the paging file that describes how to change its size in more detail.
-
Windows Vista
- Procedure for Windows Vista. You must be an administrator to make these changes.
- Start | Right Click on Computer | Select Properties from the menu
- Select Advanced System Settings from the left menu.
- Under Performance click on Settings
- On the Advanced tab you'll find the Virtual Memory area. Select the Change button to either set the size you want or turn it completely off. Note that if you turn it off or make the value too small you may notice a system slowdown or Windows may stop. Windows wants to use this file and if it's set to zero then in addition to a slowdown while running, on system shutdown you may think Windows has hung due to the extra time involved. You may have to experiment a bit if you set it lower than some minimum. The best advice would be to leave the file alone. See the Elder Geek link above for a general discussion of virtual memory and its interaction with Windows.


The above was done on a Lenovo X61s laptop. Once completed, I tried enabling the hibernation feature when logged as admin.
Once clicking "apply" the tick is dlt of the checkbox.
Can this be a virus infection on the *.sys file?
Might be that a virus linked up with the HIBERFIL.SYS or the PAGEFILE.SYS
Hows about an answer for this.
McAfee was run on machine, nothing was detected
There is enough storage space on the machine due to it having 160 GB Hrd drve.
Can i then delete the hiberfile?
When running on SAFE mode, windows doesnt enable hibernation feature. I thought it was the power manager driver that was at fault, highly unlikely.
In a task, logged with any profile: ticking the "enable hibernation" and then "apply", this automatically unticks the box again.
This is a tricky one, as its the first of its kind for me.
Mase
And quite stupid that Vista still wants a HUGE pagefile on 4Gb memory.
Thus, seems the only solution is to boot computer from other OS (or from recovery CD) and delete that file manually. :-(
http://ccollomb.free.fr/unlocker/
I can agree with it if RAM size is less than 1-2Gb but I have 4Gb RAM - I belive that must be enough for stable OS work without the huge pagefile!
Perhaps also can agree if there are "heavy" applications running. But it is not the case - there were only Windows Explorer + Outlook + Borland Delphi 7 - nothing also! That has very low memory consumption.
I have tested pagefile size = 200Mb, 512Mb, 1024Mb, 1536Mb - all variants works unstable, computer constantly hanging! :-\
Crazy stuff! I have 4Gb of RAM and that stupid OS cannot work with pagefiles smaller than 3.2Gb! What the ....? Does everybody knows the reason?
Note: question is not to the 3.2Gb size, but - why it wants SUCH BIG pagefile?
Why your particular system with those things running slows so much I would consider a mystery as I'm not familiar with the needs of the programs. Perhaps the compiler uses quite a bit and Outlook has never been known to be nice. :-)
One way to speed up operation with a page file is to put the page file on a different drive than the boot drive so the operating system and page file operation are not competing for the same drive controller and the drive itself therefore does not work as hard. (The Elder Geek article referenced above has details on that.)
Thanks a lot
If you have lots of files you don't use very often consider zipping them together into a ZIP archive that Windows will handle like a folder. That way they are all in a single file with much less wasted space and when needed individual files can be pulled out of the archive, modified, and inserted back into it by dragging and dropping in Windows or by using a ZIP archive program of some sort.
[Added: For file size finding software see: http://lifehacker.com/5146605/free-disk-analyzer-finds-the-largest-space+wasting-files]