Disable hibernation on Windows
Published:
To completely disable hibernation on Windows, open up an elevated command prompt and run the following command:
powercfg –h off
This will both disable hibernation completely and remove the enormous hiberfil.sys
from your system.
To enable it again, simply run it again with ON
instead of OFF
.
powercfg –h on
Why disable it? If you never use it, the hiberfil.sys
takes up a lot of necessary space. And if you happen to be on a slightly old unstable laptop where the hibernation often fails for weird reasons, it might be nice disable it so there's not even possible to enter it by accident 🙂