Share via

I want to delete the hiberfil.sys to save some disk space.

Anonymous
2009-08-24T11:29:25+00:00

original title: Delete hiberfil.sys

I want to delete the hiberfil.sys to save some disk space. The reason I am trying to do this is becuase, the hybrnation feature is already deselected in GUI. But this file is taking up alost 2 GB space. I tried running the command in CMD and ran As Administrator,  powercfg -h off. But I get a message that I do not have permission to enable or disable Hiberntion. So please suggest if I can delete this in my Windows 7 and in future if I want will I be able to use hibernation?

Windows for home | Previous Windows versions | Windows update

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2009-12-22T15:04:48+00:00

One critical detail is missing: Right-click Command Prompt and select "Run as administrator." Then the command will work.

So, the complete instructions are as follows:

Click Start -> All Programs -> Accessories

Right-click Command Prompt

Select Run as administrator

Grant permisssion to change system settings

In this privileged command prompt window, enter: powercfg -h off

Poof! hiberfil.sys is gone -- instantly!

Was this answer helpful?

90+ people found this answer helpful.
0 comments No comments

Answer accepted by question author

Anonymous
2009-08-24T18:13:02+00:00

Boot in Safe Mode and delete the file. Ensure that the hibernation is not enabled.

If you still cannot delete it, use some other bootable disk and then delete it.

Was this answer helpful?

2 people found this answer helpful.
0 comments No comments

29 additional answers

Sort by: Most helpful
  1. Anonymous
    2010-11-05T03:19:04+00:00

    One critical detail is missing: Right-click Command Prompt and select "Run as administrator." Then the command will work.

    So, the complete instructions are as follows:

    Click Start -> All Programs -> Accessories

    Right-click Command Prompt

    Select Run as administrator

    Grant permisssion to change system settings

    In this privileged command prompt window, enter: powercfg -h off

    Poof! hiberfil.sys is gone -- instantly!

    This worked for me.

    No need to reboot into safe mode.

    Thx!

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2009-11-08T18:44:19+00:00

    Accessories -> Right Click Command Prompt

    In window type powercfg.exe -h off

    It will disappear

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2009-11-08T16:56:13+00:00

    Why does MS insist on keeping this multiGB file, even when hibernation is off?

    Ridiculous.

    Was this answer helpful?

    0 comments No comments