Hibernating-test

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is possible test, whether system is hibernated? When I open hiberfil.sys for
reading 4096 bytes, I get error - access denied.

I using XPe SP2 + RAM reg EWF.
 
Wierd question.
If the system was hibernated the power state is OFF. If you are trying to read the hiberfil.sys file offline (from another OS load
or on another machine if you moved the hard drisk there) you should not get "access denied" errors.
If you are reading the file online (from the OS that uses the file) the system is obviously NOT hibernated.
 
I using HORM system: First I enable EWF and then I hibernate system. Next
starts system loads from the same hiberfil.sys and I want know whether system
is hibernated or not but I don't open hiberfil.sys for reading first 4096
bytes.
 
Let me see if I understood your question correctly.
When you boot the OS from a HORM [hibernate] state at run time you want to know whether the system started cold boot or was resumed
from the hiberfil.sys file. Right?

You can't open the hiberfil.sys file from the same OS. The system keeps the file locked if hibernation feature is enabled.

You can try to use the existance of the resmany.dat at the root of the system volume as the indicator. The resmany.dat file is used
to notify ntldr to boot from the hibernation file. The ntldr changes the signature of the hibernation file when it is first booted
(this is probably what you were trying to check, right?).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

HORM hibernate.sys file size 3
HORM 1
HORM Issue 3
FP2007 + Horm Issues 3
EWF RAM(Reg) with HORM 2
Black screen after resuming from hibernate. 1
horm doesnt restore after shutdown 1
Yet another Horm Question 1

Back
Top