lunedì 4 novembre 2013

Disable hibernation on Windows 7, 8, 8.1

By default hibernation is enabled, and uses the file named hiberfil.sys located on the root folder of the system disk. This file is as big as the total amount of RAM installed inside your computer.
To disable hibernation, the quickest way is running a Command Prompt session with Run as administrator

At the prompt type

powercfg.exe /hibernate off

To verify that hibernation is really gone issue the following command

dir /as %SystemDrive%\hiberfil.sys

if you get "File not found" then hibernation is disabled.

To revert the above command

powercfg.exe /hibernate on