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
{count} votes

Answer accepted by question author
  1. Lychee-Ng 15,480 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.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Q&A Assist
    2026-02-18T17:34:06.06+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    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:

    0 comments No comments

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.