New
#1
Hibernate is alternating between disabled or reenabled in each boot
Hi there!
I'm having a really irritating recurrent problem with the hibernate function on my desktop computer. I had gotten a workaround to it several years ago, but now I needed to upgrade my OS from 32 to 64 bits bits and don't remember how to solve it. The problem just keeps happening even after have installed the 64 bits version of Windows 7 Ultimate.
The hibernate function is getting disabled or reenabled and the hiberfil.sys deleted or recreated everytime I shutdown or restart the system. When the function is enabled and the hiberfil.sys present, I can set the hibernate option in the shutdown button at start menu and the PC power button and it works fine. I also can set the hibrid sleep on the advanced power profile configurations and use it together with the hibernate option, setting the hibrid sleep to the start menu button and the hibernate to the PC power button and it works fine until the next boot (shutting down or restarting). When the system restarts, the hiberfil.sys as well as the hibernate and hibrid sleep options simply disappear, and the hibernate option on PC power button just goes blank and only show the other common options. When I restart the computer again, everything goes back again to normal, and so on.
The most weird thing is that when the hibernate is enabled and the hiberfil.sys present, when I type powercfg -a the prompt says that S1, S3, hibernate and hibrid sleep are available, and only S2 are not due to firmware incompatibility. But when the hibernate is disabled and the hiberfil.sys missing, the powercfg -a says that only S1 and S3 modes are available, and the powercfg -h on command does not create a new hiberfil.sys file. Instead it displays an error message saying that the system couldn't create the hibernate file, and the specific error code is 0xc0000043. In both cases the HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Control > Power > HibernateEnabled value is 1 and HiberFileSizePercent is 75. Also there are lots of free disk space so this is not the problem.
I remember having used some kind of scrip involving the powercfg -h on and off as a workaround together with toggling the power PC button options to any other than hibernate and then immediately return it to hibernate option again, in order to use both the hibernate and hibrid sleep functions together, but I don't know exactly how the script part, and the toggling method alone is not working now in the 64 bits installation.
None of the methods found on Internet has solved my issue, so I'm very exhausted and frustrated of trying for nothing. So, have you ever already seen an issue like this? Any new ideas for help? Thanks in advance.
P.S. I thought of attaching a picture of cmd messages, but since the text is in Portuguese I think it would not help so much. The main informations I already put in this message.