Remove Hibernation File Cleaner from Vista Disk Cleanup options

Hibernate feature gets disabled if you select the Hibernation File Cleaner in Windows Vista Disk Cleanup tool. (REF KB928897.) To prevent accidental deletion of the hibernation file from any admin level user account in your system, you may remove the entry Hibernation File Cleaner from the Disk Cleanup options.

Use these steps:

1. Click Start, type Regedit.exe and press ENTER

2. Navigate to the following location:

HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ explorer \ VolumeCaches \ Hibernation File

3. From the File menu, choose Export and backup the branch to a REG file.

4. Right-click the branch Hibernation File and click Delete

5. Exit the Registry Editor.

Registry Fix

Download Unzip and extract the files to a folder, and run the file hibercln_remove.reg. To add the option back, run the file hibercln_add.reg.

Restore Hibernation

If you inadvertently removed the Hibernation feature earlier using Disk Cleanup, run the following command from an elevated Command Prompt window to restore the Hibernation feature back:

powercfg /hibernate on

About the author

Ramesh Srinivasan founded back in 2005. He is passionate about Microsoft technologies and has a vast experience in the ITeS industry — delivering support for Microsoft's consumer products. He has been a Microsoft MVP [2003 to 2012] who contributes to various Windows support forums.