hiberfil.sys delete code example
Example 1: disable hiberfil.sys
//To remove hiberfil.sys (turn off Windows Hibernation)
//run the following command as administrator:
powercfg.exe -h off
Example 2: hiberfil.sys large
powercfg -h off
Example 3: hiberfil.sys large
powercfg -h on