Google
 

Monday, April 30, 2007

Stop hibernation and remove hiberfil.sys from your Vista root directory

When you use hibernate in Vista it creates a file called hiberfil.sys. This file can grow rather large, you may have noticed that hibernation is also enabled by default when you install Windows Vista. If you don't use hibernate, the hibernate file hiberfil.sys is sometimes large enough to impact the amount of drive space you have available, and you're not able to delete it because it's in use, quite the same like in Windows XP. Because Windows keeps this file similar to the system state you can imaging that when you don't use hibernation in Vista it's a waste of system performance and a waste of system resources.



How to disable hibernation in Windows Vista:

1) To be able to get rid of this file you have to shutdown and disable hibernation in Windows Vista. You can do this by opening a command prompt as administrator.
2) press windows key then type in cmd, In the command prompt type "powercfg -h off", it should give you no message back, there is "no errors", it does not echo the results back to us, but the job is done.

After this Windows Vista will automatically shutdown hibernation and removes the hiberfil.sys from your Vista system root directory saving allot of space, sometimes up to 2 gigs!

No comments: