Windows: Save System HDD Diskspace and drop hiberfil.sys and pagefile.sys

  • Post published:July 30, 2013

Deactivate Hibernate/Suspend Mode to save your RAM-Size amount of HDD-Space:

  • Open “cmd” as Admin/Root (Right-Klicking cmd.exe)
  • powercfg -h off (Disables use of Hibernate-File “hiberfil.sys” for current session; remember suspend/hibernate will not work for current windows session)

Set Pagefile Size to max of 512MB (Only if you have enough RAM (>4GB Win7 x32/x64)):

  • Open SystemControl -> System -> Advanced -> Pagefile 512MB MIN/MAX

This works with Windows 8, 7, Vista, XP (x32/x64)

To keep your diskspace high create a batch-File. Run it as root and copy it/or symlink over to your “Autostart” in the “Startmenu”