Share via

How to remove hibernation file to save space?

David Skillman 20 Reputation points
2026-02-18T17:33:56.9066667+00:00

How do I delete the Hibernation file to save space?

Windows for home | Windows 11 | Settings
0 comments No comments

Answer accepted by question author

Lychee-Ng 20,705 Reputation points Microsoft External Staff Moderator
2026-02-19T07:37:28.91+00:00

Hi David Skillman,

Welcome to Microsoft Q&A!

I hope it's safe to assume that the Hibernation file you mentioned is hiberfil.sys. Windows does not support manually deleting, so the only supported way is to disable Hibernation feature. Please note that it means:

  • Hibernate and Fast Startup won't work anymore.
  • Sleep and normal shutdown continue to work normally.

The Q&A Assist's provided steps using powercfg /h off are accurate, supported in Windows to turn off Hibernation. Once the feature is disabled, Windows will automatically remove this file and frees the space.

If your storage is running low and even removing Hibernation doesn't help, let me know and we will look into other options to give your system more space!


If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

Was this answer helpful?

7 people found this answer helpful.
0 comments No comments

1 additional answer

Sort by: Most helpful
  1. AI answer

    2026-02-18T17:34:06.06+00:00

    To remove the hibernation file and save space on your Windows system, you can disable hibernation using the Command Prompt. Here are the steps to do that:

    1. Press the Windows button on your keyboard to open the Start menu.
    2. Search for cmd. In the search results, right-click on Command Prompt and select Run as Administrator.
    3. When prompted by User Account Control, select Continue.
    4. In the Command Prompt window, type the following command and press Enter:

    powercfg /h off

    1. Type exit and press Enter to close the Command Prompt window.

    This command will disable hibernation and delete the hibernation file (hiberfil.sys), freeing up space on your drive.

    Please note that by disabling hibernation, you will lose the ability to use this feature until you re-enable it by using the command powercfg /h on.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

    4 people found this answer helpful.

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.