Posts Tagged ‘powercfg’

Scumbag Windows 7 where is my disk space?

Monday, September 12th, 2011

I dual boot my laptop between Ubuntu and Win7. The Win7 partition began at 25GB whereas Ubuntu is 15GB. Win7 used up all its space so I increased the partition size. Then again and again. Now it has 40GB and just filled it up again.

I tried using disk cleanup and deleting all temporary files. That freed up about 15MB. Then I found an article explaining that hibernate in Win7 stores off a file called hiberfil.sys that can grow and grow in size. Here is how to get rid of it:

  1. run command prompt as Administrator (right-click on its icon)
  2. type in powercfg.exe -h off
  3. reboot
  4. boom! Have 7 GB back

My next laptop will be a Mac.