

© J.C. Kessels 2009
|
 |
 |
How do I defragment "C:\hiberfil.sys"?
This huge file is used by the hibernation facility and cannot be defragmented on
a running system. You can only delete the file, like this:
- Windows Vista:
- Click Start -> All Programs -> Accessories, right click on "Command Prompt",
and then click "Run as Administrator". If User Account Control (UAC) asks you
for permission, permit the Command Prompt to run.
- Enter "powercfg -h off" (without the quotes).
- Reboot. The "hiberfil.sys" file will be automatically deleted.
- Repeat point 1 to open a command prompt.
- Enter "powercfg -h on" (without the quotes).
- Reboot.
- Windows XP:
- Open the Control Panel
- Double-click Power Options
- Click the Hibernate tab, de-select the "Enable hibernate support" check box,
and then click Apply.
- Reboot. The "hiberfil.sys" file will be automatically deleted.
- Go to the Windows Help & Support Center and search for "enable hibernation".
It should be the first result. The instructions detail some other steps you
may need to follow to reactivate the hibernation.
- Do not hibernate your computer, boot with something else (such as BartPE),
and then change the hibernated disk in any way. This will corrupt the disk, a known
hibernation problem. MyDefrag contains a test and will refuse to process hibernated
disks.
See also: Frequently Asked Questions
|
 |