Windows 7 – Removing hyberfil.sys [Disable hibernation mode]

If you have a desktop machine and do not use hibernate mode, you can remove the file hyberfil.sys. To disable hibernation, open command prompt and execute the following command:

 powercfg.exe -h off

Afterwards, you can delete the file.