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

8

2

Possible Duplicate:
How to change location of hibernation file in Windows 7?

I have a SSD with 32GB and a HDD with 500GB on my notebook and after 3 months using Windows 8 it startd to warning me about C:\ disk usage (where Windows 8 is installed on). By looking on the TreeSize software, I noticed that C:\hiberfil.sys is using 7GB (Oo) of my SSD. I'm wondering on changing this file to D:\ (the 500GB HDD) due to reduce the Windows partition disk usage, is this possible? There are any another ways to deal with the hiberfile usage problem on Windows 8?

Diogo

Posted 2012-11-19T12:02:11.670

Reputation: 28 202

Question was closed 2012-11-22T04:21:04.977

"There are any another ways to deal with the hiberfile usage problem on Windows 8?" -- yes, you can turn it off. Open an elevated command prompt (Start button > type: command > right click on it and select Run as Administrator > in the command prompt type: "powercfg hibernate off" (no quotes) That's the end of your hibernate file space issues – seizethecarp – 2017-11-13T20:33:37.077

Answers

19

The following answer from Microsoft to this very question should answer this question:

You cannot. Because the Hibernate File must be readable by the bootloader, it must be stored on a specific sector of the hard drive, on the primary system partition. It cannot be moved.

Ramhound

Posted 2012-11-19T12:02:11.670

Reputation: 28 517

15

Complementing Ramhound answer:

There are any another ways to deal with the hiberfile usage problem on Windows 8?

I could not move it as Ramhound referenced, but I could reduce the hiberfile.sys disk usage by entering the folowind command on a elevated prompt (Win + x + a ):

Powercfg.exe /hibernate /size 50

This command reduced the hiberfil.sys from 7GB to 4GB, releasing 3GB of free space (space enough to stop Windows 8 from frenetically warning about low space available on C:).

Diogo

Posted 2012-11-19T12:02:11.670

Reputation: 28 202