Tales from the Datacenter
RSS

Disable Hibernation

March 9th, 2009 Posted in Server 2008

If you’re in need of disabling hibernation on your 2008 servers (or your Vista desktop, as the case may be), open a command line and type this:

powercfg.exe /hibernate off

To turn it back on, replace “off” with “on”.

This will do away with that annoying file (hiberfil.sys) at the root of C:\ (or whatever your system volume’s drive letter may be) that is the size of your physical RAM – thus freeing up much space.

Keep in mind, however, that hybernation cannot be turned on if you have Hyper-V installed.  I’m curious, though, why would you hybernate a server?  And before those of you that use 2008 as a workstation complain, why would hybernation be enabled by default?

Post a Comment