Tuesday, December 2, 2008

Useless hiberfil.sys file on Windows 2008

Hibernation is disabled by default when you first install Windows 2008. However, a hidden file called hiberfil.sys is created as big as the amount of physical memory on the system partition of the disk (not more than 4 GB). As using hibernation is not reasonable on production servers, you can delete this file and gain space by simply running "powercfg.exe /h off" command without quotations.
There is also a support article http://support.microsoft.com/kb/920730/en-us


Anonymous said...

THANKS! This worked just as the article states.

Anonymous said...

If you run the command and the hiberfil.sys file still didnt go away, try resetting. run powercfg -h on then powercfg -h off. Worked for me.