Remove Hiberfil Windows 7

  1. Can I Remove Hiberfil Sys Windows 7
  2. Remove Hiberfil.sys Win 7
  3. How To Remove Hiberfil.sys File Windows 7
  4. Disable Hibernate In Windows 7
Remove

Fastest way to delete hiberfil sys from windows 10/8/7 and XP – CMD In this article we will explain how to remove or delete hiberfil sys from Windows 10/8/7 and XP. If you does not use hibernate and you want to free up some space, this article can help.

Active11 months ago

Ok, so I know what hiberfil.sys is, and I want to use hibernation on my laptop.

But I have another hard drive active in my laptop, it's taken from my old one... and I want to get rid of the hiberfil.sys on that drive. But even with admin privileges I can't delete it.

Any ideas?

oKtosiTe
6,2368 gold badges39 silver badges69 bronze badges
BaarnBaarn
5,4015 gold badges28 silver badges62 bronze badges

5 Answers

To delete restore file you can open command prompt with admin privileges and run command

Then reboot, and Windows should automatically delete your hiberfil.sys. If it doesn't, you can remove it manually.

Then running

restores sleep and hibernate functionality.

You can start command prompt with admin privileges by starting command prompt (Windows Key+R (Run), type cmd) and then right-clicking command prompt icon on task bar and selecting 'Run as administrator'.

OlliOlli
6,3943 gold badges28 silver badges46 bronze badges

I wanted to do this in the easiest way possible, especially without rebooting.

Open a command prompt as administrator and go to the disk where hiberfil.sys resides. In my case:

In e:, check for hidden files:

In the listing hiberfil.sys should show up. If so, delete it:

I have to warn you: I don't know what happens if you do this with an active hiberfil.sys file. In my case it was on an old hard disk drive and was no longer needed.

Peter Mortensen
8,58816 gold badges62 silver badges85 bronze badges
BaarnBaarn
5,4015 gold badges28 silver badges62 bronze badges

If you really, really want to get rid of the file, you can always boot to something like a Linux or Windows PE boot disk, and then delete it.

If it was placed there by the current OS, it will come right back. However, from your wording, it sounds like it was placed on the old HD by an old OS that was on it.

Peter Mortensen
8,58816 gold badges62 silver badges85 bronze badges
Brian Brian

For forcing remove of hibernation file and mounting it use this:

Instead of <device> use the correct device like /dev/sda4

Update

Sorry, I don't know why, but I thought you want to mount it on linux.

So, for removing it you can use a Live-CD, like ubuntu, and execute these command above.

xdevs23xdevs23

Right click the drive, click Properties, and go to the Security tab.

Use the Edit button to give Full control to Users and Authenticated Users.

After that, you should be able to delete the file via the command prompt (make sure that you're using the correct current directory):

That should get rid of the file. I recommend changing the permissions back afterwards.

Pikamander2Pikamander2
2191 gold badge2 silver badges13 bronze badges

Not the answer you're looking for? Browse other questions tagged windows-7hibernateadministratorthinkpad or ask your own question.

In a previous TR Dojo Challenge question, I asked TechRepublic members, 'What does hiberfil.sys do and how can you remove it?' Several members were quick to respond with the correct answer. The quickest earned some TechRepublic swag.

Hiberfil.sys and Windows Hibernate function

Can I Remove Hiberfil Sys Windows 7

To understand why hiberfil.sys exists, we must look at the Windows Hibernate function. When you activate Hibernate, Windows takes a snap shot of your current session (all your running programs, open files, etc.) and writes that information to your hard drive. Hibernate was designed to speedup shut downs and restarts and save power on laptops.

Hiberfil.sys, as the name suggests, is the file to which Windows saves the snap shot data. Thus, the file is always equal in size to the total amount of available RAM on the computer (see Figure A). On a computer with plenty of free disk space having such a large file just hanging around usually isn't a problem. But if you're running low on hard drive space and never use the Hibernate feature, hiberfil.sys is unnecessarily eating up valuable disk real estate.

Disabling Windows Hibernation

As I noted earlier, you can manually delete hiberfil.sys, but it will just come back. To permanently remove the file, you must disable the Windows Hibernate function. You can do this through either the Windows GUI or from the command line.

Windows XP

On Windows XP systems, you can easily disable Hibernate through the GUI using the following steps:

  1. Open the Control Panel and access Power Options.
  2. Select the Hibernate tab in the Power Options Properties dialog box.
  3. Clear the Enable Hibernation check box (see Figure B) and click OK.

If you would prefer to disable Hibernate through he command line, you can use the steps outlined below.

Windows Vista and Windows 7

Completely disabling Hibernate through the GUI on Windows Vista and Windows 7 is significantly more difficult than on Windows XP. The Hibernate settings are still stored under the Control Panel's Power Options applet, but they are buried under each power plan's advanced power settings submenu. In fact, I was unable to remove hiberfil.sys by altering the appropriate Power Options (Allow hybrid sleep and Hibernate after) on either Windows Vista or Windows 7 (see Figure C).

The only surefire method of disabling Hibernate, and thus removing hiberfil.sys, on Windows Vista and Windows 7, is through the command prompt and the following steps:

  1. Open a command prompt with administrative privileges.
  2. Enter 'powercfg.exe -h off' (see Figure D).
  3. Exit the command prompt.

As soon as you clear the check box or execute the above powercfg.exe command, Windows should delete hiberfil.sys. If not, you can manually delete it.

Re-enabling Windows Hibernate

To turn the Hibernate function back on, simply recheck the Enable Hibernation setting under Power Option Properties or enter 'powercfg.exe -h on' at a command prompt with administrative privileges.

Remove Hiberfil.sys Win 7

And the TechRepublic swag goes to...

This week's coffee mugs and laptop stickers go to

How To Remove Hiberfil.sys File Windows 7

mluck, who was first to correctly associate hiberfil.sys with Windows Hibernate function and jscholefield, who provided information on how to disable hibernation and the corresponding command line text.

Thanks to everyone who submitted an answer.

You can also sign up to receive the latest from the TR Dojo through one or more of the following methods:

Disable Hibernate In Windows 7

  • Subscribe to the TR Dojo Newsletter (delivered Tuesdays and Fridays)