6

Possible Duplicate:
Can I change the path and directory of the “hiberfil.sys” on Windows 8 due to reduce my C:\ disk usage?

I am running short of disk space on my C:\ drive. I have moved the Windows 8 pagefile.sys, but I cannot move hiberfil.sys.

Is there a way of shrinking hiberfil.sys?

Guy Thomas
  • 3,348

2 Answers2

7

You can change it. Start Command Prompt as Administrator and run the following command:

powercfg -hibernate -size PercentSize

PercentSize specifies the desired hiberfile size in percentage of the total memory. Its size cannot be smaller than 50.

The size of hiberfil.sys is 6 GB on my system with 8 GB of RAM. This is the default size chosen by Windows, I haven't changed it.

1

The hibernation file has always the size of your RAM, because the whole RAM is stored there upon hibernation. The only think you can do is to disable hibernation if you do not use it and the file will be automaticaly deleted.