banner



how to delete hiberfil.sys windows 10

When scanning your computer for large files, you've almost certainly come across hiberfil.sys. This Windows file is responsible for handling computer hibernation, but what is hibernation even for? Do you need this file, or should you delete hiberfil.sys to save space?

We'll answer these questions and more as we explore hiberfil.sys in Windows 10.

What Is Hibernation?

Hibernation is one of several power options in Windows 10. Shutting down, of course, completely exits Windows and makes it safe to unplug your machine. Sleep and hibernation are the other major two choices.

Sleep mode saves your current session to RAM and puts Windows in a low-power state. When you're ready to resume, you can jump back into action almost instantly right where you left off. This mode is best when you're taking a short break from using your PC.

Hibernation goes one step further. Instead of storing your session in RAM (which is lost if your battery dies or computer is unplugged), hibernation saves it to your hard drive temporarily and then shuts down. With hibernation, you could unplug your desktop for a week, plug it back in, and then resume right where you left off.

Hibernation is a good choice if you don't plan on using your computer for a long time or need to save your session without worrying about your machine's battery dying. It's also a good option for laptops, as you can save your state while making sure that your computer won't randomly wake up in your backpack.

Don't Have the Option to Hibernate in Windows 10?

If you don't see the Hibernate option when you click the power icon in the Start menu, you can make a quick change to enable it again.

To do so, open Settings and navigate to System > Power & sleep. Under Related settings on the right, click Additional power settings to open the Power Options menu of the Control Panel.

Here, on the left sidebar, you'll see a link that says Choose what the power buttons do---click that.

On the resulting menu, click the Change settings that are currently unavailable text at the top so you can make changes. Then check the Hibernate box to enable it on the power menu.

You can uncheck other options here if you like, but that's usually not necessary. The exception is Fast Startup, which can cause slow boot times and other issues.

What Is Hiberfil.sys in Windows 10?

Windows uses the hiberfil.sys file to store your session during hibernation. All the programs and files you have open when you enter hibernation have to go somewhere, of course.

Depending on how much RAM you have, this file could take up 10GB or more. If you never use hibernation, you can disable the feature and reclaim that disk space.

How to Delete Hiberfil.sys in Windows 10

However, deleting the file itself won't work, because Windows will just recreate it. Instead, you can disable hibernation mode by running one command in the Command Prompt:

  1. Right-click on the Start Button and select Command Prompt (Admin) or Windows PowerShell (Admin).
  2. Enter the following command to disable hibernation:
          powercfg -h off        

Once you do this, Windows will delete the hiberfil.sys file and you won't see Hibernate as an option in the power menu anymore.

If you want to enable hibernation again later, just open another admin Command Prompt window and run the command to turn it back on:

          powercfg -h on

Viewing Hiberfil.sys

If you're not sure everything worked correctly, you can verify that the hibernation file is gone by looking for it at the root of your C: drive. C:\hiberfil.sys is its location.

However, you must change a few folder settings before you can see it. Open a File Explorer window and select the View tab, then the Options button. Switch to the View tab in the resulting window, then you need to select two options:

  • Show hidden files, folders, and drives: Enable this.
  • Hide protected operating system files (Recommended): Make sure this box is not checked.

Should You Disable Hibernation?

While it's easy enough to remove hiberfil.sys, whether you should or not is another question.

Really, the only reason to disable hibernation and delete hiberfil.sys is to save disk space. If you have a small SSD with only a few gigabytes free, disabling hibernation makes sense if you never use it. You can try other methods to free up space in Windows before getting rid of hibernation, though.

With larger drives (500GB or more), using 1-5 percent of your disk space for a useful feature isn't as big if deal.

Unless you leave your PC on all the time, you should give hibernation a try to see if it works for you before disabling it. When you use hibernation, there's no need to close all your programs and shut down at the end of the day when you're going to open those same apps up the next morning.

Hibernation won't use any extra electricity, and your PC will boot faster than if you had shut it down. However, you should know that if you disable hibernation, neither the Fast Startup nor hybrid sleep features will work.

As mentioned above, Fast Startup is supposed to help your computer boot faster by loading some Windows components before you start up. It saves you a few seconds, but it's also known to cause problems. And hybrid sleep is meant to help your computer load faster when coming out of sleep, but isn't a huge change either.

To Hibernate or Not

Now you know all about Windows hibernation, how to disable it, and whether it's a good idea to do so. For most people, we recommend giving hibernation a try and seeing if it saves you some time. If you end up never using it and need the extra disk space, go ahead and disable it---Fast Startup doesn't provide a massive benefit anyway.

While it's safe to remove the hibernation file in the way we described above, there are other default Windows files you should never touch.

Image Credit: bilhagolan/Depositphotos

7 Default Windows Files and Folders You Should Never Touch

Windows contains countless default files and folders, many of which the average user shouldn't touch. Here are folders you should leave alone to avoid damaging your system.

Read Next

About The Author

Ben Stegner (1779 Articles Published)

Ben is a Deputy Editor and the Onboarding Manager at MakeUseOf. He left his IT job to write full-time in 2016 and has never looked back. He's been covering tech tutorials, video game recommendations, and more as a professional writer for over seven years.

More From Ben Stegner

Subscribe to our newsletter

Join our newsletter for tech tips, reviews, free ebooks, and exclusive deals!

Click here to subscribe

how to delete hiberfil.sys windows 10

Source: https://www.makeuseof.com/tag/delete-hiberfil-sys-windows-10/

Posted by: harveybuind1969.blogspot.com

0 Response to "how to delete hiberfil.sys windows 10"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel