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 percent 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.
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."
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 percent of your physical memory, type "C:>PowerCfg.exe /HIBERNATE /SIZE 50."
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 & Warnings
- Hiberfil.sys can be configured to 50 to 100 percent 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.
- Photo Credit Photos.com/PhotoObjects.net/Getty Images