How to Reduce the Size of Hiberfil.sys

Written by ken white
  • Share
  • Tweet
  • Share
  • Pin
  • Email
How to Reduce the Size of Hiberfil.sys
You can reduce or enlarge Hiberfil.sys from the command line in Windows 7. ( Images)

When you put your Windows 7 computer into hibernation, the system saves all open documents and programs to your hard drive, then shuts off the computer. When you restart, the programs and documents will be reloaded and available to use. These open files and programs are saved to a data file called Hiberfil.sys. The default size of the file is 75 per cent of your physical memory. You can adjust the size of Hiberfil.sys with the Powercfg utility, which must be run as an administrator from the command line.

Skill level:

Other People Are Reading


  1. 1

    Click "Start," then type "command" in the search box at the bottom of the Start menu. Right-click "Command Prompt" from the list and click "Run as Administrator." If your Windows account is an administrator account, press and hold the Windows key, then press "R" and type "cmd" in the "Open" text box. Click "OK."

  2. 2

    Type "C:\>PowerCfg.exe /HIBERNATE /SIZE xxx" at the prompt in the command window. For example, if you want to make your Hiberfil.sys file 50 per cent of your physical memory, type "C:\>PowerCfg.exe /HIBERNATE /SIZE 50."

  3. 3

    Type "C:\>PowerCfg.exe /HIBERNATE off" to disable hibernation mode on your computer. You can re-enable hibernation if you type "C:\>PowerCfg.exe /HIBERNATE /SIZE xxx" again and enter a size in the text string.

Tips and warnings

  • Hiberfil.sys can be configured to 50 to 100 per cent of your physical memory. For example, if you have 4GB of memory, Hiberfil.sys can be as small as 2GB or as large as 4GB.
  • If you do not wish to use the hibernate function, you can delete the file after you have turned off hibernate. The file is stored in the root directory of your system file.
  • If your Hiberfil.sys file is too small and you attempt to put your computer in hibernate, you will get a Windows Step Error, also known as a "Blue Screen of Death." Restart your machine and increase the size of Hiberfil.sys before you put your computer in hibernation again.

Don't Miss

  • All types
  • Articles
  • Slideshows
  • Videos
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the site, you consent to the use of cookies. For more information, please see our Cookie policy.