Hiberfil.sys: How to disable and re-enable hibernation

Microsoft operating systems, for instance, Windows 7, 8, or 10 convey this memory content to the hiberfil.sys file, which can occupy several GBs of space based on the software, system version and kind of your appliance. Windows generates this system memory file even in times when you never enjoy Hibernatemode or Sleep mode, which also applies the hibernation mode. We’ll give detailed instructions on how to get rid of the hiberfil.sys file and avoid the automatic generation of a new hiberfil.sys file if you don’t refer to the hibernation functionality in Windows.

Nowadays, PCs have got a tremendous variety of energy-saving features. Such functionalities are specifically helpful for laptops, which tend to mostly work on battery power than by being plugged into the power supply. One of the most popular features helpful for saving power and battery life is known under the name of Hibernate mode (also referred to as Suspend to disk), which switches off your device. Before the operating system switches off, it remembers your present user session to the HDD so that you can start exactly where you logged off when your PC wakes up after the hibernation period is over.

This Article Contains:

What does hiberfil.sys stand for?

hiberfil.sys stands for a system file in Windows computers that stores the present memory data of the PC’s state and is applied by the “Sleep” and “Hibernate” power-saving features. The file is generated and controlled by the Windows OS itself and can weigh several gigabytes in its volume (in Windows 10, it normally varies between three to five gigabytes). The hiberfil.sys file helps to restore the user session in times when the system loads after hibernation or sleep period.

IMPORTANT! Hybrid sleep stands for a combination of Sleep and Hibernate mode in times when only some system components, for instance, hard drives are switched off.

Windows itself puts the hibernation file into the source directory of the system partition, normally into the root directory of C:\. Nevertheless, hiberfil.sys stands for a hidden and protected operating system file, therefore, you are not able to see it based on the default settings. Hence, if you would like to amend this parameter, for instance, to view the size of the file, perform the below-said measures:

  1. Refer to the View tab and choose the Hidden items checkbox.
  2. Select Options, and then choose Change folder and search options.
  3. In the dialogue box that comes up, proceed to the View tab and uncheck Hide protected operating system files (Recommended).
Unhidden hiberfil.sys file in the source directory

Unhidden hiberfil.sys file in the source directory of the Windows partition

Guide to remove and deactivate the hibernation file

Even though hiberfil.sys is hidden and defended system file, you can get rid of it without any problems in times when you don’t want to enjoy the power-saving features in Windows. In fact, the hibernation file has no impact on the common features of the operating system. Nevertheless, you can’t apply the typical delete solution (right-click and “Delete”) due to the fact that Windows actively applies this particular file. In times when you attempt to do this, you’ll see an alert indicating that the hiberfil.sys file is open in another application.

The remedy is to deactivate Hibernate mode. Windows will then automatically get rid of hiberfil.sys consequently. We’ll now give an explanation on exactly how to perform this procedure in Windows 7, 8 and 10.

WARNING! you require administrator rights to deactivate hiberfil.sys.

Guide to deactivate hiberfil.sys in Windows 10

There are two solutions to deactivate the hibernation file that conveys the data about your session to the HDD: Either deactivate the service by means of the Command Prompt or amend the registry entry for hiberfil.sys. In both instances, you need to have the appropriate access rights due to the fact that the hibernation file is a system file, as referred to above.

Getting rid of hiberfil.sys by means of PowerShell in Windows 10:

To switch off caching in the system file by means of PowerShell, all you have to implement is a run a command. Nevertheless, in the first place, you ought to launch PowerShell with the administrator’s rights by means of the keyboard shortcut [Windows] + [X] or right-clicking the Windows icon and selecting Windows PowerShell(Admin) Windows PowerShell.

Windows 10 Quick Menu

Windows 10 Quick Menu

As soon as you start PowerShell (you may have to indicate a password), specify in the following CMD command to deactivate the hiberfil.sys file:

powercfg /hibernate off
Windows 10 Powershell

Windows 10 Powershell

Hit Enter for confirmation of your choice. Hibernate mode will be deactivated and the hiberfil.sys file will be automatically removed.

NOTE! You can also refer to the powercfg command in case you would like to re-enable Hibernate mode at the lapse of some time. All you need to do is amend the “off” parameter to “on”

Also consider reading: How to Repair Sound Problems in Windows 10

Getting rid of hiberfil.sys by means of the registry in Windows 10:

You shouldn’t deactivate the hiberfil.sys file using the registry unless you are technically savvy in using the registry database. Improper entries or amendments to the entries can eventually result in Windows 10 failures to operate in a proper manner.

Tip! The Windows Registry Editor is the best solution to amend the registry. Launch it by hitting Windows + R and specifying regedit 1 in the Run dialogue box.

The service is basically simple to switch off with the help of this solution. Initially, refer to the “HibernateEnabled” registry entry, which can be found here:

\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power

Double-click the above-said entry and specify the value in the Value data field to 0 to deactivate Hibernate mode and get rid of the hiberfil.sys file:

Windows 10 hiberfil.sys: Open entry in the Registry Editor

Windows 10: Open entry in the Registry Editor

Getting rid of hiberfil.sys in Windows 7 and 8: Step-by-step tutorial

You can also get rid of the hibernation file from your system if you’re the customer of Windows 7 and 8. Similar to Windows 10, you can select between Command Prompt and the registry database. The process is almost identical to Windows 10.

Getting rid of hiberfil.sys with Command Prompt in Windows 7 and 8:

Even though the command to deactivate hiberfil.sys is the same in all versions of Windows, the milestones for opening Command Prompt are different based on your OS version. Unlike Windows 10, Windows 7 and Windows 8 haven’t got a Quick Access Menu, therefore, this option for starting Command Prompt isn’t applicable. Instead, go to the Windows Start menu and apply the built-in search functionality. Just type the below-said text in the search bar:

cmd

Windows will display Command Prompt as a matching result. Right-click to choose it and select Run as administrator. Provide the CMD command given above and select Enter to deactivate caching for Hibernate mode and to delete hiberfil.sys:

powercfg /hibernate off
Windows 10 Powershell

Windows 10 Powershell

Getting rid of hiberfil.sys by means of the registry in Windows 7 and 8:

Identical to Windows 10, you start from the Start menu if you would like to deactivate hiberfil.sys through the registry. But instead of referring to the search bar, choose the Run feature. If it’s not displayed in your Start menu, you can unhide it in the following manner:

  1. Right-click the taskbar.
  2. Choose Properties.
  3. Proceed to the Start Menu tab and choose Customize.
  4. Go to Run command and select OK. Select Apply to save the amendments.

Start the “Run” dialogue and provide the command for opening the Registry Editor:

regedit
Window’s Run feature regedit

Window’s Run feature

Now go to the directory for the registry entry of Windows Hibernate mode:

\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power

Afterwards, click HibernateEnabled and define the value of this key to 0 to delete the hiberfil.sys file. In case the key doesn’t exist, generate it manually: Right-click in the window on the right and choose “New” and then DWORD value. Provide “HibernateEnabled” as the key name:

hiberfil.sys - Generating a key in the Windows Registry

Generating a key in the Windows Registry

Sending
User Review
0 (0 votes)
Comments Rating 0 (0 reviews)

References

  1. How to open Registry Editor in Windows 10: https://support.microsoft.com/en-us/help/4027573/windows-10-open-registry-editor
Hiberfil.sys: Deactivating The Hibernation File
Article
Hiberfil.sys: Deactivating The Hibernation File
Description
What does hiberfil.sys stand for? Guide to remove and deactivate the hiberfil.sys file. Getting rid of the hibernation file in Windows 7 and 8.
Author
Copyright
HowToFix.Guide
 

German Japanese

About the author

聚圣源黑童子北京哪里有起名公司tvs4机器之心第一季压缩包格式八字起名怎么穿书自救指南第二季千颂伊起姓名测试1518汝州哪里有起名字的随州论坛起名网免费名字测分起名字有哪些2019给宝宝起名字的软件哪个靠谱棋牌室起哪些名广家谱字辈排序男孩起名虚拟摄像头下载起重工证怎么报名重启咲良田p2p网贷系统尚贷系统观察的近义词给公司起名字哪些软件起名科技公司寓意好的字王睿涵个人资料冬奥会有什么运动项目古姓男孩起名字大全三国志13威力加强版破解古诗稿 起名田汉女生起英文名淀粉肠小王子日销售额涨超10倍罗斯否认插足凯特王妃婚姻让美丽中国“从细节出发”清明节放假3天调休1天男孩疑遭霸凌 家长讨说法被踢出群国产伟哥去年销售近13亿网友建议重庆地铁不准乘客携带菜筐雅江山火三名扑火人员牺牲系谣言代拍被何赛飞拿着魔杖追着打月嫂回应掌掴婴儿是在赶虫子山西高速一大巴发生事故 已致13死高中生被打伤下体休学 邯郸通报李梦为奥运任务婉拒WNBA邀请19岁小伙救下5人后溺亡 多方发声王树国3次鞠躬告别西交大师生单亲妈妈陷入热恋 14岁儿子报警315晚会后胖东来又人满为患了倪萍分享减重40斤方法王楚钦登顶三项第一今日春分两大学生合买彩票中奖一人不认账张家界的山上“长”满了韩国人?周杰伦一审败诉网易房客欠租失踪 房东直发愁男子持台球杆殴打2名女店员被抓男子被猫抓伤后确诊“猫抓病”“重生之我在北大当嫡校长”槽头肉企业被曝光前生意红火男孩8年未见母亲被告知被遗忘恒大被罚41.75亿到底怎么缴网友洛杉矶偶遇贾玲杨倩无缘巴黎奥运张立群任西安交通大学校长黑马情侣提车了西双版纳热带植物园回应蜉蝣大爆发妈妈回应孩子在校撞护栏坠楼考生莫言也上北大硕士复试名单了韩国首次吊销离岗医生执照奥巴马现身唐宁街 黑色着装引猜测沈阳一轿车冲入人行道致3死2伤阿根廷将发行1万与2万面值的纸币外国人感慨凌晨的中国很安全男子被流浪猫绊倒 投喂者赔24万手机成瘾是影响睡眠质量重要因素春分“立蛋”成功率更高?胖东来员工每周单休无小长假“开封王婆”爆火:促成四五十对专家建议不必谈骨泥色变浙江一高校内汽车冲撞行人 多人受伤许家印被限制高消费

聚圣源 XML地图 TXT地图 虚拟主机 SEO 网站制作 网站优化