Configure hibernation and hiberfil.sys filesize
To configure the size of the hibernation file, use the PowerCfg command-line utility that is included with Windows 7 and Windows Server 2008 R2. You must run PowerCfg from an elevated command prompt and include the /HIBERNATE and /SIZE parameters, as follows: