Monday, April 18, 2011

How to Turn Off and Disable Hibernation in Windows Vista

How to Turn Off and Disable Hibernation in Windows Vista



Hibernation is enabled by default in Windows Vista, and is one of the seven options (i.e. Hibernate) that appears on the Vista shutdown menu. Hibernate your Vista system will enable you to quickly restore to existing system state and intact workspace instead of start afresh, run programs and open your documents one by one again. If you do not use the hibernate feature in Vista, and want to delete hiberfil.sys and then recover the space occupied by the big hibernation storage file, the hibernation function can be turned off and disabled.


Unlike Windows XP, users cannot turn the hibernation on or off via Vista GUI interface anymore. Previously users can enable or disable hibernation via Power Options applet in Control Panel. This option no longer available in Windows Vista, which also enables Hibernate ability and creates hiberfil.sys by default. Instead, users have to rely on command line utility Powercf and Disk Cleanup Wizard to disable hibernation in Vista. Microsoft KB920730 provides details on how to disable and turn off hibernation on computer running Vista system. You must log on to Vista with user account in Administrators group to perform these action.


   1. Click Start, and then type cmd in the Start Search box.

   2. In the search results list, right-click Command Prompt or Cmd, and then click Run as Administrator on the pop up contextual menu.

   3. If you are prompted by User Account Control for permission, click Continue.

   4. At the command prompt, type the following command, and then press ENTER:


      powercfg.exe -h off

   5. Type exit, and then press ENTER.


Another easier workaround for those who're not comfortable to work with command line is to disable hibernation and hybrid sleep feature in Windows Vista is by using Disk Cleanup wizard tool, the built-in Windows disk cleaner to delete hiberfil.sys file. The hibernation file must be enabled to access the hybrid sleep feature and the hibernation feature in Windows Vista.


   1. Click Start button, then go to All Programs -> Accessories -> System Tools, and run Disk Cleanup.

   2. Choose which files to clean up, either My files only or Files from all users on this computer is fine.



3. On "Drive Selection", select the Windows Vista boot drive to clean up. Note that you must select the drive where Vista is installed, which normally is also the boot drive (C:) as hiberfil.sys file will be located on the root folder of it.


4. Once Disk Cleanup finishes scanning the system, Disk Cleanup for Vista window will open.

5. Select and tick the check box next to the Hibernation File Cleaner.




You can select or deselect other type files to clean or preserve from the available items or options in the list provided.

6. Click OK button when done.

7. Hibernation will now be removed and disabled.

Do You Know MBR? (Master Boot Record)

The Master Boot Record (MBR) is stored at the beginning of your hard drive (in the first 512 bytes.) The MBR contains information about the beginning and ending of each partition, which partition contains the operating system for booting, and other valuable information about the disk layout. Your computer will not boot up if your MBR is corrupt or missing.