如果您想释放硬盘驱动器上的一些空间,可以使用一些出色的选项来删除内容。您可能已经注意到hiberfil.sys的大小,并想知道它到底是什么以及为什么它这么大。
该文件负责管理计算机休眠,帮助您的计算机从休眠(Hibernate)电源状态重新启动。那么,您可以删除 hiberfil.sys 吗?这样做是否安全?
什么是 Hiberfil.sys?
您的 Windows 10 系统有多个电源管理选项,其中之一是休眠(Hibernation)。休眠是一个方便的选项,可让您的系统快速重新启动。它通过将您当前的用户配置(例如程序、文件和文件夹)临时保存到您的硬盘来工作。
当您重新启动系统时,休眠(Hibernation)模式会将所有内容还原到您的桌面上。你可以让你的系统休眠(Hibernation)几天,甚至几周,它仍然会以完全相同的方式恢复。
当您选择休眠(Hibernate)按钮时,它会将您的所有数据存储在本地磁盘上,并在此过程中创建hiberfil.sys文件。此文件包含休眠(Hibernation)用于启动系统的系统配置。
睡眠和冬眠有区别吗?(Are Sleep and Hibernation Different?)
睡眠(Sleep)和休眠(Hibernation)是Windows的不同电源模式。尽管它们看起来非常相似,但有一些幕后的差异。
Hibernation将您当前的机器状态保存到硬盘驱动器上的文件中,Sleep将(Sleep )机器状态保存到您的RAM中。Windows也不会完全关闭,而是进入低功耗状态。这种组合可以让您的系统以难以置信的速度恢复(allows your system to restore incredibly quickly)。
我可以删除 Hiberfil.sys 吗?
休眠(Hibernation)的问题是与进程关联的文件可能会增长。它可能会占用您的硬盘驱动器上的空间,占用数十 GB(尽管具体多少取决于系统上安装的内存量)。
在具有大量存储空间的桌面上,您可能不会注意到休眠(Hibernation)文件占用空间。但是在存储空间有限的笔记本电脑上?你肯定会注意到挤压。
在删除 hiberfil.sys 之前需要考虑一些事项。
你使用休眠(Hibernate)功能吗?如果您想暂时离开计算机时使用Hibernate ,那么删除(Hibernate)Hiberfil.sys是不值得的。Windows 10 将在您下次使用Hibernate时重新创建该文件,而您又回到了原点。如果您想停止使用Hibernate并开始使用Sleep,请阅读本文的下一部分。
所以,答案是,是的,您可以安全地删除Hiberfil.sys,但前提是您禁用了Windows 10中的(Windows 10)休眠(Hibernate)功能。
删除或访问文件时遇到问题?以下是“您需要权限才能执行此操作”错误的最简单修复方法(fixes for the “You need permission to perform this action” error)。
如何在Windows 10中禁用(Windows 10)休眠(Hibernation)
如果要继续并删除Hiberfil.sys,首先必须禁用休眠(Hibernation)选项。
- 在开始菜单(Start Menu)搜索栏中输入电源,然后选择(power)电源和睡眠(Power & sleep)设置(settings)。
- 在电源(Power)和睡眠设置窗口中,选择右侧的其他电源设置,这将打开(Additional power settings)电源选项(Power Options)。
- 现在,从左侧栏中选择选择电源按钮的功能,然后(Choose what the power buttons do)选择更改当前不可用的设置(Change settings that are currently unavailable)。此时您可能需要输入您的Windows用户帐户密码。这将解锁窗口底部的灰色选项。
- 取消选中休眠(Hibernate)选项,然后选择保存更改(Save changes)。
电源设置菜单也有其他用途。例如,查看如何使用电源设置来提高游戏性能(you can use power settings to boost gaming performance)!
使用命令提示符禁用休眠(Disable Hibernation Using the Command Prompt)
如果点击次数过多,您可以从命令提示符(Command Prompt)禁用休眠。
- 在开始菜单(Start Menu)搜索栏中输入命令,然后选择(command)Run as Administrator。
- 输入powercfg -h off以禁用休眠。
如果您决定要重新打开它,请输入powercfg -h on。
命令提示符(Command Prompt)是一个强大的工具。查看每个 Windows 用户应该知道并开始使用的命令(commands every Windows user should know and start using)!
如何在Windows 10中(Windows 10)删除 Hiberfil.sys(Delete Hiberfil.sys)
禁用Hibernate后,Windows将自动删除 hiberfil.sys。如果您想仔细检查它是否已消失,您可以在 C: 驱动器的根目录中找到 hiberfil.sys – C:hiberfil.sys 是其默认位置。
也就是说,如果您的系统隐藏了受保护的操作系统文件(这对许多用户来说是一个明智的选择!),您无论如何都不会看到该文件。
要检查休眠(Hibernation)文件是否消失,您必须更改一些文件夹设置。
- 打开文件资源管理器(File Explorer),然后从顶部菜单中选择查看选项卡。(View )
- 选择选项(Options),然后在新窗口中打开查看选项卡。(View)
- 选择显示隐藏的文件、文件夹和驱动器。(Show hidden files, folders and drives.)
- 取消选中隐藏受保护的操作系统文件(推荐)(Hide protected operating system files (Recommended))。出现警告时,选择Yes。
- 现在,选择应用(Apply)。
前往您的 C: 驱动器。您现在应该会看到一些新文件。如果您没有看到 hiberfil.sys,则该过程是成功的。
我现在强烈建议您返回并再次隐藏受保护的操作系统文件。按照上述步骤操作,但选中(check)第 4 步中的复选框。
删除Hiberfil.sys 值得(Hiberfil.sys Worthwhile)吗?
如果您使用的是Windows 10系统并且不使用Hibernate,那么您可以安全地删除Hibernation。它没有任何负面影响,您可以创建一些额外的存储空间,并且您仍然可以使用“睡眠(Sleep)”选项进行临时关机。
此外,如果您确实想重新打开它,您现在知道执行此操作的快速命令。
希望在您的驱动器上创造更多空间?以下是在 Windows 10 上释放空间的最佳方法(best ways you can free up space on Windows 10)。
What is Hiberfil.sys and How to Delete It in Windows 10
If yоu’rе loоking to free up sоme spаce on your hard drivе, there are a few standout options for things to delete. You might hаve noticed the size of hiberfil.sys and wondered what on earth it is and why it’s so large.
This file is responsible for managing computer hibernation, helping your computer restart from the Hibernate power state. So, can you delete hiberfil.sys? Is it even safe to do so?
What Is Hiberfil.sys?
Your Windows 10 system has several power management options, one of which is Hibernation. Hibernation is a handy option that allows your system to restart quickly. It works by saving your current user configuration (such as programs, files, and folders) to your hard drive temporarily.
When you reboot your system, Hibernation mode restores everything to your desktop exactly how it was. You could put your system into Hibernation for a few days, or even weeks, and it will still restore in the exact same manner.
When you select the Hibernate button, it stores all your data on your local disk, creating the hiberfil.sys file in the process. This file contains the system configuration that Hibernation uses to launch your system.
Are Sleep and Hibernation Different?
Sleep and Hibernation are different power modes for Windows. Although they appear very similar, there are some behind-the-scenes differences.
Where Hibernation saves your current machine status to a file on your hard-drive, Sleep saves the machine state to your RAM. Windows doesn’t fully shutdown either, instead entering a low-power state. The combination allows your system to restore incredibly quickly.
Can I Delete Hiberfil.sys?
The issue with Hibernation is that the file associated with the process can grow. It can become quite the space hog on your hard drive, taking up tens of gigabytes (though exactly how much depends on the amount of memory installed on your system).
On a desktop with a huge amount of storage, you might not notice the Hibernation file taking up space. But on a laptop with limited storage? You’ll definitely notice the squeeze.
There is something to consider before deleting hiberfil.sys.
Do you use the Hibernate function? If you use Hibernate when you want to leave your computer for a while, then deleting the Hiberfil.sys isn’t worthwhile. Windows 10 will recreate the file the next time you use Hibernate, and you’re back at square one. If you want to stop using Hibernate and start using Sleep instead, read the next section of the article.
So, the answer is, Yes, you can safely delete Hiberfil.sys, but only if you disable the Hibernate function in Windows 10.
Having trouble deleting or accessing a file? Here are the easiest fixes for the “You need permission to perform this action” error.
How to Disable Hibernation in Windows 10
If you want to proceed and delete Hiberfil.sys, you first have to disable the Hibernation option.
- Input power in your Start Menu search bar and select Power & sleep settings.
- In the Power & sleep settings window, select Additional power settings on the right-hand side, which will open the Power Options.
- Now, select Choose what the power buttons do from the left-hand column, followed by Change settings that are currently unavailable. You may have to enter your Windows user account password at this point. This will unlock the greyed-out options at the bottom of the window.
- Uncheck the Hibernate option, then select Save changes.
The power settings menu has other uses, too. For example, check out how you can use power settings to boost gaming performance!
Disable Hibernation Using the Command Prompt
If that seems like too many clicks, you can disable Hibernation from the Command Prompt.
- Input command in your Start Menu search bar, then select Run as Administrator.
- Enter powercfg -h off to disable Hibernation.
If you decide you want to switch it back on, input powercfg -h on.
The Command Prompt is a powerful tool. Check out the commands every Windows user should know and start using!
How to Delete Hiberfil.sys in Windows 10
Once you disable Hibernate, Windows will delete hiberfil.sys automatically. If you want to double-check it’s gone, you can find hiberfil.sys in the root of your C: drive – C:\hiberfil.sys is its default location.
That said, if your system is hiding protected operating system files (which is a sensible option for many users!), you won’t see the file anyway.
To check if the Hibernation file is gone, you must change a few folder settings.
- Open the File Explorer, then select the View tab from the top menu.
- Select Options, then open the View tab in the new window.
- Select Show hidden files, folders and drives.
- Uncheck Hide protected operating system files (Recommended). When the warning appears, select Yes.
- Now, select Apply.
Head to your C: drive. You should now see some new files. If you don’t see hiberfil.sys, the process was a success.
I would now strongly advise you to go back and hide your protected operating system files again. Follow the steps above, but check the box in step 4.
Is Deleting Hiberfil.sys Worthwhile?
If you’re using a Windows 10 system and you don’t use Hibernate, then you can safely delete Hibernation. It doesn’t have any negative side effects, you create some extra storage space, and you can still use the Sleep option for a temporary shutdown.
Furthermore, if you do want to switch it back on, you now know the quick command to do so.
Looking to create more space on your drives? Here are the best ways you can free up space on Windows 10.