I don't think you can query the state of whether a machine has hibernated or not.
Are you asking how to check if a machine is hibernated? Or are you asking whether to see what the hibernation settings are?
What type of Query do you mean? A LANDesk Console Query or Database Query? Or a network packet query?
I'm guessing you want to query your computers that you have in the LANDesk console to see which of them have hibernation enabled. This would most likely be a registry key on the client computer that you would need to scan for. You can do this by modifying your ldappl3.template file on your core server to scan for the key. Once you have the key scanned in you create a new query based off of the data that was returned from the inventory scans.
If the machine has hibernation enabled, there is a file on the c: drive called hiberfil.sys. There is also a registry entry in
but the problem is, it is a binary value, and when I attempt to import it into ldms, it does not come over smoothly. It doesn't show what it does in the registry. If you could figure out to import that value cleanly, you could query that. Or write a script to check for the hiberfil.sys file.
Sounds like a job for a custom vulnerability.