I'm looking specifically for a key on an XP system that determines if a computer goes into standby and if hibernation is enabled. I've been looking everywhere and have not been able to figure it out.
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Power
Reading the Heuristics key gives you part of the answer. The rest lies with hiberfil.sys.
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Power
Reading the Heuristics key gives you part of the answer. The rest lies with hiberfil.sys.
Thanks! I just found it myself and tested it.
Representing the checkmark checked and unchecked (on and off)
05 00 00 00 00 01 01 00 86 9E 01 00 F0 00 00 00 - ON
05 00 00 00 00 01 00 00 86 9E 01 00 F0 00 00 00 - OFF
Notice the 7th byte determines the check/unchecked value.
I haven't looked at the bytes past the 8th byte, which seem to be different for the machines I tested it on. Not sure what those signify yet.
-
"When I close the lid of my computer" in the power options is the other value I'm trying to figure out (when changing between do nothing, stand-by and hibernate). I'm using regmon/procmon to see which key is being modified during that process (after hitting apply) but I've not figured it out and I went through every change.
You would think those options would be there somewhere in registry.
What's the path to Hiberfil.sys?
**BUMP**
What's the path to Hiberfil.sys?
**BUMP**
Should be in the root on the C drive, at least that's where mine is.
KP
What's the path to Hiberfil.sys?
**BUMP**
Should be in the root on the C drive, at least that's where mine is.
KP
My roots really weird all these things that are suppose to be there aren't and yes I have hidden turned off.
What's the path to Hiberfil.sys?
**BUMP**
Should be in the root on the C drive, at least that's where mine is.
KPMy roots really weird all these things that are suppose to be there aren't and yes I have hidden turned off.
I believe that if you have Hibernate disabled in
Display Properties -> ScreenSaver -> Power -> Hibernate
There will be no hiberfil.sys in the root directory of your OS drive. I tested it on my system and noticed that is how it works. So I suppose if hibernate is enabled, you use it, then you disable it, you should come across portions (not in active filespace) or the entire hiberfile.sys depending on how long it has been marked as deleted.
I'm still looking for any tips or information on what registry key(s) may deal with the lid closing.
The option is specifically located @
Display Properties -> Screen Saver -> Power -> Advanced -> When I close the lid of my portable computer
I'm still looking for any tips or information on what registry key(s) may deal with the lid closing.
The option is specifically located @
Display Properties -> Screen Saver -> Power -> Advanced -> When I close the lid of my portable computer
Don't have the means to check this atm, but is it not in
HKEY_CURRENT_USER\Control Panel\PowerCfg\PowerPolicies ?
Also, check this article, in particular the workaround section
http//
Kind Regards,
Minesh