Registry Key for St...
 
Notifications
Clear all

Registry Key for Standby, hibernate, etc.

8 Posts
5 Users
0 Reactions
908 Views
SleepParalysis
(@sleepparalysis)
Eminent Member
Joined: 18 years ago
Posts: 42
Topic starter  

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.


   
Quote
(@bithead)
Noble Member
Joined: 20 years ago
Posts: 1206
 

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.


   
ReplyQuote
SleepParalysis
(@sleepparalysis)
Eminent Member
Joined: 18 years ago
Posts: 42
Topic starter  

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.


   
ReplyQuote
(@ancient)
Active Member
Joined: 18 years ago
Posts: 16
 

What's the path to Hiberfil.sys?

**BUMP**


   
ReplyQuote
(@kpryor)
Trusted Member
Joined: 19 years ago
Posts: 68
 

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


   
ReplyQuote
(@ancient)
Active Member
Joined: 18 years ago
Posts: 16
 

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.


   
ReplyQuote
SleepParalysis
(@sleepparalysis)
Eminent Member
Joined: 18 years ago
Posts: 42
Topic starter  

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.

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


   
ReplyQuote
(@minesh)
Trusted Member
Joined: 18 years ago
Posts: 75
 

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//support.microsoft.com/kb/833740

Kind Regards,

Minesh


   
ReplyQuote
Share: