Why do I have a Hibernation file.

Page 2 - Seeking answers? Join the Tom's Hardware community: where nearly two million members share solutions and discuss the latest tech.

kol12

Honorable
Jan 26, 2015
2,109
0
11,810
I'm just wondering why I have a hiberfil.sys file when I don't use hibernation. I sometimes allow my computer to go to sleep but hibernate and hybrid sleep are disabled in my power settings.
 
Solution
Operative words there are HDD and LAPTOP. Windows is a 'one-size-fits-all' OS. It works on laptops, desktop, tablet, phones. Laptops, especially with hdds, need every battery saving option available. A simple boot, using the processor as it does the hdd as it does, takes quite a while and a lot of juice. Even a startup from standby sucks on the battery. So hibernation makes a lot of sense in time / battery life savings.

Does next to nothing for a desktop that's AC powered and uses a SSD for boot drive except for save a few seconds (literally) and eat up space / read-write life for no benefit.


Do you have instructions for that?

Fast start up does use the hiberfil.sys as well right?
 
Fast startup requires that hibernate be enabled. If you only want to use fast startup and don't plan on using hibernate, then you can specify the hiberfile type as reduced to significantly reduce the size of the hiberfile (C:\hiberfil.sys) to about half of its full size.

http://www.tenforums.com/tutorials/4189-fast-startup-turn-off-windows-10-a.html

Using a seven forums tutorial to answer a 10 question isn't always a good idea. The 7 link does say its for 7 & 8 so its not wrong. Funny thing is both published by same people
 


This doesn't mention anything about deleting the hiberfil.sys. Does disabling it using the command prompt method work for Win 10?
 
oh, i didn't read post where you said you disabled fast start up.

right click start
open command prompt (admin)
type powercfg.exe -h off and press enter
restart pc
no more hibernate file or hibernate

https://www.techsupportall.com/hiberfil-sys-file-delete-windows-10/

Its the same as 7, so the 7 link does work after all...
 


Thanks, but don't you mean no more hibernate file, no more hibernate and no more fast startup? Fast startup is definitely part of the hiberfil.sys file right?

 
fast start up uses hiberfil.sys, as does hibernate. So turning that off removes both the function and the file

I would guess that if you re tick fast boot it performs powercfg -h on. I have not done it myself but windows has many ways to access the same things so the options method is just for people who don't know about, or want to use command prompt. The seven forums link shows there are 4 different ways to turn them on and off
 
7/8/10 all the same. NTFS. The coding is all the same, even Vista and XP. The differences are in what you see, not how it's done. The command wouldn't work in Windows 95-98SE as those were MS-DOS based, just as it won't work in Linux or in Apple.
Hiberfil.sys is a resultant file. In the registry is a command to create that file, organize it, specify it's size, permissions and responsibilities. When you enable the command, it creates the sys file etc. When you disable the command, it erases the file. You won't need to delete it, it's a system file, if it's not enabled, windows deletes it for you. You can either go dig up the command in the registry and turn the string value from 1 (enabled true) to 0 (disabled false) or easier is to use the command prompt to tell the registry to turn off that value.
Sys files don't have a switch. They are not exe files or dll files that sit there waiting for a command to start them. Sys files in Windows automatically run with windows startup. Always. If it's in the system32 or syswow64 folder, it runs. Only way to stop a sys file in those folders from running is to remove them from the folder. Turning the registry command to false tells windows to remove the file. Deletes it.
 
I've been tinkering with computers since before they actually had a label such as pc. Days of the Vic 20 and Commodore 64 when Spaced Invaders was loaded via tape cassette drive (you supplied the player linked through headphone jack) and that simple game took 15 minutes to fully load. Any interruption was tantamount to an angry hissy fit, as you had to rewind the tape and start all over. Don't bump the table! Even designed and wrote a game in Basic to pass Computer 1 class. Battleship. Tailor made game for true and false statements.
So does not having fast start on an SSD bother me? Not in the slightest, I can live with a few more seconds wait time, imminently better than a hdd boot, gets used anyways on a restart vrs cold boot.
 


hehe...I still have a working VIC-20 and C-64.
Haven't cranked them up in a coupla years, but they worked then.
 
play game once, wait 20 minutes for it to load again... I had a TRS 80 color, at least it had cartridges, could reload much faster. Sure beat typing up a game from a magazine just to discover a typo somewhere...

Old computers (before hdd) boot instantly, we almost back there again for same reason,. solid state memory. They just a bit faster now.

its screen was 256 x 192 pixels...... they were big pixels lol, didn;t have to try hard to see them either. it used a tv screen, now I have 3840 x 2160.. Progress.
 


Yes, an amazing 16 colours. I remember the amber monitors you could get back then.

the best game didn't even use colour, it was asteroids after all.

 
i can still hear the sounds from Defender, it made more of an impact.. you can fly in 4 directions.. wow. I played Galaxian, Galaga, all the classic 80's arcade games. Still watch the videos of them today. Games didn't look realistic but they were fun... now they look real but sometimes lack game play.
 
I wonder if it influenced battlezone or you know, vector graphics was best they could do back then. that is 37 years old

those days, if you wanted colour on consoles, you had to put a overlay on screen to get it

[video="https://www.youtube.com/watch?v=nudeLb5KAX8"][/video]

Topics are just general guidelines aren't they?