This guide will walk you through the steps to reclaim over 20GB of disk space on your Windows 10 or 11 machine by deleting the Hiberfil.sys file. You will learn why this file is present on your system, the impact of Hibernate mode, and how to manage this setting to optimize your computer’s performance.

Step 1: Open Command Prompt as Administrator

Before you can delete the Hiberfil.sys file, you need to access the Command Prompt with administrative privileges. Follow these steps:

Step 2: Disable Hibernate Mode

Since the Hiberfil.sys file is used by the Hibernate feature, you must disable Hibernate to delete the file. Execute the following command:

powercfg -h off

Press Enter to execute the command. This will turn off Hibernate and delete the Hiberfil.sys file, freeing up the space it occupied.

Step 3: Verify the Deletion

After running the command, it’s good to confirm that the Hiberfil.sys file has been successfully deleted. You can do this by checking the system drive:

Step 4: Optional – Re-enable Hibernate Mode

If you decide you want to use Hibernate again, you can re-enable it by executing the following command in the Command Prompt:

powercfg -h on

Press Enter to reactivate Hibernate mode. This will recreate the Hiberfil.sys file, so ensure you have adequate disk space before doing this.

Extra Tips & Common Issues

To make the process smoother, consider the following tips:

Conclusion

By following these steps, you have successfully freed up over 20GB of disk space by deleting the Hiberfil.sys file. Remember that if you need Hibernate mode, you can easily turn it back on. For more tips on optimizing your Windows experience, check out our related guides!

2025