Discussion on:

35
Comments

Join the conversation!

Follow via:
RSS
Email Alert
0 Votes
+ -
Must delete Hiberfil.sys so defragmenter will do a better job of speeding up the computer.
0 Votes
+ -
Hi
Does this apply to "Desktops" as well as "Laptops"? Thanks.
DD
0 Votes
+ -
Yes
Frenchwood 1st Sep 2005
If you use the bulit in hibernation feature of XP.

If you do not use hibernation, then this is not necessary, however it is always workthwhile checking this by following the steps in the article.
If you do not use hibernation, then you do not need the hiberfil.sys file at all. You can save space on your harddrive equal to the amount of memory you have on your system by just following the article to remove the file and then not re-enabling hibernation.
0 Votes
+ -
used the hybernation function in XP then the hiberfil.sys file should not exist.

That's not to say that it hasn't spawned itself (as M$ software loves to do so frequently!!!), but if the check box is cleared in the hibernation tab, the only way to to find out if the file exists is to search for it.
0 Votes
+ -
If like me you have plenty of memory (1.5 gb) & a lot of programs loading at boot time using Hyberfil certainly helps - Cuts down on boot time drastically. This is especially true for those who use both, the laptop & desktop pc having developed the habit of simply pulling down the display & closing the laptop.

I use free pagedefrag utility by Mark Russinovich (www.sysinternals.com) which defrags all the system files at boot time. This speeds up normal defragmenting of system drive also.
0 Votes
+ -
As far as making the registry as compact as possible, there is another FREE and "non-setup" program that do this job perfectly.


The program is called Ntregopt from "Larshederer" homepage: http://www.larshederer.homepage.t-online.de, http://www.larshederer.homepage.t-online.de/erunt/index.htm which optimizes the registry hives, i.e. it recreates each registry hive "from scratch", so therefore you need to run it just before rebooting. And while your are at the Larshederer's site, also check the Erunt program. It's a program used to backup the registry, while I especially like its sub-program Autoback contained in the same .zip archive as Ntregopt and Erunt; for a more detailed description of both programs see the page "events1.html", the 14.3.2005 entry. Erunt and Autoback are command-line programs and both are very handy to backup the registry on/after boots (I do it with a batch file so that there's no interaction at all), i.e. I've put the shortcut to that batch file into " %ALLUSERSPROFILE%\Start Menu\Programs\Startup\ " directory so that it backups registry nomather with which account one logs-on.


And I got used to use Ntregopt somehow in a cooperation with already mentioned Pagedfrg from Sysinternals site: http://www.sysinternals.com/Utilities/PageDefrag.html, however Pagedfrg doesn't optimize the structure of registry hives like Ntregopt does, it in fact defragments them (physical blocks on the hard-disk), while additionally it also defragments various system files, i.e. the pagefile and the services' logfiles (three files with .evt extension), and also it is run after booting just before the "pre-logon" screen after chkdsk finishes checking the disk (of course if it was set to do so)


Anyway, I run them in a manner, that if I re-structured my registry hives with Ntregopt before rebooting computer, then I set the Pagedfrg to defragmented them on the next boot when they are still being "fresh", i.e. it defragments them to a minimal number of fragments, i.e. in other words it makes them contiguous.


best regards,
Ivan Tadej, Slovenia
http://tadej-ivan.be
0 Votes
+ -
i can't eliminate what's not there--and there is no hibernate tab on power options. yet i have a hiberfil.sys file and it's over 2 gb in size.

someone, please help
0 Votes
+ -
cdplayer 1st Sep 2005
Ops!

Sorry about that rlogan505479@. Thank YOU for the great paper!
I had wondered why both of my WN-Xp Pers. Stations were having problems with defragmentation. One disk on a given station was pretty full, but would not defrag due to intermittent overfilling by several files within "Windows". I was unable to deduce which folder would cause the problem. I applied the fix, and noticed that the space increased immediately.
I have an Acer laptop and hiberfil.sys is taking up valuable space i need while i back up my system! problem is this: the method spoken here to reomove hiberfil.sys file does not work for me! reason: the standard windows xp power management program does not start! instead, an Acer program runs when i choose power management from the control panel! which has no option to turn on/off hybernation! where is the origional xp program for powermanagement located so i can click on that please? ANYONE!!!
I had the EXACT same problem as you. What I learnt from another forum is that you need to uninstall the acer power management program from add/remove programs, restart you laptop and then you can access xp power options.

I did it and it worked right away!
Hello:

I have followed the posted instructions to resolve the subject file; however, everytime I log on my computer, approximately 7 minutes later I get a pop-up that reads: "C:\HIBERFIL.SYS Windows cannot find this file. Make sure you have typed the name correctly, and then try again." Seems I got rid of the file but now I cannot find how to terminate the forever pop-up everytime I start my machine. I have tried enabling the hibernate function, restarting, then disabling, restarting, but seem to rid me of the pop-up. Anyone have a remedy? Would be greatly appreciative. Thanks.
0 Votes
+ -
Thanks!!
cdplayer 1st Sep 2005
Thank you Greg Shultz for the great commentary!
0 Votes
+ -
hhmai_mail@... 1st Sep 2005
Thanks.It's very helpfull!!!
0 Votes
+ -
Hello there, I've found many of your emails useful for my home computer, but the PC that has boot up latency (not malware or other startup applications) as well as RAM slowdowns is my work PC that has Windows 2k installed with Active Domain. Will this function also help with defragging on a 2k system?

Also, if you could feature more emails that assist in boosting PCs with this OS loaded that would be greatly appreciated as I know many businesses, (esp. larger ones in telecomm) are still on this platform.
0 Votes
+ -
Windows 2K
MHurtares 1st Sep 2005
I am also interested in knowing if this only works for XP or will it work with 2K?
If your 2K system has Hibernate enabled you will have this file as well with the same results. If you never enabled the Hibernate file then I recommend turning it on and applying the change then re-disable it to verify the Hibernate file is removed. As long as the Hibernate is not re-enabled then the file should not re-appear (note: your system will also not go into Hibernate Mode).
0 Votes
+ -
This could be caused by improper DNS entries. If it is not already so, place the ip address of your domain controller in the primary slot in tcp/ip settings. If you are using dhcp then set up your pool so that it doles out this address as the primary. Maybe this will help you out.

Dave
0 Votes
+ -
thanx for this wonderful piece of information. this is a boon for lotsa ppl like me.
Well, I was actually looking for something which could pop back apps open in the last session, and I never noticed that it was a built-in feature. So,thanks for pointing. happy Here I turn it on!
I have a batch file to automate chkdsk and defrag, I'll add a line to delete the hiberfile before it goes into defrag.
Great idea adding this to a batch file so I tried to delete the hiberfil.sys file at a command prompt but this is a hidden/system file and cannot be located. Any ideas on how to delete a hidden or system file from a command prompt?
>Great idea adding this to a batch file so I tried to delete the hiberfil.sys file at a command >prompt but this is a hidden/system file and cannot be located. Any ideas on how to delete a >hidden or >system file from a command prompt?

Maybe using the 'attrib' command will work. I've used it in other batch files, but not with XP yet, but it must work because the command is still there under XP.
(attrib -s -h )
The goal, as I understand it, is to speed up defrag. Once pagefile.sys and hiberfil.sys have been allocated into contiguous space, there is nothing for defrag to do with these files. They are already in one fragment, and will remain that way.

The exception is the paging file ... if you let Windows allocate the space, then the paging file does create file fragments. So the trick is to allocate the space yourself, making Min/Max sizes the same.

One allocation ... when the disk is defragged ... and then you never have to touch them again.
0 Votes
+ -
Speeding up defrag
edwhow 24th Sep 2007
Since unchecking 'hibernate' gives you more space = your RAM size, defrag will have more space to work, therefore faster, AND if you are short of hard disk space it will make a big difference.

Defragging in safe mode is the fastest, as you don't need antivirus and all else running.
0 Votes
+ -
Hi, its a very good idea to delete the file befor defragmenting, because once the fragments are put together, it will give windows a chance to recreate the hiberfil.sys file again.

this would also help in putting all the fragments together and then leave the sys file at a later part of the hard disk.
0 Votes
+ -
Thank you
Aaron A Baker 19th Oct 2005
This is an excellent tip
and may I say, a badly neded one.
Thank you for sharing.
Regards
Aaron
0 Votes
+ -
Deleting hiberfil.sys in Vista
jag812@... Updated - 17th Nov 2006
Apparently, Vista prefers "Sleep" to "Hibernation". I tried disabling "sleep" to "Never" in "Change Power Settings", but it didn't get rid of hiberfil.sys and I'm still unable to delete it manually. Has anyone figured how to do it? TIA!

Update:
Figured it out:

To disable Hibernation using Disk Cleanup:

1. Click Start, All Programs, Accessories, System Tools, and then click "Disk Cleanup".
2. If prompted to choose a drive, select the drive in which Windows Vista is installed on to and press OK.
3. Disk Cleanup will scan the hard drive and present you with a list of options.
4. Check "Hibernation File Cleaner", and then click OK.
5. When asked "Are you sure you want to permanently delete these files?" click on the Delete Files button.

To disable hibernation using the Command Prompt:

1. Click Start, All Programs, and then right click on "Command Prompt".
2. From the context menu click on "Run as administrator".
3. If User Account Control prompts you to allow the action, click on Continue.
4. In the command prompt window, type "powercfg ?H OFF" (without the quotes).
4. Close the Command Prompt window.
0 Votes
+ -
Is it possible to move?
DearOldDad Updated - 29th Dec 2006
Is it possible to just move it to another HD? If so how?
is it also for Desktop computer user
If you combine all the major tips-
1) delete hyperfil.sys by deactivating it.
2) turn pagefile.sys off by setting it to zero on boot drive
3) set chkdsk to run with all options set on the boot drive
4) reboot and then run in Safe mode. Pagefile.sys gets set on next reboot, so now its turned "off"
5) chkdsk runs and fixes potential problems
6) select safe mode again, set the system to defrag on next boot
7) reboot, system gets defragged. If you want it to continue defrag, set it to defrag on next boot
8) reboot in safe mode again, let it defrag again.
9) native defragger is a stripped down version of Diskkeeper but its not as advanced so it takes a little more work.
10) After you're happy with results turn pagefile back on. Pagefile set to run on a second physical drive is a better option for desktops and not a likely option for laptops.
GigaThanks! That's how much memory was used up.

Jwise1
I have an Acer laptop and I can't access windows power options without the Acer Empowering Framework battery widget coming up? How do I get pass this to delete Hiberfil.sys?
Keyboard Shortcuts:
Prev
Next
Toggle
Join the conversation
Formatting +
BB Codes - Note: HTML is not supported in forums
  • [b] Bold [/b]
  • [i] Italic [/i]
  • [u] Underline [/u]
  • [s] Strikethrough [/s]
  • [q] "Quote" [/q]
  • [ol][*] 1. Ordered List [/ol]
  • [ul][*] · Unordered List [/ul]
  • [pre] Preformat [/pre]
  • [quote] "Blockquote" [/quote]

Join the TechRepublic Community and join the conversation! Signing-up is free and quick, Do it now, we want to hear your opinion.