Removing hibernation powercfg -h off in command prompt please help

christhegamer

Reputable
Feb 24, 2016
30
0
4,530
Hi, I was wondering when going to command prompt and putting in powercfg -h off which disables hibernation and hibernate mode, can it be dangerous in anyway? I read online in google that if you disable all hibernation sometimes if your computer is in sleep mode and your house loses power it can damage window files and your windows may crash and you may have to reinstall windows all over again, I also read that you may lose unsaved files like pictures or documents, im not really worried about pictures or documents im only worried if it will effect the windows operating system and i dont want it to crash windows to wear i may have to reinstall it... Can disabling hibernate mode powercfg -h off do this? Thank you so much guys....
 
Solution
Right... if you disable Hibernation by any means (be it from the command prompt or Windows GUI), and only use Sleep Mode, with Session data saved to RAM.. and in case of a power loss, Session data from Word, Excel, Wordpad, etc., will be lost... OS/System files are not affected.

Hybrid Sleep is enabled by default, so for example; setting Sleep Mode to come on at say 20 minutes of computer inactivity, and Hibernation set to come on 10 minutes later at the 30 minute mark, Session data is saved to both RAM memory and a copy to the Hiberfil.sys file and in case of a power loss, your work is saved...

If you disable Hybrid sleep, you also disable Hibernation, and only have Sleep mode, which will lose data if a power loss occurs, but only...
1. Not true... Sleep Mode saves session information to RAM memory.... so data is saved while the computer has power, if power goes off, data is lost from RAM, but that's all.

2. Hibernation immediately saves session data (bypassing sleep mode) to a hidden file named C:\Hiberfil.sys so if power goes off, data is still saved.

The only differences between the two modes is
a) the time Windows takes to load, and
b) Hiberfil.sys is not created in Sleep Mode or deleted when you disable Hibernation.

3. Hybrid Sleep mode is a combination of both modes... the computer shutsdown but keeps session data on RAM and a copy on file... so, in case of power loss, session data is recovered from file. So, in this mode, in case of power loss, Sleep mode becomes Hibernation.
This setting applies to desktops only, it's automatic on laptops.

http://www.tekrevue.com/tip/comparing-sleep-hibernation-and-hybrid-sleep-on-windows/
 
  • Like
Reactions: apollothesun

christhegamer

Reputable
Feb 24, 2016
30
0
4,530
Oh ok, so basically your OS windows files are safe in case of a powerless if you disable hibernate which I have disabled hibernate powercfg -h off..... If I had hibernate enabled and not disabled if i had a word document open I woulf not lose all my information incase of a powerless but if I disable hibernate powercfg -h off then incase of a power outage I may lose what i was working on like microsoft office or word pad or possible things that i had open may be lost is that true? So in no way would my actual OS windows files be damaged to the point where I would need to reinstall windows If i have hibernate disabled powercfg -h off... Right? I am sorry I do not know much about this stuff and you seem very knowledgable and experienced so I will take your advice..

Basically my question is disabling powercfg -h off or enabling it will make no diffrence to the effect of your OS Windows files, it will not corrupt the files to the point where you may need to reinstall windows incase of a power failure reason why I am asking and am concerned because it said on a website, If you disable powercfg -h off and disable hibernat incase of a power failure your computer may lose data by data i hope they just meant stuff i was working on at the time like microsoft word or looking at pictures or music but it will not effect windows files? or Operating system files right? Thank you so much for all your helpful information if you could just answer this last part for me I will be very happy.. God bless you... Thank you.
 
Right... if you disable Hibernation by any means (be it from the command prompt or Windows GUI), and only use Sleep Mode, with Session data saved to RAM.. and in case of a power loss, Session data from Word, Excel, Wordpad, etc., will be lost... OS/System files are not affected.

Hybrid Sleep is enabled by default, so for example; setting Sleep Mode to come on at say 20 minutes of computer inactivity, and Hibernation set to come on 10 minutes later at the 30 minute mark, Session data is saved to both RAM memory and a copy to the Hiberfil.sys file and in case of a power loss, your work is saved...

If you disable Hybrid sleep, you also disable Hibernation, and only have Sleep mode, which will lose data if a power loss occurs, but only lose unsaved data because Word and Excel can recover unsaved files but only recover saved data in such files. Again, this means only user data is lost, not system OS files... so yes, that's what you read on the website... only user data is lost. OS file corruption or HD sector damage can only occur when a power outage shuts an active computer down, and a check disk repair or startup repair may sometimes be necessary, but that should not occur when the computer is in sleep o hibernation.
 
Solution